The Twitter Engineering Blog

Information from Twitter's engineering team about our technology, tools and events.

Using Deep Learning at Scale in Twitter’s Timelines

(This post was co-authored by Anton Andryeyev from our timelines quality team)

For more than a year now since we enhanced our timeline to show the best Tweets for you first, we have worked to improve the underlying algorithms in order to surface content that is even more relevant to you.


Twitter’s Vote on JSR 376 (Java Platform Module System)


Almost all of Twitter’s services run on the Java Virtual Machine platform. We have a team of engineers who work on performance improvements to our own custom version of the OpenJDK JVM. We are also active participants in the development of the Java platform and are members of the Java Community Process (JCP) Executive Committee (EC), helping provide oversight and stewardship of the Java platform and its evolution.


How we built Twitter Lite

We’re excited to introduce you to Twitter Lite, a Progressive Web App that is available at Twitter Lite is fast and responsive, uses less data, takes up less storage space, and supports push notifications and offline use in modern browsers.


Building and Serving Conversations on Twitter

Some of the most memorable interactions on Twitter occur because of the public conversations that take place on our service. Lately, we’ve been hearing feedback about a complication with these conversations – sometimes, when you reply to a Tweet, you aren’t able to see your reply in the conversation. Due to a longstanding technical capacity limitation, when there is an overwhelming volume of replies to a Tweet, our platform is unable to show all of these replies on the Tweet’s page.


Optimizing Twitter Heron

In this blog we describe how we profiled Heron to identify performance limiting components, we highlight the optimizations, and we show how these optimizations improved throughput by 400-500% and reduced latency by 50-60%.


Introducing Twitter Image Pipeline iOS framework for open source

Today, we’re excited to open source our Twitter Image Pipeline iOS framework, or TIP for short.


The Infrastructure Behind Twitter: Scale

In the last infrastructure blog post we focused on some of the key efficiency and optimization efforts that we’ve made over the years and in this one, we’ll cover the challenges we’ve had to overcome to scale some of our key services and network.


Moving Top Tweet Search Results from Reverse Chronological Order to Relevance Order

How Twitter search broke out of its reverse chronological order constraints to bring people more relevant results.


Simplify Service Dependencies with Nodes

A history of how we handle service dependency graphs in search backend, and introducing a new library to make the implementation of asynchronous services in Java easier.


Omnisearch Index Formats

In this post, we discuss how we have evolved our search technology to accommodate diverse document types, the surprising performance impact of these changes, and how we are using this improved technology to power Twitter’s latest product efforts.