We provide a web-service API for businesses to build scalable Data Push communication apps on Mobile, Tablet and Web. We believe in unified broadcasting. Develop once and push everywhere. PubNub is a Global Web Data Push Service for Broadcasting Bidirectional Messages to Mobile, Tablet and Websites.
PubNub is basically a Send/Receive Publish/Subscribe mechanism for data communication between different programming languages. For Heroku, this means you can use Ruby to speak with JavaScript directly through Web Data Push.
Read more FAQ on PubNub at:
See a Live Example:
www.pubnub.com/#ec2-spot-prices
Subscribe(Receive) Messages using JavaScript:
www.pubnub.com/tutorial/javascript-push-api
Debug with Dev Console: