IceDust: Incremental and eventual computation of derived values in persistent object graphs

Daco C. Harkes, Danny M. Groenewegen, Eelco Visser

Research output: Chapter in Book/Conference proceedings/Edited volumeConference contributionScientificpeer-review

12 Citations (Scopus)
116 Downloads (Pure)

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.

Original languageEnglish
Title of host publication30th European Conference on Object-Oriented Programming, ECOOP 2016
EditorsShriram Krishnamurthi, Benjamin S. Lerner
PublisherSchloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing
Pages1-26
Number of pages26
ISBN (Electronic)978-3-95977-014-9
DOIs
Publication statusPublished - 1 Jul 2016
EventECOOP 2016: 30th European Conference on Object-Oriented Programming - Rome, Italy
Duration: 18 Jul 201622 Jul 2016

Publication series

NameLeibniz International Proceedings in Informatics
Volume56
ISSN (Print)1868-8969

Conference

ConferenceECOOP 2016
Country/TerritoryItaly
CityRome
Period18/07/1622/07/16

Keywords

  • Data modeling
  • Domain specific language
  • Incremental computing

Fingerprint

Dive into the research topics of 'IceDust: Incremental and eventual computation of derived values in persistent object graphs'. Together they form a unique fingerprint.

Cite this