Partial State in Dataflow-Based Materialized Views. Gjengset, J. F. R. Ph.D. Thesis, Massachusetts Institute of Technology, Cambridge, MA, November, 2020.
Paper abstract bibtex This thesis proposes a practical database system that lowers latency and increases supported load for read-heavy applications by using incrementally-maintained materialized views to cache query results. As opposed to state-of-the-art materialized view systems, the presented system builds the cache on demand, keeps it updated, and evicts cache entries in response to a shifting workload. The enabling technique the thesis introduces is partially stateful materialization, which allows entries in materialized views to be missing. The thesis proposes upqueries as a mechanism to fill such missing state on demand using dataflow, and implements them in the materialized view system Noria. The thesis details issues that arise when dataflow updates and upqueries race with one another, and introduces mechanisms that uphold eventual consistency in the face of such races. Partial materialization saves application developers from having to implement ad hoc caching mechanisms to speed up their database accesses. Instead, the database has transparent caching built in. Experimental results suggest that the presented system increases supported application load by up to 20× over MySQL and performs similarly to an optimized key-value store cache. Partial state also reduces memory use by up to 2/3 compared to traditional materialized views.
@phdthesis{gjengset_partial_2020,
address = {Cambridge, MA},
type = {Doctoral},
title = {Partial {State} in {Dataflow}-{Based} {Materialized} {Views}},
url = {https://jon.thesquareplanet.com/papers/phd-thesis.pdf},
abstract = {This thesis proposes a practical database system that lowers latency and increases supported load for read-heavy applications by using incrementally-maintained materialized views to cache query results. As opposed to state-of-the-art materialized view systems, the presented system builds the cache on demand, keeps it updated, and evicts cache entries in response to a shifting workload. The enabling technique the thesis introduces is partially stateful materialization, which allows entries in materialized views to be missing. The thesis proposes upqueries as a mechanism to fill such missing state on demand using dataflow, and implements them in the materialized view system Noria. The thesis details issues that arise when dataflow updates and upqueries race with one another, and introduces mechanisms that uphold eventual consistency in the face of such races. Partial materialization saves application developers from having to implement ad hoc caching mechanisms to speed up their database accesses. Instead, the database has transparent caching built in. Experimental results suggest that the presented system increases supported application load by up to 20× over MySQL and performs similarly to an optimized key-value store cache. Partial state also reduces memory use by up to 2/3 compared to traditional materialized views.},
language = {en},
school = {Massachusetts Institute of Technology},
author = {Gjengset, Jon Ferdinand Ronge},
month = nov,
year = {2020},
}
Downloads: 0
{"_id":"FCvipfbLBZ7jWTvHw","bibbaseid":"gjengset-partialstateindataowbasedmaterializedviews-2020","author_short":["Gjengset, J. F. R."],"bibdata":{"bibtype":"phdthesis","type":"Doctoral","address":"Cambridge, MA","title":"Partial State in Dataflow-Based Materialized Views","url":"https://jon.thesquareplanet.com/papers/phd-thesis.pdf","abstract":"This thesis proposes a practical database system that lowers latency and increases supported load for read-heavy applications by using incrementally-maintained materialized views to cache query results. As opposed to state-of-the-art materialized view systems, the presented system builds the cache on demand, keeps it updated, and evicts cache entries in response to a shifting workload. The enabling technique the thesis introduces is partially stateful materialization, which allows entries in materialized views to be missing. The thesis proposes upqueries as a mechanism to fill such missing state on demand using dataflow, and implements them in the materialized view system Noria. The thesis details issues that arise when dataflow updates and upqueries race with one another, and introduces mechanisms that uphold eventual consistency in the face of such races. Partial materialization saves application developers from having to implement ad hoc caching mechanisms to speed up their database accesses. Instead, the database has transparent caching built in. Experimental results suggest that the presented system increases supported application load by up to 20× over MySQL and performs similarly to an optimized key-value store cache. Partial state also reduces memory use by up to 2/3 compared to traditional materialized views.","language":"en","school":"Massachusetts Institute of Technology","author":[{"propositions":[],"lastnames":["Gjengset"],"firstnames":["Jon","Ferdinand","Ronge"],"suffixes":[]}],"month":"November","year":"2020","bibtex":"@phdthesis{gjengset_partial_2020,\n\taddress = {Cambridge, MA},\n\ttype = {Doctoral},\n\ttitle = {Partial {State} in {Dataflow}-{Based} {Materialized} {Views}},\n\turl = {https://jon.thesquareplanet.com/papers/phd-thesis.pdf},\n\tabstract = {This thesis proposes a practical database system that lowers latency and increases supported load for read-heavy applications by using incrementally-maintained materialized views to cache query results. As opposed to state-of-the-art materialized view systems, the presented system builds the cache on demand, keeps it updated, and evicts cache entries in response to a shifting workload. The enabling technique the thesis introduces is partially stateful materialization, which allows entries in materialized views to be missing. The thesis proposes upqueries as a mechanism to fill such missing state on demand using dataflow, and implements them in the materialized view system Noria. The thesis details issues that arise when dataflow updates and upqueries race with one another, and introduces mechanisms that uphold eventual consistency in the face of such races. Partial materialization saves application developers from having to implement ad hoc caching mechanisms to speed up their database accesses. Instead, the database has transparent caching built in. Experimental results suggest that the presented system increases supported application load by up to 20× over MySQL and performs similarly to an optimized key-value store cache. Partial state also reduces memory use by up to 2/3 compared to traditional materialized views.},\n\tlanguage = {en},\n\tschool = {Massachusetts Institute of Technology},\n\tauthor = {Gjengset, Jon Ferdinand Ronge},\n\tmonth = nov,\n\tyear = {2020},\n}\n\n","author_short":["Gjengset, J. F. R."],"key":"gjengset_partial_2020","id":"gjengset_partial_2020","bibbaseid":"gjengset-partialstateindataowbasedmaterializedviews-2020","role":"author","urls":{"Paper":"https://jon.thesquareplanet.com/papers/phd-thesis.pdf"},"metadata":{"authorlinks":{}}},"bibtype":"phdthesis","biburl":"https://bibbase.org/zotero/hexane","dataSources":["PMupqmDbRNFndeT5W"],"keywords":[],"search_terms":["partial","state","data","based","materialized","views","gjengset"],"title":"Partial State in Dataflow-Based Materialized Views","year":2020}