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.
We’re excited to introduce you to Twitter Lite, a Progressive Web App that is available at mobile.twitter.com. Twitter Lite is fast and responsive, uses less data, takes up less storage space, and supports push notifications and offline use in modern browsers.
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.
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%.
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.
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.