Earlybird: Real-Time Search at Twitter
The DOI matches its Crossref record; 47 of the 47 references it cites were found in a registry or an index.
Abstract
The web today is increasingly characterized by social and real-time signals, which we believe represent two frontiers in information retrieval. In this paper, we present Early bird, the core retrieval engine that powers Twitter's real-time search service. Although Early bird builds and maintains inverted indexes like nearly all modern retrieval engines, its index structures differ from those built to support traditional web search. We describe these differences and present the rationale behind our design. A key requirement of real-time search is the ability to ingest content rapidly and make it searchable immediately, while concurrently supporting low-latency, high-throughput query evaluation. These demands are met with a single-writer, multiple-reader concurrency model and the targeted use of memory barriers. Early bird represents a point in the design space of real-time search engines that has worked well for Twitter's needs. By sharing our experiences, we hope to spur additional interest and innovation in this exciting space.
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
MapReduce: simplified data processing on large clusters
Dean, J., & Ghemawat, S. (2008) · Communications of the ACM · doi:10.1145/1327452.1327492 · Cited by 18,476 · cited 1×
“This allows engineers to trade off latency for throughput in running indexing jobs on batch systems such as MapReduce [13].”
Background(1999) · Cited by 12,854
Authoritative sources in a hyperlinked environment
Kleinberg, J. M. (1999) · Journal of the ACM · doi:10.1145/324133.324140 · Cited by 8,959 · cited 2×
“For example, documents might be scored with a linear combination of a relevance measure such as BM25 [28] and a query-independent measure such as PageRank [29], HITS [30], page quality score [31], etc. Candidate documents from the first phase are then reranked by a slower, " expensive " but higher quality (usually, ma…”
BackgroundRobertson, S. E., Walker, S., Jones, S., Hancock‐Beaulieu, M., & Gatford, M. (1994) · Text REtrieval Conference · Cited by 2,212
Learning to rank for information retrieval
Liu, T.-Y. (2010) · Proceedings of the 33rd international ACM SIGIR conference on Research and development in information retrieval · doi:10.1145/1835449.1835676 · Cited by 1,856
The Datacenter as a Computer: An Introduction to the Design of Warehouse-Scale Machines
Barroso, L. A., & Hölzle, U. (2009) · Synthesis lectures on computer architecture · doi:10.2200/s00193ed1v01y200905cac006 · Cited by 1,714 · cited 1×
“Overall, these designs are not IRspecific , but represent general principles for building largescale distributed systems [23], [24].”
BackgroundLearning to Rank for Information Retrieval
Liu, T.-Y. (2009) · Foundations and Trends® in Information Retrieval · doi:10.1561/1500000016 · Cited by 1,568
Named Entity Recognition in Tweets: An Experimental Study
Ritter, A., Clark, S., & Etzioni, O. (2011) · Conference on Empirical Methods in Natural Language Processing (EMNLP) · Cited by 1,522
From RankNet to LambdaRank to LambdaMART: An Overview
Burges, C. J. C. (2010) · Cited by 1,448
Inverted files for text search engines
Zobel, J., & Moffat, A. (2006) · ACM Computing Surveys · doi:10.1145/1132956.1132959 · Cited by 1,081 · cited 2×
“At scale, the document collection is usually partitioned logically (i.e., sharded) into disjoint segments and individual machines are responsible for serving indexes that correspond to these document partitions [18], [19].”
BackgroundWeb search for a planet: the google cluster architecture
Barroso, L. A., Dean, J., & Holzle, U. (2003) · IEEE Micro · doi:10.1109/mm.2003.1196112 · Cited by 1,025 · cited 2×
“…retrieval research literature, much is known about many core aspects of web search, e.g., machine-learned ranking algorithms [1], [2], [3], techniques for exploiting log data [4], [5], [6], [7], web crawling [8], and the systems engineering aspects of building large-scale search engines [9], [10].”
BackgroundPart-of-Speech Tagging for Twitter: Annotation, Features, and Experiments
Gimpel, K., Schneider, N., O'Connor, B., Das, D., Mills, D. P., Eisenstein, J., Heilman, M., Yogatama, D., Flanigan, J., & Smith, N. A. (2018) · Figshare · doi:10.1184/r1/6473609.v1 · Cited by 800
Evaluating the accuracy of implicit feedback from clicks and query reformulations in Web search
Joachims, T., Granka, L., Pan, B., Hembrooke, H., Radlinski, F., & Gay, G. (2007) · ACM Transactions on Information Systems · doi:10.1145/1229179.1229181 · Cited by 677 · cited 1×
“…retrieval research literature, much is known about many core aspects of web search, e.g., machine-learned ranking algorithms [1], [2], [3], techniques for exploiting log data [4], [5], [6], [7], web crawling [8], and the systems engineering aspects of building large-scale search engines [9], [10].”
BackgroundPart-of-Speech Tagging for Twitter: Annotation, Features, and Experiments
Gimpel, K., Schneider, N., O'Connor, B., Das, D., Mills, D., Eisenstein, J., Heilman, M., Yogatama, D., Flanigan, J., & Smith, N. A. (2010) · doi:10.21236/ada547371 · Cited by 491
Learning user interaction models for predicting web search result preferences
Agichtein, E., Brill, E., Dumais, S., & Ragno, R. (2006) · Proceedings of the 29th annual international ACM SIGIR conference on Research and development in information retrieval · doi:10.1145/1148170.1148175 · Cited by 462 · cited 1×
“…retrieval research literature, much is known about many core aspects of web search, e.g., machine-learned ranking algorithms [1], [2], [3], techniques for exploiting log data [4], [5], [6], [7], web crawling [8], and the systems engineering aspects of building large-scale search engines [9], [10].”
BackgroundThe anatomy of a large-scale social search engine
Horowitz, D., & Kamvar, S. D. (2010) · Proceedings of the 19th international conference on World wide web · doi:10.1145/1772690.1772735 · Cited by 425 · cited 1×
“There has been a fair amount of work on social search (e.g., [11], [12]) and the use of social signals to personalize web search has recently seen commercial deployments, but the topic of real-time search appears to be largely unexplored in the academic literature.”
BackgroundPeierls, T., Goetz, B., Bloch, J., Bowbeer, J., Lea, D., & Holmes, D. (2006) · Medical Entomology and Zoology · Cited by 424
Probabilistic query expansion using query logs
Cui, H., Wen, J.-R., Nie, J.-Y., & Ma, W.-Y. (2002) · Proceedings of the 11th international conference on World Wide Web · doi:10.1145/511446.511489 · Cited by 423 · cited 1×
“…retrieval research literature, much is known about many core aspects of web search, e.g., machine-learned ranking algorithms [1], [2], [3], techniques for exploiting log data [4], [5], [6], [7], web crawling [8], and the systems engineering aspects of building large-scale search engines [9], [10].”
BackgroundEfficient query evaluation using a two-level retrieval process
Broder, A. Z., Carmel, D., Herscovici, M., Soffer, A., & Zien, J. (2003) · Proceedings of the twelfth international conference on Information and knowledge management · doi:10.1145/956863.956944 · Cited by 407 · cited 1×
“At the level of individual machines, query evaluation in modern web retrieval is generally divided into two phases [25], [26], [27].”
BackgroundLearning to Rank for Information Retrieval
Liu, T.-Y. (2011) · Springer eBooks · doi:10.1007/978-3-642-14267-3 · Cited by 407 · cited 1×
“From the information retrieval research literature, much is known about many core aspects of web search, e.g., machine-learned ranking algorithms [1], [2], [3], techniques for exploiting log data [4], [5], [6], [7], web crawling [8], and the systems engineering aspects of building large-scale…”
Large-scale incremental processing using distributed transactions and notifications
Peng, D. N., & Dabek, F. (2010) · doi:10.5555/1924943.1924961 · Cited by 402 · cited 1×
“Alternatively, substantially more machine resources can be brought to bear to reduce indexing latency using an architecture such as the one implemented by Percolator [14], but this alternative still does not appear to approach the speed required for real-time search.”
BackgroundOlston, C., & Najork, M. (2010) · Foundations and Trends® in Information Retrieval · doi:10.1561/1500000017 · Cited by 370
Self-indexing inverted files for fast text retrieval
Moffat, A., & Zobel, J. (1996) · ACM Transactions on Information Systems · doi:10.1145/237496.237497 · Cited by 361 · cited 2×
“Finally, since the first posting in each block is stored in an uncompressed format, it can be used for efficient skipping, a well-known technique in information retrieval [38].”
BackgroundMethodHow many relevances in information retrieval?
Mizzaro, S. (1998) · Interacting with Computers · doi:10.1016/s0953-5438(98)00012-5 · Cited by 322 · cited 1×
“The literature is vast and deep, and for the interested reader, Mizzaro [48] provides a good starting point.”
BackgroundQuery evaluation: Strategies and optimizations
Turtle, H., & Flood, J. (1995) · Information Processing & Management · doi:10.1016/0306-4573(95)00020-h · Cited by 305 · cited 1×
“Generally, there is an affinity between document-sorted indexes and documentat-a-time query evaluation [37], [38], [39].”
BackgroundInverted index compression and query processing with optimized document ordering
Yan, H., Ding, S., & Suel, T. (2009) · Proceedings of the 18th international conference on World wide web · doi:10.1145/1526709.1526764 · Cited by 275 · cited 4×
“For long postings lists, we adopt a block-based compression scheme similar in spirit to PForDelta [44], [45] and the Simple9 [46] family of techniques.”
MethodInfluentialLearning to Rank for Information Retrieval and Natural Language Processing
Li, H. (2011) · Synthesis lectures on human language technologies · doi:10.2200/s00348ed1v01y201104hlt012 · Cited by 249
Performance of compressed inverted list caching in search engines
Zhang, J., Long, X., & Suel, T. (2008) · Proceedings of the 17th international conference on World Wide Web · doi:10.1145/1367497.1367550 · Cited by 230 · cited 2×
“For long postings lists, we adopt a block-based compression scheme similar in spirit to PForDelta [44], [45] and the Simple9 [46] family of techniques.”
MethodThe impact of caching on search engines
Baeza-Yates, R., Gionis, A., Junqueira, F., Murdock, V., Plachouras, V., & Silvestri, F. (2007) · Proceedings of the 30th annual international ACM SIGIR conference on Research and development in information retrieval · doi:10.1145/1277741.1277775 · Cited by 210 · cited 1×
“Finally, search engines also take advantage of caching [20], [21].”
BackgroundVector-space ranking with effective early termination
Anh, V. N., de Kretser, O., & Moffat, A. (2001) · Proceedings of the 24th annual international ACM SIGIR conference on Research and development in information retrieval · doi:10.1145/383952.383957 · Cited by 207 · cited 2×
“Alternatively, the payload can hold pre-computed quantized scores known as impacts [35], [36].”
BackgroundA cascade ranking model for efficient ranked retrieval
Wang, L., Lin, J., & Metzler, D. (2011) · Proceedings of the 34th international ACM SIGIR conference on Research and development in Information Retrieval · doi:10.1145/2009916.2009934 · Cited by 200 · cited 1×
“The wide range of implementations include gradient boosted regression trees [32], [2], additive ensembles [33], and cascades of rankers [26], [34], just to name a few.”
BackgroundSelf-citationBagging gradient-boosted trees for high precision, low variance ranking models
Ganjisaffar, Y., Caruana, R., & Lopes, C. V. (2011) · Proceedings of the 34th international ACM SIGIR conference on Research and development in Information Retrieval · doi:10.1145/2009916.2009932 · Cited by 187 · cited 2×
“The wide range of implementations include gradient boosted regression trees [32], [2], additive ensembles [33], and cascades of rankers [26], [34], just to name a few.”
BackgroundEarly exit optimizations for additive machine learned ranking systems
Cambazoglu, B. B., Zaragoza, H., Chapelle, O., Jiang, C., Liao, C. Y., Zheng, Z., & Degenhardt, J. (2010) · ACM International Conference on Web Search and Data Mining (WSDM) · doi:10.1145/1718487.1718538 · Cited by 161 · cited 1×
“The wide range of implementations include gradient boosted regression trees [32], [2], additive ensembles [33], and cascades of rankers [26], [34], just to name a few.”
BackgroundIntegration of news content into web results
Diaz, F. (2009) · Proceedings of the Second ACM International Conference on Web Search and Data Mining · doi:10.1145/1498759.1498825 · Cited by 133 · cited 1×
“The creation of verticals, however, creates a new problem known as vertical integration, e.g., when and where to insert news stories into general web search results [41].”
BackgroundHigh accuracy retrieval with multiple nested ranker
Matveeva, I., Burges, C., Burkard, T., Laucius, A., & Wong, L. (2006) · Proceedings of the 29th annual international ACM SIGIR conference on Research and development in information retrieval · doi:10.1145/1148170.1148246 · Cited by 128 · cited 1×
“At the level of individual machines, query evaluation in modern web retrieval is generally divided into two phases [25], [26], [27].”
BackgroundContextual Bearing on Linguistic Variation in Social Media
Gouws, S., Metzler, D., Cai, C., & Hovy, E. H. (2011) · Cited by 124
Efficient search ranking in social networks
Vieira, M. V., Fonseca, B. M., Damazio, R., Golgher, P. B., Reis, D. D. C., & Ribeiro-Neto, B. A. (2007) · ACM International Conference on Information and Knowledge Management (CIKM) · doi:10.1145/1321440.1321520 · Cited by 123 · cited 1×
“There has been a fair amount of work on social search (e.g., [11], [12]) and the use of social signals to personalize web search has recently seen commercial deployments, but the topic of real-time search appears to be largely unexplored in the academic literature.”
BackgroundAutomatic classification of Web queries using very large unlabeled query logs
Beitzel, S. M., Jensen, E. C., Lewis, D. D., Chowdhury, A., & Frieder, O. (2007) · ACM Transactions on Information Systems · doi:10.1145/1229179.1229183 · Cited by 122 · cited 1×
“…retrieval research literature, much is known about many core aspects of web search, e.g., machine-learned ranking algorithms [1], [2], [3], techniques for exploiting log data [4], [5], [6], [7], web crawling [8], and the systems engineering aspects of building large-scale search engines [9], [10].”
BackgroundChallenges on Distributed Web Retrieval
Baeza-Yates, R. A., Castillo, C., Junqueira, F., Plachouras, V., & Silvestri, F. (2007) · IEEE International Conference on Data Engineering (ICDE) · doi:10.1109/icde.2007.367846 · Cited by 120 · cited 2×
“…retrieval research literature, much is known about many core aspects of web search, e.g., machine-learned ranking algorithms [1], [2], [3], techniques for exploiting log data [4], [5], [6], [7], web crawling [8], and the systems engineering aspects of building large-scale search engines [9], [10].”
BackgroundOn designing and deploying internet-scale services
Hamilton, J. R. (2007) · Cited by 105
Optimization strategies for complex queries
Strohman, T., Turtle, H. R., & Croft, W. B. (2005) · International ACM SIGIR Conference on Research and Development in Information Retrieval (SIGIR) · doi:10.1145/1076034.1076074 · Cited by 103 · cited 1×
“Generally, there is an affinity between document-sorted indexes and documentat-a-time query evaluation [37], [38], [39].”
BackgroundSimplified similarity scoring using term ranks
Anh, V. N., & Moffat, A. (2005) · International ACM SIGIR Conference on Research and Development in Information Retrieval (SIGIR) · doi:10.1145/1076034.1076075 · Cited by 68 · cited 1×
“Alternatively, the payload can hold pre-computed quantized scores known as impacts [35], [36].”
BackgroundSkobeltsyn, G., Junqueira, F., Plachouras, V., & Baeza-Yates, R. A. (2008) · International ACM SIGIR Conference on Research and Development in Information Retrieval (SIGIR) · doi:10.1145/1390334.1390359 · Cited by 61
Multi-tier architecture for Web search engines
Risvik, K. M., Aasheim, Y., & Lidal, M. (2004) · International Conference on Numerical Simulation of Optoelectronic Devices (NUSOD) · doi:10.1109/laweb.2003.1250291 · Cited by 54 · cited 1×
“Another standard strategy is to divide indexes into “tiers” in terms of quality [42], [43], as captured by human editorial judgments, automatic classifiers, or some combination of the two.”
BackgroundEfficiency trade-offs in two-tier web search systems
Baeza-Yates, R. A., Murdock, V., & Hauff, C. (2009) · International ACM SIGIR Conference on Research and Development in Information Retrieval (SIGIR) · doi:10.1145/1571941.1571971 · Cited by 43 · cited 1×
“Another standard strategy is to divide indexes into " tiers " in terms of quality [42], [43], as captured by human editorial judgments, automatic classifiers, or some combination of the two.”
BackgroundEnergy-price-driven query processing in multi-center web search engines
Kayaaslan, E., Cambazoglu, B. B., Blanco, R., Junqueira, F., & Aykanat, C. (2011) · International ACM SIGIR Conference on Research and Development in Information Retrieval (SIGIR) · doi:10.1145/2009916.2010047 · Cited by 34 · cited 1×
“User queries are first routed to an appropriate datacenter based on a variety of considerations: query load, link latencies, and even the cost of electricity [15], [16], [17].”
BackgroundNajork, M. (2009) · ACM Conference on Hypertext and Social Media (HT) · doi:10.1145/1557914.1557933 · Cited by 25 · cited 1×
“Most modern systems serve indexes from main memory, but caching can be applied to results of frequent queries as well as documents and other data that are frequently accessed, e.g., the webgraph [22].”
Background
Cited by
Pääkkönen, P., & Pakkala, D. (2015) · Big Data Research · doi:10.1016/j.bdr.2015.01.001 · Cited by 240
“Data analytics infrastructure at Twitter (adapted based on [3,29]).”
Background
Metadata
- Authors
- Busch, M., Gade, K., Larson, B., Lok, P., Luckenbill, S., & Lin, J.
- Venue
- 2012 IEEE 28th International Conference on Data Engineering
- Publisher
- IEEE
- Published
- 2012-04
- Pages
- 1360-1369
- ISSN
- 1084-4627 (ISSN-L)
- OpenAlex
- W2071080574
- Cited by
- 163
- References
- 47
- FWCI
- 17.43
- Type
- conference paper
- 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.