It seems like Twitter is now at the crossroads. They recently announced a new funding round of $15 million and have started communicating more with their users. These are very good things. A new open Twitter is a wonderful thing. People have been very hard on them because they were not saying anything about the outages. They have also mentioned in their blog that they know scalability and reliability are issues. The bad side of this is that they had several outages throughout this past week. TechCrunch openly wondered whether they can scale the service.
Twitter is unique in that it needs to parse a large number of messages and deliver them to multiple recipients, with each user having unique connections to other users… Every new Twitter user and every new connection results in an exponentially greater computational requirement.
I have always had faith that given enough time and energy, they would solve the scale problem. That is I had faith until I read their recent blog entry. The first paragraph explains a lot:
We found an errant API project eating way too much of our Jabber resources. This activity had an affect of overloading our main database, resulting in the error pages and slowness most people are now encountering.
I can totally understand that there is a third party project that is pounding on the Jabber API. However, there is an underlying problem that concerns me. They have documented problems with scaling the service in general. They now admit that the Jabber API, their realtime API, has some performance issues that affect the main site. The reason I am concerned about this is that it seems like they built a service that became very popular and they could not foresee that there might be issues six months ago. Granted, their real traffic growth started in February of this year, but it has been a steady growth and not any huge jump in traffic. Given how popular the service was in October, scale should have been the focus at that point.
It is now late May and they are just admitting that they have infrastructure problems. Obviously, there are the redundancy and replication issues that can be solved with known techniques. The realtime API needs to be using a replicated database and not affect the main database. This is the part that is concerning me the most as it should have been obvious some time ago. Also, disabling the realtime API while you recover is bad public relations because the third parties that use the API have helped in the growth of the service. if you look at where all of the updates come from, most updates are not coming from the Twitter web client.
So, now we wait. We wait to see how quickly they can solve each of the scalability issues. They now have the money, so let us see what they can do. If they really want to become a utility service, they have to be able to scale reliably. If they really want to become a utility service, the API services need to become more important than the web client. If they really want to become a utility service, they have a lot of work to do.
Good luck Twitter team, I hope you can succeed.
I enjoyed reading this, as it’s one of the first articles that I’ve read that actually gives me some insight into the nature of Twitter’s problems.
LikeLike
Thanks Mark. I am in software development so I understand some of the issues behind scalability and reliability. I have also tried to avoid adding to the noise about Twitter’s problems. I think people fail to realize the complexity of a service like this and how hard that type of reliability is to achieve.
LikeLike
You know twitter has arrived when people spend half their time on the service bitching about using the service. Ridiculous.
Good article, as is the norm around here.
For a free service, people sure are eager to jump on the hate-wagon when it fails to work every second of every day. Shit, even your cell phone loses coverage here and there.
As usual, you bring some sense to the noise.
LikeLike
[…] tagged twitterOwn a WordPress blog? Make monetization easier with the WP Affiliate Pro plugin. Twitter at the Crossroads saved by 3 others o0AnimeMeisje0o bookmarked on 05/25/08 | […]
LikeLike
Hi Neighbor.
Great insight here, I’m really pulling for Twitter to grow into something more functional. The cash injection sounds great.
LikeLike
@Bill
Wow, a local guy. Sometimes I wonder if people out our way have internet service.
I do like Twitter and I hope they can work out some of their problems. Thanks for the kind words and thanks for reading.
LikeLike
[…] service that even better services are built upon. I even addressed this a few weeks ago with my Twitter At The Crossroads post. The only reason most of this is discussed is due to their openness and the […]
LikeLike
[…] Twitter at the Crossroads […]
LikeLike