Skip to main navigation Skip to search Skip to main content

Fluid data structures

  • SUNY Buffalo

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

3 Scopus citations

Abstract

Functional (aka immutable) data structures are used extensively in data management systems. From distributed systems to data persistence, immutability makes complex programs significantly easier to reason about and implement. However, immutability also makes many runtime optimizations like tree rebalancing, or adaptive organizations, unreasonably expensive. In this paper, we propose Fluid data structures, an approach to data structure design that allows limited physical changes that preserve logical equivalence. As we will show, this approach retains many of the desirable properties of functional data structures, while also allowing runtime adaptation. To illustrate Fluid data structures, we work through the design of a lazy-loading map that we call a Fluid cog. A Fluid cog is a lock-free data structure that incrementally organizes itself in the background by applying equivalence-preserving structural transformations. Our experimental analysis shows that the resulting map structure is flexible enough to adapt to a variety of performance goals, while remaining competitive with existing structures like the C++ standard template library map.

Original languageEnglish
Title of host publicationDBPL 2019 - Proceedings of the 17th ACM SIGPLAN International Symposium on Database Programming Languages, co-located with PLDI 2019
EditorsAlvin Cheung, Kim Nguyen
PublisherAssociation for Computing Machinery
Pages3-17
Number of pages15
ISBN (Electronic)9781450367189
DOIs
StatePublished - Jun 23 2019
Event17th ACM SIGPLAN International Symposium on Database Programming Languages, DBPL 2019, co-located with PLDI 2019 - Phoenix, United States
Duration: Jun 23 2019 → …

Publication series

NameProceedings of the ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI)

Conference

Conference17th ACM SIGPLAN International Symposium on Database Programming Languages, DBPL 2019, co-located with PLDI 2019
Country/TerritoryUnited States
CityPhoenix
Period06/23/19 → …

Keywords

  • Data Layout
  • Record and Block Layout

Fingerprint

Dive into the research topics of 'Fluid data structures'. Together they form a unique fingerprint.

Cite this