Twitter has had a bad few days. After a few weeks of wonderful stability, we started to see some Fail Whales. Then people started losing followers and subscriptions. Because of this, even more people are moving to alternative micro-blogging services like Identi.ca. Of course there have been several requests for a Twitter friend importer. I think people are getting caught up in the problem and not thinking about the best solution. Previously, I mentioned that Twitter was at the crossroads. In that post I started thinking about a possible solution: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.Another post appeared from Dave Winer where he mentioned that we are inching toward federation.
Right now, today I'm using an approximation to the ideal system. I try to enter my original post on FriendFeed, then I have an agent script running on one of my machines that routes it to Twitter and Identi.ca, with a pointer to the discussion thread on FriendFeed, shortened by bit.ly.Obviously, this is not a good solution to the Twitter problem either. There are also multi-posting services like Ping.fm and Posty which allow a user to update each of their micro-blogging services with the same message. So, with one click you can update Twitter, Identi.ca, Pownce, Jaiku and Plurk. While that sounds really cool, they only provide one-way updates. Tools like Twhirl are starting to allow posting and retrieving of tweets and dents in one application. This gets a little better, but you still have multiple accounts to deal with.
Federated Microblogging
Federation is the real answer. What does federation do and why is it different from Twitter creating a distributed architecture? A distributed architecture means you have various pieces of the application sitting on different servers. Typically, several parts are replicated or redundant and there are various load balancing devices thrown in to complete the architecture. I am not going to go into tons of detail as books have been written about distributed architectures.
Federation is different from distributed in one simple sense. Federation requires a full copy of the entire system. Federation is the cooperation between various systems to act as one. Wikipedia has a good description of a federated database system.
A federated database system is a type of meta-database management system (DBMS) which transparently integrates multiple autonomous database systems into a single federated database. The constituent databases are interconnected via a computer network, and may be geographically decentralized. Since the constituent database systems remain autonomous, a federated database system is a contrastable alternative to the (sometimes daunting) task of merging together several disparate databases.If you replace all of the database and database system terminology with microblogging and microblogging system you will understand a federated system. So, how does this help Twitter? It does not, at least not directly. By having a federated system, people can move to Identi.ca or the next clone that appears and not lose their followers. If you think about the concepts of email, you will understand how the federated system would work. My account in the federated system would be robdiana@identi.ca. A Twitter user could reply from within Twitter directly to me (robdiana@identi.ca) and I would receive it in whatever client application I had. I could also follow Twitter users, Pownce users or any other microblogging user. By enabling people to communicate across platforms would mean that the server load would be spread across various services, thus decreasing the amount of traffic on Twitter directly.
The one part of the federation that is missing is the routing between servers. This can be accomplished by following the DNS model. A local DNS server has a reference to its parent or master server. This allows new servers to be built and their location and IP address propagated to other servers. This is a very effective solution and it has worked for several years.
Because Twitter and Identi.ca follow the same API, they could act as the root servers in the system. The other option to the Twitter API is the XMPP protocol, which Twitter is using for their realtime API. The protocol choice is important because a federated system requires that all of the systems speak the same language. A federated system would also require a different client application than we have now. As I mentioned earlier, Twhirl fully supports Identi.ca and Twitter. However you are dealing with two different accounts. How cool would it be if you had one microblogging client to chat with people on any service?
18 Comments
LMK when they get all the IM clients working with each other and then we can discuss how they'll get this mess worked out what with all the broadcasting that would have be done across multiple systems. How are you going to maintain the user relationships? Twitter can't manage to do that with one system. You can't use a centralized database across systems using a subscription architecture, so how does anyone propose this? Winer says "open source" and "federated" like it's the solution to all the world's ills, but has offered exactly zero solutions for implementation.
Cyndy
IM is a slightly different issue because all of the IM clients started completely closed. Eventually they opened up bit by bit. Now we have clients that talk to most if not all of them. There is also a standard that some follow called Jabber/XMPP for IM. Twitter actually uses part of XMPP for their realtime update API. Each user needs to have a "home" server in this type of case as well. So if I am an Identica user, that is my home and where all of my relationships are stored.
As I tried to state in the post, a federated system like email, is a very good solution. However, these things take time to build, so we still have to wait a bit.
You think you want a distributed Twitter, but you don’t: http://blog.babelnote.com/2...
It's only a matter of time when you think of how well the multi-IM client Trillian handles everyone.Just like you,I think a microblogging client based on XMPP will mash everybody together pretty soon. Posty has already agreed to possibly place the clients it supports in one big window...
Rob - I don't these this happening other than the selective importing and commenting we're seeing on Friendfeed (and any similar services that may follow). Presumably most of these services were set-up to either monetize and / or integrate commercially (or be sold). They will have the option of limiting any interaction as we've seen in the past with AIM and other chat-type services. Clients (like Twhirl) will continue to be developed, with services such as Friendfeed acting as the catch all. Any further interaction is highly unlikely. Great to see you posting to Louis' blog!
Charlie -
Definitely see your point on the track record of limiting interaction but I see it taking towards the direction Rob is talking about.
There are good reasons why instant messaging services started allowing users to communicate with people using competing applications.
It was all well and good when AOL was the one dominating and innovating - they were hoarding a massive user base so the game was theirs to control. But as soon as the ways to connect to the internet proliferated and new interfaces and tools were developed that provided internet users with an incentive to jump AOL's walls they had little choice.
As we have moved through that process and the market has grown, providing users a myriad of choices for virtually each type of web activity, I believe we have all developed an expectation that the services we use play nice with others.
I don't think there is a user out there that wouldn't love to see the kind of federated approach rob is talking about - Twitter and its cousins don't have to move in that direction but that is not going to change the market's demands.
At some point somebody will figure out how to do it and it will be AOL all over again for the pioneers...
The main issue I see is that people will have friends on several services. When you get people like Scoble moving to Identica as well as using Twitter, someone will try to get things to work together. Companies want to support the Scoble's of the world, because a good word from him drives a significant amount of traffic. He may accidentally have started someone down that path already. The main reason I think it will happen is that there are a lot of early adopters already asking for it. That and the open APIs make this a possibility even in the next year.
I am obviously not qualified to speak to the technical aspects but I think this kind of approach is exactly the kind of solution microblogging (macromessaging?) needs to move one step closer to fully integrating itself into the mainstream.
I looked back over Jason's post from earlier this month of Babelnote and while some of the concerns he raises seem to make sense I don't have anywhere near the technological background to know whether or not they are truly valid.
Truth is, from my perspective, the how is irrelevant - its the why that matters.
There is a fundamental difference between the kind of communication that the Twitters and FriendFeeds offer and email, instant messaging, texting and chat rooms. If there wasn't no one would be so excited about them - they would take one look at them and say "oh, that's just like (insert item from previous list)" and walk away.
Point is - the demand for the function isn't going to go away, its going to increase.
The kind of solution you are suggesting would allow the Twitter's and Indenti.ca's out there to focus on providing UIs that will meet specific needs and attract more users instead of spending all their time trying to build a structure capable of supporting everyone's everything.
Thanks to you and Winer and Jason and all of the other people out there who are taking the time to put their tech skills to use to try and figure out a solution.
So long as you guys keep thinking forward and throwing out ideas for the solution someone, somewhere will figure it out.
I read the babelnote blog entry you link to and he has some valid points. We do not have much spam because you need to explicitly follow people. Opening up the architecture with federation could have the same effect as letting spam email become a huge problem. The other reason we do not have a lot of spam is because all of this stuff is new. Email was around for years before spam became a problem. His concern is more about introducing problems into a currently "troubled" system (Twitter), and if you read to the end he also has another motive (building another system).
Seems like Summize was a virtual federated system for search and discovery of tweets. and people were using it for discovering @ replies too. Maybe all we need is for the posting services like Ping.fm to cache tweets and expose pre-submitted tweets to Summize, and then Summize can search across these caches. Totally seems possible, and why wouldn't Twitter want to do this with Summize? BTW, I still miss Summize classic branding. It seemed "smarter" with the old branding than with the new Twitter color scheme that just evokes Fail Whale to me!
Marco - We never really know but if any of them are looking to make money , the only one I can remember was ICQ when hey sold the company.
Yeah, you are probably right about the heavy users. I was trying not to go too deep into it because there are too many infrastructure issues as well. At that point I am almost designing the architecture. Maybe that is a good topic for another blog post :)
ha, thought it was, can MICROBES talk to each other, and got excited, science discovering a biological basis for social media
lol
Absolutely agree with your list of steps. I tried to stay at a higher level as the several services and API needed would be several blog posts and I can only write one at a time :)
I always thought that Twitter was a public IM platform. Subscription email is another decent way to look at it. I also think people are too concerned about the problems that might be added instead of the benefits. Am I right that federation is the right way to go? Maybe, let's see if someone builds it.
Sorry - I forgot to link here when I mentioned Federation - will add the link now. Identi.ca is actually intended to be Federated. It will be interesting to see how successful they are at it. As Tim O'Reilly has been talking about recently, "Open" and "Web 2.0" can, and should go together - things like Federated micro-blogging platforms are ways to do this.
this sounds like you're trying to re-invent e-mail only instead you're sending small messages...
Nailed it! I'm surprised no one else has mentioned email yet, the quintessential federated technology.
And who makes a profit on email?