• On TV.com: TOP 10 Shows CANCELED Too Soon
May 22, 2008 5:23 PM PDT

Scaling Twitter redux--the ESB should be your best friend

by Dave Rosenberg
  • Font size
  • Print
  • 3 comments

As we Twitt-iots sit around bemoaning the fact that we can't send each other useless junk on a flaky service, I thought I would take this chance to address the notion that this message-scaling problem is new.

It's not. It's very common, and it can be solved.

Scaling a messaging platform is why IBM sells a boatload of MQ series, why the AMQP protocol was developed, and why JMS is nearly ubiquitous. Pretty much every large enterprise has similar scale issues related to messaging, especially in financial services. But they don't have downtime, and if they did as frequently as Twitter, the people behind them would all get fired.

This is a topic I actually know something about. (Disclosure: my company develops an open-source enterprise service bus, or ESB, called Mule.) All of our use cases involve some kind of complicated messaging architecture, whether it be Web-service based, publish and subscribe, one to many, direct connection, etc. And most deal with data transformations and a vast array of protocols.

In my view, what Twitter needs is to adopt a bus-type of architecture that separates the transport from the application and uses a middleman to process the transactions. This is a very common enterprise scenario that needs to be applied. This is what an ESB does.

One example in the Web 2.0 world is OpSource, which is delivering billions of transactions a day as an SaaS provider using the ESB at the crux of the transactions. This is much larger than Twitter and has actual revenue impact. Maybe OpSource can host Twitter?

Dave Rosenberg dishes up "Software, Interrupted" with nearly 15 years of technology and marketing experience that spans from Bell Labs to multiple start-up IPOs to open-source enterprise software companies. He is co-founder of MuleSource and currently serves as the general manager of Hardy Way. He is a member of the CNET Blog Network and is not an employee of CNET. Disclosure. You can contact Dave via e-mail at softwareinterrupted@gmail.com or follow him on Twitter @daveofdoom.
Recent posts from Software, Interrupted
Preventive medicine for software change management
Open-source Hadoop powers Tennessee smart grid
Microsoft's weak cloud privacy position
IBM helps students put their heads in the cloud
Amazon gets social with Twitter integration
Turning Twitter into an application server
Virtual goods: Duping the masses?
Virtual-goods resellers on the rise
Add a Comment (Log in or register) (3 Comments)
  • prev
  • 1
  • next
by Perfeng May 23, 2008 6:54 AM PDT
Sorry, but you really need to not make things up if you want to come across as knowing what you're talking about. OpSource is NOT handling billions of transactions a day using Mule. Yes, their bus uses Mule, and yes, they serve lots of transactions a day, but not every request over the OpSource network flows through the bus. In fact, a very very tiny percentage of them do, and they're not serving billions a day at any rate.

This is not to say that OpSource couldn't help Twitter, I'm sure they could. But it would not involve their ESB, and their ESB is not magic.

Also, JMS is not magic. As a performance engineer, I'm as big a fan of reading about Twitter's problems as the next guy, but the scaling problem they have would be hard to solve on ANY platform. They're going to have to relax some of their requirements, and move to a more asynchronous model to scale. JMS could help them do that, but they could also do it without JMS.

Mule also isn't magic. Unless you've load-tested Mule with millions of messages an hour, involving tens of thousands of queues, some small percentage of which should have thousands of subscribers, you haven't even done an order of magnitude simulation of the Twitter problem. I'm pretty sure Mule would have issues serving Twitter too, and it would take less than a day to implement the basic model and find out, provided you have the machines on hand to handle this load, and sufficient load generation capability. But I'm guessing you don't have either, so maybe OpSource can help you with *your* problem.
Reply to this comment
by shmooth2 May 23, 2008 9:15 AM PDT
@perfeng: dude - take a chill pill. seriously. take a week off. just do something to take the edge off. i'm sorry you got canned from your last position, but it's not cnet's fault. you should have used Mule.
Reply to this comment
by syerramreddy May 24, 2008 4:33 PM PDT
I am not sure if ESB solution will prevent every website outage issues.. I hope it is that simple, I agree with the fundamental view that ESB/Messaging can relieve some load issues, but a blanket recommendation or view that ESB would have prevented the outage is kind of parochial and lacks intellectual assessment..
Reply to this comment
(3 Comments)
  • prev
  • 1
  • next
advertisement

As alternative energy grows, NIMBY greens

With more renewable energy projects trying to come online, the country grapples with the balance between local land use and a national push for clean energy.

Google to remake programming with Go

A Unix co-creator is among those behind a language Google hopes will speed computers and programming. Today, Go becomes open-source software.

advertisement

About Software, Interrupted

In "Software, Interrupted," Dave Rosenberg discusses disruption in the software market, as well as the products and services that keep business technology norms in perpetual flux.

With nearly 15 years of technology and marketing experience spanning from Bell Labs to multiple start-up IPOs, Dave co-founded open-source software company MuleSource and now serves as general manager of Hardy Way. He also happens to be a U.S. patent holder and a workaholic. Technology is his best friend and mortal enemy.

Add this feed to your online news reader

Software, Interrupted topics

advertisement
advertisement

Inside CNET News

Scroll Left Scroll Right