In English

Domain Specific Continuous Queries Implemented using Database Management Systems

Anton Lindgren
Göteborg : Chalmers tekniska högskola, 2016. 52 s.
[Examensarbete på avancerad nivå]

We present an alternative to Continuous Queries, these are queries that deliver streams of data to clients as opposed to common queries which only respond with a single response. We define Domain Specific Continuous Queries as a query that, apart from an initial response with the matching set of records, streams all updates affecting the query. We implement this definition of a Continuous Query for a specific domain where an existing solution and problem definition already exists. The new implementation uses classic query-response database systems to supply the initial response. A persistent data structure containing the full state of the data is kept in memory, which allows our prototype to deduce which queries an incoming update affects. The new implementation is on par with the existing solution’s feature set and greatly outperforms it for our metrics. Especially for initial response latency.

Nyckelord: databases, stream processing, event sourcing, persistent data structures



Publikationen registrerades 2016-10-20. Den ändrades senast 2016-11-22

CPL ID: 243789

Detta är en tjänst från Chalmers bibliotek