Technology Review - Published By MIT
Log in to My.TechnologyReview.com | Register
Advertisement
[1] 2 Next »

Monday, July 21, 2008

Twitter's Growing Pains

Plagued by service outages, the microblogging site rebuilds its infrastructure.

By John Borland

  • Audio »
    • Listen - Flash
    • Listen - MP3
    • Subscribe to podcast
    • What is this?
    • Powered by
smaller text tool iconmedium text tool iconlarger text tool icon
Credit: Technology Review

As every Twitter addict knows, the popular messaging system has suffered long and frustrating service outages, measured in hours or even tens of hours per month.

User complaints and defections to rival services have risen, and in recent months, some developers have even said that they've suspended work on their Twitter-related projects. But as these problems have crested, Twitter has been increasingly open about what executives say is a large-scale, ground-up architectural revamp aimed at improving the service's stability.

The company has avoided detailing timing or technical specifics. But cofounder Biz Stone said in an e-mail interview last week that the changes are under way, and that users should already be benefiting from the results.

"We are improving the system organically," Stone says. "We are already seeing correspondingly gradual improvements in stability as a result of our piece-by-piece improvements."

Twitter's service allows users to post 140-character messages online, and it lets other users receive these messages on cell phones or computers. According to the company's engineers, the service was originally built using "technologies and practices" suited to a content management system. Such systems generally use databases to organize content for publication, whether online or in print. The content management system used to produce this page, for example, has separate database entries for the story's title, the author's name, the date of publication, and the like. Although such systems allow users to create and revise content, they are not designed for real-time exchange of data.

But Twitter evolved quickly into a genuine communications network, with its own unique, fast-paced style of conversation and group messaging. The various hacks that Twitter's engineers used to turn a content management system into a messaging service haven't prevented persistent collapse.

The system's faults have been much dissected online. Twitter was originally written using the Ruby on Rails development framework, which provides considerable programming power and flexibility but is slow in interactions with a back-end database during heavy use. Nor was the system's original MySQL database structure well suited to handling the complex, fast-paced network of queries spawned by users "following" the updates of thousands of others.

The Twitter team's responses have been akin to triage at times: turning off features such as the ability to use the service through instant-messaging programs, or temporarily shutting down the "Reply" function, an extremely popular means of facilitating conversations between users.

The company has also periodically, and unpredictably, changed the frequency with which external applications can request Twitter data by using the company's application programming interface (API), a particular thorn in the side of developers who use this conduit for their own applications.

But after a particularly painful May and June, in which downtimes were unusually frequent and protracted, the company may be turning a corner.

[1] 2 Next »

Comments

  • legal web 2.0
    tamia87 on 08/19/2008 at 6:20 PM
    Posts:
    1
    check it out www.lawyerahead.ca & www.lawyerahead.com (for US)
    Rate this comment: 12345
Featured Content

Featured Articles
New blade servers help midsize businesses go big
For today’s midsize businesses, the move to blade servers is not a matter of if but when. New product portfolios are enabling midsize businesses to benefit from the cost savings, energy efficiency, and performance improvements of these compact yet powerful servers.

More »

White Papers
White papers from HP give insight into the latest technology entering the marketplace.

Blade Servers for the Masses
HP introduced the c3000 to address the needs of the smaller server deployments. Learn about the many advantages of implementing an HP blades server in your organization.

> Cost Analyses for Midsize and Enterprise Businesses
> Power, Cooling, and Space
> Maximizing Management Services

Rightsizing Blades for the Midmarket
Blades are expected to represent more than 25 percent of server shipments in 2011. Read about the capabilities of the HP c3000 and the challenges HP will face as it extends the BladeSystem into the midmarket.  

> Computing Needs vs. Available Resources
> Operating Expenses and Effort
> Flexible and Simplified Infrastructure

Current Issue

Technology Review September/October 2008
How Obama Really Did It
Social technology helped bring him to the brink of the presidency.
•  Subscribe
Save 41%
•  Table of Contents
•  MIT News

Magazine Services

Career Resources

MIT Technology Insider

Stories and breaking news from inside MIT about the latest research, innovations, and startups--in a convenient monthly e-newsletter. Subscribe today

Follow us on Twitter

Twitter

Get Technology Review updates via the web, cellphone, or Instant Messager – Follow techreview on Twitter!

TECHNOLOGY RESOURCES
Advertisement
MIT Massachusetts Institute of Technology