Twitter Search Can Now Index 50 Times More Tweets Per Second

Chris CrumSearch

Share this Post

Twitter has changed its entire search architecture, and nobody noticed for weeks until they pointed it out. It must be successful right? It's supposed to be so powerful that it can index about 50 times more tweets per second than Twitter is currently getting. That's a lot. 

Twitter is no longer using the technology it originally acquired from Summize, which became Twitter Search. Twitter's Michael Busch explains the new technology:

About 6 months ago, we decided to develop a new, modern search architecture that is based on a highly efficient inverted index instead of a relational database. Since we love Open Source here at Twitter we chose Lucene, a search engine library written in Java, as a starting point.

Our demands on the new system are immense: With over 1,000 TPS (Tweets/sec) and 12,000 QPS (queries/sec) = over 1 billion queries per day (!) we already put a very high load on our machines. As we want the new system to last for several years, the goal was to support at least an order of magnitude more load.

New Twitter Search Architecture (on the back end)

Twitter says the new architecture will not only benefit the company, but users too. Users will notice a bigger index, which they say is twice as long, without making searches any slower. 

Interestingly, Twitter also says the new tech will allow them to build "cool new features" faster and better. What kinds of features would you like to see Twitter add on to search? Share your thoughts with us. 

Chris Crum
Chris Crum has been a part of the WebProNews team and the iEntry Network of B2B Publications since 2003. Follow Chris on Twitter, on StumbleUpon, on Pinterest and/or on Google: +Chris Crum.