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-citationPhoenix++: modular MapReduce for shared-memory systems
Talbot, J., Yoo, R. M., & Kozyrakis, C. (2011) · Proceedings of the second international workshop on MapReduce and its applications · doi:10.1145/1996092.1996095 · Cited by 187 · cited 1×
“Phoenix++ [7] is a variant of map-reduce for in-memory analytics; unlike Trill, it is neither temporal nor streaming, and exposes a low-level key-value API.”
BackgroundShark: fast data analysis using coarse-grained distributed memory
Engle, C., Lupher, A., Xin, R., Zaharia, M., Franklin, M. J. M., Shenker, S. J., & Stoica, I. G. (2012) · ACM SIGMOD International Conference on Management of Data (SIGMOD) · doi:10.1145/2213836.2213934 · Cited by 143 · cited 4×
“We see that today’s SPEs have lower throughput (by 500X or more) than modern columnar DBMSs such as Vertica [14], SQL Server [6], and Shark [28] that push the limits of relational performance, approaching memory-bandwidth speeds for common operations.”
BackgroundInfluentialTemporal Analytics on Big Data for Web Advertising
Chandramouli, B., Goldstein, J., & Duan, S. (2012) · IEEE International Conference on Data Engineering (ICDE) · doi:10.1109/icde.2012.55 · Cited by 125 · cited 3×
“As with Orleans, SCOPE owns threads and schedules reducer code; thus, users embed Trill as a no-thread library within their reducers in order to perform temporal analytics [1] over search data such as clicks, impressions, and page views.”
BackgroundMethodSelf-citationS-Store: a streaming NewSQL system for big velocity applications
Çetintemel, U., Du, J. Y., Kraska, T., Madden, S. R., Maier, D., Meehan, J., Pavlo, A., Stonebraker, M. R., Sutherland, E., Tatbul, N., et al. (2014) · Proceedings of the VLDB Endowment · doi:10.14778/2733004.2733048 · Cited by 87
How to Fit when No One Size Fits
Lim, H., Han, Y., & Babu, S. (2013) · Conference on Innovative Data Systems Research · Cited by 65
Semantics of Data Streams and Operators
Maier, D., Jin, L., Tucker, P. A., Tufte, K. A., & Papadimos, V. (2004) · Lecture notes in computer science · doi:10.1007/978-3-540-30570-5_3 · Cited by 64 · cited 1×
“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.”
BackgroundScalable progressive analytics on big data in the cloud
Chandramouli, B., Goldstein, J., & Quamar, A. (2013) · Proceedings of the VLDB Endowment · doi:10.14778/2556549.2556557 · Cited by 49 · cited 2×
“A study of progressiveness using a commercial SPE can be found in our recent work [2].”
BackgroundMethodSelf-citationAccurate latency estimation in a distributed event processing system
Chandramouli, B., Goldstein, J., Barga, R., Riedewald, M., & Santos, I. (2011) · IEEE International Conference on Data Engineering (ICDE) · doi:10.1109/icde.2011.5767926 · Cited by 45 · cited 1×
“Real-time queries use stimulus-time scheduling [15].”
Self-citationBarnett, M., Chandramouli, B., DeLine, R. A., Drucker, S. M., Fisher, D., Goldstein, J., Morrison, P. J., & Platt, J. C. (2013) · ACM SIGMOD International Conference on Management of Data (SIGMOD) · doi:10.1145/2463676.2463683 · Cited by 34 · cited 1×
“[5]) is a Web-based interactive analytics environment that allows users to author queries and visualize results progressively.”
BackgroundSelf-citationREEF: retainable evaluator execution framework
Chun, B.-G., Condie, T., Curino, C., Douglas, C., Matusevych, S., Myers, B., Narayanamurthy, S., Ramakrishnan, R., Rao, S., Rosen, J., et al. (2013) · Proceedings of the VLDB Endowment · doi:10.14778/2536274.2536318 · Cited by 23 · cited 2×
“YARN [17] and REEF [18] generalize Hadoop to a distributed resource manager.”
BackgroundMethod
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].”
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.