Hello, My name is Joshua and I will be applying this year to participate in the Google Summer of Code. I have been very interested in micro-blogging platforms which is why I was drawn to StatusNet.
For my proposal I would like to implement a streaming API that is compatible with the one Twitter currently supports. I would like to take some time prior to the start of the application process to provide some ideas I have on how to go about implementing this feature. My first idea was to use the Hip Hop technology to develop a fast, scalable streaming API server using PHP. This allows us to re-use code already in the StatusNet codebase. For the front end we could use something such as Nginx, Lighttpd, etc which can all handle massive connections (C10k) and are proven technologies. We would use Hip Hop to transform the PHP code into a C++ module for these servers. We could even design this to be pluggable so the streaming server could support many front ends depending on how the user would like to deploy. A few downsides of this first idea is that Hip Hop is fairly new. There will be some untested waters we will need to explore. It is already used for 90% of Facebook's traffic so there is some good proof it does work well. A backup idea would be to directly develop the server in C++. This would require developing a bridge between StatusNet and the server. New statuses would need to be passed via a protocol to the streaming servers. So this email is just to start some discussion. The next few days I will study StatusNet some more and also explore Hip Hop further to see how viable of a solution it might be for the project. Please feel free to provide any feedback. Thank you for your time and I look forward to contributing to StatusNet. Joshua Roesslein IRC: joshthecoder
_______________________________________________ StatusNet-dev mailing list [email protected] http://lists.status.net/mailman/listinfo/statusnet-dev
