I want to develop a chat application similar to omegle.com.
FUNCTIONALITY This website picks up two random people who are logged into the website and then pairs them for a chat session. Now if one of the party A disconnects then the other party B is informed and then the party B is connected to a different party. I want my application to handle heavy load and it should not crash.
TECHNICAL: Now I had a few doubts about the architecture of the application:
Should every message sent by A or B go through the server? Will it cause loading of the server? OR should the server be used only for establishing the connection between the two parties?
I have heard that the omegle.com is developed using python using the Twisted library. I also heard that supports easy scaling and can handle huge loads. If any one has experience with the Twisted framework I would like to hear their comments.