Web-sockets – socket.io (leaky). Good for push notifications with volatile message and time-out but doesn’t scale well for chat.
Server-side event – http://viralpatel.net/blogs/html5-server-sent-events-java-servlets-example/ (only for push notification).
Ejjagerbird – http://www.quora.com/search?q=whatsapp+backend
Advertisements