I'd recommend that you check out NodeJS (http://nodejs.org/) and Socket.io (http://socket.io/) for your Use Case, though it might not be ideal for the mobile environment.
See an overview of different "real time technologies" here: http://www.leggetter.co.uk/real-time-web-technologies-guide/realtime-web-technology-transport-mechanisms