License: Creative Commons Attribution 3.0 Unported license (CC BY 3.0)
When quoting this document, please refer to the following
DOI: 10.4230/LIPIcs.ECOOP.2016.11
URN: urn:nbn:de:0030-drops-61059
URL: http://dagstuhl.sunsite.rwth-aachen.de/volltexte/2016/6105/
Harkes, Daco C. ;
Groenewegen, Danny M. ;
Visser, Eelco
IceDust: Incremental and Eventual Computation of Derived Values in Persistent Object Graphs
Abstract
Derived values are values calculated from base values. They can be
expressed in object-oriented languages by means of getters calculating the derived value, and in relational or logic databases by means of (materialized) views. However, switching to a different calculation strategy (for example caching) in object-oriented programming requires invasive code changes, and the databases limit expressiveness by disallowing recursive aggregation.
In this paper, we present IceDust, a data modeling language for
expressing derived attribute values without committing to a calculation strategy. IceDust provides three strategies for calculating derived values in persistent object graphs: Calculate-on-Read, Calculate-on-Write, and Calculate-Eventually. We have developed a path-based abstract interpretation that provides static dependency analysis to generate code for these strategies. Benchmarks show that different strategies perform better in different scenarios. In addition we have conducted a case study that suggests that derived value calculations of systems used in practice can be expressed in IceDust.
BibTeX - Entry
@InProceedings{harkes_et_al:LIPIcs:2016:6105,
author = {Daco C. Harkes and Danny M. Groenewegen and Eelco Visser},
title = {{IceDust: Incremental and Eventual Computation of Derived Values in Persistent Object Graphs}},
booktitle = {30th European Conference on Object-Oriented Programming (ECOOP 2016)},
pages = {11:1--11:26},
series = {Leibniz International Proceedings in Informatics (LIPIcs)},
ISBN = {978-3-95977-014-9},
ISSN = {1868-8969},
year = {2016},
volume = {56},
editor = {Shriram Krishnamurthi and Benjamin S. Lerner},
publisher = {Schloss Dagstuhl--Leibniz-Zentrum fuer Informatik},
address = {Dagstuhl, Germany},
URL = {http://drops.dagstuhl.de/opus/volltexte/2016/6105},
URN = {urn:nbn:de:0030-drops-61059},
doi = {10.4230/LIPIcs.ECOOP.2016.11},
annote = {Keywords: Incremental Computing, Data Modeling, Domain Specific Language}
}
Keywords: |
|
Incremental Computing, Data Modeling, Domain Specific Language |
Collection: |
|
30th European Conference on Object-Oriented Programming (ECOOP 2016) |
Issue Date: |
|
2016 |
Date of publication: |
|
18.07.2016 |