DeAI Research
Source · IEEE Internet Computing

Server-Sent Events with Yaws

2012Steve Vinoski

cid fb41f278c3252f849a63ba2a418190120f505d3904b6a001629d50698c4955e3 · original · via openalex

Title: Server-Sent Events with Yaws
Authors: Steve Vinoski
Venue: IEEE Internet Computing
Year: 2012
Canonical: doi:10.1109/mic.2012.117
URL: https://doi.org/10.1109/mic.2012.117
Collector: openalex
OA: false

ABSTRACT
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.