Show simple item record

dc.identifier.urihttp://hdl.handle.net/11401/78238
dc.description.sponsorshipThis work is sponsored by the Stony Brook University Graduate School in compliance with the requirements for completion of degree.en_US
dc.formatMonograph
dc.format.mediumElectronic Resourceen_US
dc.language.isoen_US
dc.typeDissertation
dcterms.abstractObject queries are a powerful construct for writing clear and concise high-level code, but are difficult to implement efficiently. A programmer who is not satisfied with the performance of a straightforward implementation may craft an ad hoc low-level solution. However, this forfeits the productivity benefits that declarative queries bring. We present a novel static transformation for generating demand-driven incremental implementations of object queries. The queries may involve objects and sets that are arbitrarily nested, and may also use aggregate operators and nested queries. All possible updates are handled, even in the presence of aliasing, without requiring sophisticated runtime support. The method defines invariants for the query result and auxiliary values, and provides precise asymptotic bounds for running time and space usage. Different high-level choices in the selection of the demand strategy and join orders lead to different invariants and different time and space tradeoffs. Previous methods do not handle such expressive queries while obtaining precise cost bounds for the generated code. We demonstrate IncOQ, a prototype implementation of our method, and verify that the transformed programs conform to their predicted costs. We compare our method both analytically and experimentally with prior work and alternative approaches, and justify our formulation of demand. Finally, we show successful applications to queries from a variety of problem domains including distributed algorithms, access control, and approximate probabilistic inference.
dcterms.available2018-06-21T13:38:40Z
dcterms.contributorLiu, Yanhong Aen_US
dcterms.contributorKifer, Michaelen_US
dcterms.contributorStoller, Scotten_US
dcterms.contributorWarren, Daviden_US
dcterms.contributorNorvig, Peteren_US
dcterms.creatorBrandvein, Jonathan Glenn
dcterms.dateAccepted2018-06-21T13:38:40Z
dcterms.dateSubmitted2018-06-21T13:38:40Z
dcterms.descriptionDepartment of Computer Scienceen_US
dcterms.extent183 pg.en_US
dcterms.formatApplication/PDFen_US
dcterms.formatMonograph
dcterms.identifierhttp://hdl.handle.net/11401/78238
dcterms.issued2016-05-01
dcterms.languageen_US
dcterms.provenanceMade available in DSpace on 2018-06-21T13:38:40Z (GMT). No. of bitstreams: 1 Brandvein_grad.sunysb_0771E_12880.pdf: 1465874 bytes, checksum: 13f359d8c129c47fe3a379bd949e46bb (MD5) Previous issue date: 5en
dcterms.subjectComputer science
dcterms.subjectAutomatic Incrementalization
dcterms.subjectDemand-driven Computation
dcterms.subjectInvariant-based Transformation
dcterms.subjectObject Queries
dcterms.subjectProgram Optimization
dcterms.subjectQuery Constructs
dcterms.titleDemand-Driven Incremental Computation of Object Queries
dcterms.typeDissertation


Files in this item

Thumbnail

This item appears in the following Collection(s)

Show simple item record