WebSocket Connections with Akka Streams

program code

The WebSocket protocol provides full-duplex communication channels between web clients and servers.  Using Play Framework’s WebSocket class along with Akka Streams provides effective support for WebSockets on the server side.  Add an Alpakka connector for the desired data source, and you have all the pieces to create flexible, reliable, and elegant solutions for connecting WebSockets…

Read More

HTML5 WebSockets

html5

All code and slides can be found on GitHub: https://github.com/thoward333/websockets-demo Know When You Need Real-time Real-time applications need instant updates from the server, often when an external event triggers the need to receive new data. The most popular solution involved long polling, where the page makes an AJAX call to the server that remains open until…

Read More