<< Back to the main Twitter Blog page

Tuesday, March 20, 2007

The Tortoise and the Twitter



The Slowsky commercials Comcastic runs to sell their Internet services are not as funny to us now as they once were. Twitter. Is. Slow. We are painfully aware. The slowness is being caused by massive popularity which makes for a bittersweet type of situation. We thought we'd let you know what we're doing to make things more sweet than bitter.

We did some forensic analysis of our slowness and discovered that API traffic, specifically, XML over our API is HUGE. Really, just totally out of wack. So today, we're separating that traffic from normal web traffic with the goal of caching a whole bunch of the API stuff to make the site snappier. In addition, we are increasing machine power and storage to accommodate our continued growth. However, this will only get us so far.

The short time span between side project and complex scaling challenge caught up with us after our successful sxsw experiment. It was really good timing that our two new full time engineers both arrived at Obvious HQ this week. Beyond that, we have secret weapons in the form of former colleagues who are quite well versed in scaling challenges. Lucky for us, one colleague in particular finds himself in a position to spend time helping us solve this puzzle. Having an extra desk in the office is coming in very handy this week.

Finally, we are thinking big about the future of Twitter with regard to architecture and we're not holding back. We'll have more news about that as we move forward with our plans. Right now, we are digging in and making the site snappy. I'll happily note that while the web part of Twitter has been taking it's sweet time slowsky-style, the SMS part has been humming right along at an increasingly swift hare-like pace.

19 Comments:

Blogger Michael said...

Did individual RSS feeds get killed? I personally found that to be the most interesting feature, because then I could syndicate/use twitter as a twit-blog platform....

3/20/07 1:59 PM  
Blogger Ev. said...

No, individual RSS feeds are still there. In fact, nothing is getting killed (except our mirth, minute by minute...).

3/20/07 2:13 PM  
Blogger bunnyhero said...

thank you!!! for letting us know what's going on. this makes a WORLD of difference :)

as a technical person, i love hearing about how you're solving the scaling issues, like when you report on your discovery of how much bandwidth XML over your API is taking. i don't know if that's interesting to anyone else who reads the blog, but i appreciate it!

and at this very moment, twitter seems to be working more smoothly for me.

yay!

3/20/07 2:24 PM  
Blogger Tim said...

thanks for the post. already asked myself what's going on... well, the twitter page is already way faster than some hours ago.

3/20/07 3:09 PM  
Anonymous stml said...

Thanks for the update - please keep it going. Shouldn't you be twittering every management/technical decision and change? ;)

3/20/07 3:21 PM  
Blogger bunnyhero said...

haha, i agree with stml!

3/20/07 3:49 PM  
Anonymous Anonymous said...

Maybe you guys could get Gtalk working again so we don't have to use the slow/broken web interface?

3/20/07 3:57 PM  
Anonymous Jarin Udom said...

Glad to hear you guys are working on it, I can see Twitter becoming a conduit for all kinds of API-based goodness once it's more stable!

3/20/07 3:58 PM  
Anonymous Anonymous said...

well, one post later, and twitter is feeling faster...

thanks,

3/20/07 4:05 PM  
Anonymous mhmazidi said...

hi,please support RTL=right to left,because my language is farsi(persian). thanks.
twitter.com/mhmazidi

3/20/07 4:31 PM  
Blogger skell said...

+1 on getting your GTalk client fixed, as I cannot SMS over Nextel, so I rely heavily on the GTalk BlackBerry client. What's the status on that? Thanks a ton for the great service and all the hard work!

3/20/07 4:59 PM  
Anonymous GotRice said...

I think you will find that separating your API and Web calls will do a lot to speed up your web interface.

You might also want to look at stream lining your XML format, but then I am sure you guys know all this basic stuff.

3/20/07 10:41 PM  
Anonymous WTL said...

Thanks for the post - I appreciate the situation you folks have found yourself in. I'm not too surprised about the XML causing issues. Have you considered gziping it? I know you can do that with served web pages, so why not XML? Mind you, that is only really a solution if it is a bandwidth issue not a CPU cycles one.

3/21/07 4:14 AM  
Blogger Factory Joe said...

It's interesting to me that the absence of IM has utterly changed my participation in, and consumption of, Twitter.

I'm a lot less active and certainly less connected without it. The difference between asynchronous, web-based Twittering and synchronous, IM-based Twittering is night and day.

I think I'll have to write about this.

3/21/07 9:53 AM  
Blogger Tim said...

waah! the main site is slow again! what's been up? IM trouble?

3/25/07 2:15 PM  
Anonymous Anonymous said...

wow gold
wow power leveling
wow power leveling
wow power leveling
wow powerleveling
wow powerleveling
wow powerleveling
World Of Warcraft power leveling
World Of Warcraft power leveling
World Of Warcraft power leveling
World Of Warcraft powerleveling
World Of Warcraft powerleveling
World Of Warcraft powerleveling
wow power level
wow power level
wow power level
cheap wow power leveling
cheap wow power leveling
cheap wow powerleveling
cheap wow powerleveling
codeheart article
Warcraft Gold

11/13/07 5:48 PM  
Anonymous Anonymous said...

runescape money runescape gold runescape money runescape gold wow power leveling wow powerleveling Warcraft Power Leveling Warcraft PowerLeveling buy runescape gold buy runescape money runescape items runescape gold runescape money runescape accounts runescape gp dofus kamas buy dofus kamas Guild Wars Gold buy Guild Wars Gold runescape accounts buy runescape accounts runescape lotro gold buy lotro gold lotro gold buy lotro gold lotro gold buy lotro gold lotro gold buy lotro gold runescape money runescape power leveling runescape money runescape gold dofus kamas cheap runescape money cheap runescape gold Hellgate Palladium Hellgate London Palladium Hellgate money

11/17/07 10:55 PM  
Anonymous Anonymous said...

runescape money runescape gold runescape money runescape gold wow power leveling wow powerleveling Warcraft Power Leveling Warcraft PowerLeveling buy runescape gold buy runescape money runescape items runescape gold runescape accounts runescape gp dofus kamas buy dofus kamas Guild Wars Gold buy Guild Wars Gold runescape accounts buy runescape accounts runescape lotro gold buy lotro gold lotro gold buy lotro gold lotro gold buy lotro gold lotro gold buy lotro gold runescape money runescape power leveling runescape money runescape gold dofus kamas cheap runescape money cheap runescape gold Hellgate Palladium Hellgate London Palladium Hellgate money Tabula Rasa gold tabula rasa money 陈楚生 压力开关 压力传感器 流量开关 流量计 液位计 液位开关 温湿度记录仪 风速仪 差压开关 可燃气体检测仪 过滤器 强磁水处理器 自清洗过滤器 自动反冲洗过滤器 保鲜棕榈树 棕榈树

11/18/07 4:37 PM  
Anonymous wow power leveling said...


wow power leveling
wow powerleveling
world of warcraft power leveling
ffxi power leveling
ffxi powerleveling
lotro powerleveling
lotro power leveling

wow power leveling
wow powerleveling
world of warcraft power leveling
ffxi power leveling
ffxi powerleveling
ffxi
ffxi gil
lotro powerleveling
lotro power leveling
lotro gold

wow power leveling
wow powerleveling
world of warcraft power leveling
wow powerleveln
wow power leveln
world of warcraft power leveln
world of warcraft powerleveln

ffxi powerleveling
coh powerleveling
cov power leveling

11/26/07 3:46 AM  

Post a Comment

Links to this post:

Create a Link

<< Home