Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Heroku Beta-Releases WebSockets Support

DZone's Guide to

Heroku Beta-Releases WebSockets Support

· Cloud Zone
Free Resource

Download this eBook outlining the critical components of success for SaaS companies - and the new rules you need to play by.  Brought to you in partnership with NuoDB.

Heroku users have been waiting for a Heroku-native feature like this for a long time, and now it's here.  Just today, Heroku unveiled their WebSocket functionality, which is currently in beta status. 

There is a full serving of documentation available on Heroku's Dev Center and there are three simple application examples on GitHub: One is a Node.js app, which uses the ws WebSocket implementation, another is a Ruby app that uses the Faye WebSocket implementation (Node.js and Ruby developers should definitely check out Faye if they haven't already), and the last is a Java and Play Framework app.  The Node.js application shows you a real-time map of all the client locations currently viewing the Heroku announcement post. 

While it seems like this feature is long overdue, it makes sense that Heroku would take their time with the development of WebSocket functionality, given the security concerns that surround it.  A cloud platform has to be incredibly careful about security.

Hopefully this new feature will mean more real-time, multi-player web games like BrowserQuest, since it's so easy to deploy these kinds of apps now.

Learn how moving from a traditional, on-premises delivery model to a cloud-based, software-as-a-service (SaaS) strategy is a high-stakes, bet-the-company game for independent software vendors. Brought to you in partnership with NuoDB.

Topics:

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}