En lo que nosotros veteranos usuarios de Twitter podemos llamar un nuevo triunfo de la red social, no hubo ni un solo #FailWhale reportado antes, durante y después de la contienda.
Four more years. twitter.com/BarackObama/st…
— Barack Obama (@BarackObama) November 7, 2012
El tweet “Four More Years con una foto de Barack Obama que el mismo realiza luego de confirmarse que revalidó para su segundo término como presidente de Estados Unidos fue el mismo con un rango de retweet más alto en la historia de Twitter, al llegar a la increíble cuota de los 500,000 retweets en una sola noche.
Esto sin mencionar cada estado (incluyendo a Puerto Rico) con sus respectivas coberturas también tuvo lugar en Twitter.
¿Pero cómo el pájaro de San Francisco manejó esto y por qué no todos los días?
Bolstering our infrastructure
Last night, the world tuned in to Twitter to share the election results as U.S. voters chose a president and settled many other campaigns. Throughout the day, people sent more than 31 million election-related Tweets (which contained certain key terms and relevant hashtags). And as results rolled in, we tracked the surge in election-related Tweets at 327,452 Tweets per minute (TPM). These numbers reflect the largest election-related Twitter conversation during our 6 years of existence, though they don’t capture the total volume of all Tweets yesterday.As an engineering team, we keep an eye on all of the activity across the platform –– in particular, on the number of Tweets per second (TPS). Last night, Twitter averaged about 9,965 TPS from 8:11pm to 9:11pm PT, with a one-second peak of 15,107 TPS at 8:20pm PT and a one-minute peak of 874,560 TPM. Seeing a sustained peak over the course of an entire event is a change from the way people have previously turned to Twitter during live events.
In the past, we’ve generally experienced short-lived roars related to the clock striking midnight on New Year’s Eve (6,939 Tweets per second, or TPS), the end of a soccer game (7,196 TPS), or Beyonce’s pregnancy announcement (8,868 TPS). Those spikes tended to last seconds, maybe minutes at most. Now, rather than brief spikes, we are seeing sustained peaks for hours. Last night is just another example of the traffic pattern we’ve experienced this year –– we also saw this during the NBA Finals, Olympics Closing Ceremonies, VMAs, and Hip-Hop Awards.
Last night’s numbers demonstrate that as Twitter usage patterns change, Twitter the service can remain resilient. Over time, we have been working to build an infrastructure that can withstand an ever-increasing load. For example, we’ve been steadily optimizing the Ruby runtime. And, as part of our ongoing migration away from Ruby, we’ve reconfigured the service so traffic from our mobile clients hits the Java Virtual Machine (JVM) stack, avoiding the Ruby stack altogether.
Of course, we still have plenty more to do. We’ll continue to measure and evaluate event-based traffic spikes, including their size and duration. We’ll continue studying the best ways to accommodate expected and unexpected traffic surges and high volume conversation during planned real-time events such as elections and championship games, as well as unplanned events such as natural disasters.
The bottom line: No matter when, where or how people use Twitter, we need to remain accessible 24/7, around the world. We’re hard at work delivering on that vision.
– Mazen Rawashdeh, VP of Infrastructure Operations Engineering (@mazenra)
En corto lo que leyeron, en realidad ya Twitter con el tiempo implementaba mejoras con lo que sería el manejo de flujo de conexiones simultaneas, en especial durante eventos de interés público pero más también ayudó el cambio que ha tenido la gente en utilizar el servicio.
Lo interesante de todo es que al momento las estadísticas dicen que Twitter maneja un aproximado de 9,965 tweets por segundo en una muestra desde las 11:11PM hasta una hora después en el día de las elecciones en el momento preciso que se anunciaba a Obama como ganador.
Para los que no saben (y me alegra que haya mermado, llevo un año sin verlo) el #FailWhale es una representación gráfica de error de tráfico alto de bandwidth representado por pájaros tratando de remover una ballena y el otro famoso error es el #FailBot, un robot con un brazo cortado que representa un error de servidor o de programación.