Trill: a high-performance incremental query processor for diverse analytics
The DOI matches its Crossref record; 20 of the 20 references it cites were found in a registry or an index.
Abstract
This paper introduces Trill -- a new query processor for analytics. Trill fulfills a combination of three requirements for a query processor to serve the diverse big data analytics space: (1) Query Model : Trill is based on a tempo-relational model that enables it to handle streaming and relational queries with early results, across the latency spectrum from real-time to offline; (2) Fabric and Language Integration : Trill is architected as a high-level language library that supports rich data-types and user libraries, and integrates well with existing distribution fabrics and applications; and (3) Performance : Trill's throughput is high across the latency spectrum. For streaming data, Trill's throughput is 2-4 orders of magnitude higher than comparable streaming engines. For offline relational queries, Trill's throughput is comparable to a major modern commercial columnar DBMS. Trill uses a streaming batched-columnar data representation with a new dynamic compilation-based system architecture that addresses all these requirements. In this paper, we describe Trill's new design and architecture, and report experimental results that demonstrate Trill's high performance across diverse analytics scenarios. We also describe how Trill's ability to support diverse analytics has resulted in its adoption across many usage scenarios at Microsoft.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Fast Pattern Matching in Strings
Knuth, D. E., Morris, Jr., & Pratt, V. R. (1977) · SIAM Journal on Computing · doi:10.1137/0206024 · Cited by 2,936 · cited 1×
“Substring matching applies the Knuth-Morris-Pratt [22] algorithm directly on the MultiString.”
MethodModels and issues in data stream systems
Babcock, B., Babu, S., Datar, M., Motwani, R., & Widom, J. (2002) · Proceedings of the twenty-first ACM SIGMOD-SIGACT-SIGART symposium on Principles of database systems · doi:10.1145/543613.543615 · Cited by 2,495 · cited 1×
“Streaming Engines Starting with the seminal work of STREAM [30] and Borealis [10], there now exist many SPEs; both from research (e.g., NiagaraST [9], Nile [11], Naiad [35]) and industry (e.g., StreamInsight [8], Storm [29], Reactive [4], MillWheel [38]).”
BackgroundThe design of the borealis stream processing engine
Abadi, D. J., Ahmad, Y., Bałazińska, M., Cherniack, M., Hwang, J.-H., Lindner, W., Maskey, A. S., Rasin, A., Ryvkina, E., Tatbul, N., et al. (2005) · Cited by 1,543
A comparison of approaches to large-scale data analysis
Pavlo, A., Paulson, E., Rasin, A., Abadi, D. J., DeWitt, D. J., Madden, S., & Stonebraker, M. (2009) · Proceedings of the 2009 ACM SIGMOD International Conference on Management of data · doi:10.1145/1559845.1559865 · Cited by 1,071 · cited 1×
“Pavlo et al. [27] report benchmark results that show Vertica and DBMS-X performing “grep” at around 60MB/sec on one node (Hadoop was 2X slower at 25MB/sec) on a 2.4GHz Core 2 Duo processor.”
MethodDiscretized streams: fault-tolerant streaming computation at scale
Zaharia, M., Das, T., Li, H., Hunter, T., Shenker, S., & Stoica, I. (2013) · Proceedings of the Twenty-Fourth ACM Symposium on Operating Systems Principles · doi:10.1145/2517349.2522737 · Cited by 982 · cited 2×
“Some SPEs such as NiagaraST [9] and StreamInsight [8] support a full tempo-relational algebra, whereas other SPEs such as Spark Streaming [34] and Naiad [35] support limited variants of the model.”
BackgroundMonetDB/X100: Hyper-Pipelining Query Execution
Boncz, P. A., Żukowski, M., & Nes, N. J. (2005) · Centrum Wiskunde & Informatica (CWI), the national research institute for mathematics and computer science in the Netherlands · Cited by 745
SCOPE: easy and efficient parallel processing of massive data sets
Chaiken, R., Jenkins, B., Larson, P.-Å., Ramsey, B., Shakib, D., Weaver, S., & Zhou, J. (2008) · Proceedings of the VLDB Endowment · doi:10.14778/1454159.1454166 · Cited by 727 · cited 1×
“2) Analytics within SCOPE: SCOPE [20] is a map-reduce platform for query processing that allows arbitrary .”
BackgroundNaiad: a timely dataflow system
Murray, D. G., McSherry, F., Isaacs, R., Isard, M., Barham, P., & Abadi, M. (2013) · Proceedings of the Twenty-Fourth ACM Symposium on Operating Systems Principles · doi:10.1145/2517349.2522738 · Cited by 656 · cited 4×
“Some SPEs such as NiagaraST [9] and StreamInsight [8] support a full tempo-relational algebra, whereas other SPEs such as Spark Streaming [34] and Naiad [35] support limited variants of the model.”
BackgroundMethodInfluentialMillWheel: fault-tolerant stream processing at internet scale
Akidau, T., Balikov, A., Bekiroğlu, K., Chernyak, S., Haberman, J., Lax, R., McVeety, S., Mills, D., Nordstrom, P., & Whittle, S. (2013) · Proceedings of the VLDB Endowment · doi:10.14778/2536222.2536229 · Cited by 536 · cited 2×
“…: Existing analytics engines either target a specific point in the diverse analytics space (e.g., DBMS for offline relational) or expose low-level APIs (such as an incremental key-value abstraction [29][38]) that place the burden of specifying non-declarative logic on the application developer.”
BackgroundConsistent Streaming Through Time: A Vision for Event Stream Processing
Barga, R., Goldstein, J., Ali, M., & Hong, M. (2006) · arXiv (Cornell University) · doi:10.48550/arxiv.cs/0612115 · Cited by 221 · cited 1×
“Logically, we view a stream as a temporal database ( TDB ) [31] that is presented incrementally, as in CEDR [3], Nile [11], NiagaraST [9], etc.”
MethodSelf-citation
Cited by
(2015) · KTH Publication Database DiVA (KTH Royal Institute of Technology) · Cited by 1,144
Akidau, T., Bradshaw, R., Chambers, C., Chernyak, S., Fernández-Moctezuma, R. J., Lax, R., McVeety, S., Mills, D., Perry, F., Schmidt, E., et al. (2015) · Proceedings of the VLDB Endowment · doi:10.14778/2824032.2824076 · Cited by 750
“CEDR [8] and Trill [13] are noteworthy in that they not only provide useful triggering semantics via punctuations [30, 28], but also provide an overall incremental model that is quite similar to the one we propose here; however, their windowing semantics are insufficient to express sessions, and their periodic punctua…”
BackgroundInfluentialIn-Memory Big Data Management and Processing: A Survey
Zhang, H., Chen, G., Ooi, B. C., Tan, K.-L., & Zhang, M. (2015) · IEEE Transactions on Knowledge and Data Engineering · doi:10.1109/tkde.2015.2427795 · Cited by 414
(2017) · Networked Systems Design and Implementation · Cited by 329
VideoEdge: Processing Camera Streams using Hierarchical Clusters
Hung, C.-C., Ananthanarayanan, G., Bodik, P., Golubchik, L., Yu, M., Bahl, P., & Philipose, M. (2018) · 2018 IEEE/ACM Symposium on Edge Computing (SEC) · doi:10.1109/sec.2018.00016 · Cited by 287
“employed by production systems [3], [25], [68].”
Structured Streaming: A Declarative API for Real-Time Applications in Apache Spark
Armbrust, M., Das, T., Torres, J., Yavuz, B., Zhu, S., Xin, R., Ghodsi, A., Stoica, I., & Zaharia, M. (2018) · Proceedings of the 2018 International Conference on Management of Data · doi:10.1145/3183713.3190664 · Cited by 209
“Streaming Benchmark [14]), as in Trill [12], and also lets Structured Streaming automatically leverage new SQL functionality added to Spark.”
BackgroundMethodInfluentialA survey on the evolution of stream processing systems
Fragkoulis, M., Carbone, P., Kalavri, V., & Katsifodimos, A. (2024) · The VLDB Journal · doi:10.1007/s00778-023-00819-8 · Cited by 207
Consistency and Completeness: Rethinking Distributed Stream Processing in Apache Kafka
Wang, G., Chen, L., Dikshit, A., Gustafson, J., Chen, B., Sax, M. J., Roesler, J., Blee-Goldman, S., Cadonna, B., Mehta, A., et al. (2021) · Proceedings of the 2021 International Conference on Management of Data · doi:10.1145/3448016.3457556 · Cited by 74
Akidau, T., Begoli, E., Chernyak, S., Hueske, F., Knight, K., Knowles, K., Mills, D., & Sotolongo, D. (2021) · Proceedings of the VLDB Endowment · doi:10.14778/3476311.3476389 · Cited by 56
“• Ordered processing : Processing a collection that is already ordered (usually by time) is a well-established way to guarantee completeness [4, 7, 10, 19, 23].”
BackgroundStreams and Tables: Two Sides of the Same Coin
Sax, M. J., Wang, G., Weidlich, M., & Freytag, J.-C. (2018) · Proceedings of the International Workshop on Real-Time Business Intelligence and Analytics · doi:10.1145/3242153.3242155 · Cited by 51
Hazelcast jet: low-latency stream processing at the 99.99 th percentile
Gencer, C., Topolnik, M., Ďurina, V., Demirci, E., Kahveci, E. B., Gürbüz, A., Lukáš, O., Bartók, J., Gierlach, G., Hartman, F., et al. (2021) · Proceedings of the VLDB Endowment · doi:10.14778/3476311.3476387 · Cited by 38
Metadata
- Authors
- Chandramouli, B., Goldstein, J., Barnett, M., DeLine, R., Fisher, D., Platt, J. C., Terwilliger, J. F., & Wernsing, J.
- Venue
- Proceedings of the VLDB Endowment
- Published
- 2014-12
- Volume
- 8
- Issue
- 4
- Pages
- 401-412
- ISSN
- 2150-8097 (ISSN-L)
- OpenAlex
- W2244876453
- Cited by
- 182
- References
- 20
- FWCI
- 22.73
- Type
- journal article
- Language
- en
- Open access
- closed
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.