Twitter as the Ultimate Service Bus for Applications

I want to describe a proposal about using Twitter from applications. I guess this idea is not new, and that there are some real implementations in twittersphere. My point is to describe something simple and extensible.

Suppose you want to operate in a virtual marketplace. Actually, you are going to a website, enter your offer, wait for replies. An alternative method could be to use a Twitter account to send offer messages.

Something like this:

Every other application could read the feed from @ajmarket and then take action: response, make a counteroffer, publish it in a website, do market analysis, etc.

I propose a message format:

If you need to send more information, you can add links to data (possibly in JSON format, ok, it could be XML, but I prefer JSON):

Each application should define the valid verbs and arguments. The application that reads the messages (or write new ones) can be distributed, no need to have a entry point, in a URL. Twitter account is the more flexible entry point for such kind of applications.

Imagine you can build anything that involves many applications sending messages to possible many applications.

Even more: each application twitter account could be viewed as an agent. If you need to plan a trip, an “intelligent” application could be listen on Twitter, and take conversations with other Twitter agents to resolve your plan or problem.

The underlying application could run in Azure, Amazon, your own center. You can switch or support other message transport, Yammer instead of Twitter, or anything alike in the future.

Abstract: use Twitter as a pubsub channel, with a simple but flexible message format.

It should be something like this out there.

Keep tuned!

Angel “Java” Lopez

3 thoughts on “Twitter as the Ultimate Service Bus for Applications

  1. German Arduino

    Indeed is an interesting idea.

    To me personally is really awesome the tons of things that can be thinked behind Twitter, even when I knew it I thinked “Oh, another useless web 2.0 service”.

    Just to you know someone is reading 🙂

  2. Cillia johnson

    I think this is a great idea actually. But don’t you think the use of hashtag would be better as it’s currently used? For example, @ . The reason I suggest the hashtag is because it would make it much easier to filter our noise and ordinary tweet updates from marketplace tweets.

    Just a thought though, but I still think your suggestion is worth working on.

    Good job

  3. Cillia johnson

    Agh 😦 My code has been stripped off from the comment.
    Well, the idea was that the use of one standard has tag would be more appropriate for this sort of business app.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s