What is Megaphone?

What is Megaphone?
The Megaphone project is about enhancing open source chat software. Specifically, the goal is to allow ejabberd to support 1,000,000 simultaneous users. See The Plan page for more details on how I plan to solve this problem. See the About this Blog page for more details on why I created this blog.

Thursday, December 22, 2011

Yet Another Change of Plan

I've been running into a lot of problems trying to get the ejabberd BOSH module to understand connection IDs and multiplexing.  After a bit of thought it occurs to me that it would be useful to try contacting the authors of the BOSH/http-bind part of ejabberd.

While writing an email to Stefan Strigler, the author of the excellent JWChat and the original author of the ejabberd BOSH module, I had an idea.  Rather than trying to write a bunch of code that "knows" about connection IDs and multiplexing, why not write something that looks to the BOSH module like a TCP connection, at least on the outside.


On the inside of the module, the implementation will know that it is multiplexing many connections into one connection. 


At least, that is the plan.  We'll see how it works out.

No comments:

Post a Comment