Best practice for realtime/event-based apps?

It seem EventSource is another good choice.