Issue No.05 - Sept.-Oct. (2012 vol.16)
Steve Vinoski , Basho Technologies
DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/MIC.2012.117
Developers are increasingly building Web applications that rely on notifications from the server, such as updates from social networks, alerts from application monitors, or information from sensor networks. But given that HTTP is a request-response protocol, such notifications can be challenging, giving rise to techniques such as long polling and to entirely new protocols such as WebSocket. These challenges can be especially significant for mobile applications due to intermittent client connectivity and device battery-life issues. This column explores how the Yaws Web server, written in the Erlang programming language, supports the W3C Server-Sent Events notification approach.
Web design, Programming, Servers, Web servers, Functional programming, Erlang, functional programming, web development, notifications, events, Yaws
Steve Vinoski, "Server-Sent Events with Yaws", IEEE Internet Computing, vol.16, no. 5, pp. 98-102, Sept.-Oct. 2012, doi:10.1109/MIC.2012.117