Another “why immutability rules” post Cachex v3.0.0 released!

Server Sent Events with Elixir/Plug

Server Sent Events with Elixir/Plug

Server-Sent Events (SSE) is a lightweight and standardized protocol for pushing notifications from an HTTP server to a client. In contrast to WebSocket, which offers bi-directional communication, SSE only allows for one-way communication from the server to the client. If that’s all you need, SSE has the advantages to be much simpler, to rely on HTTP 1.1 only and to offer retry semantics on broken connections by the browser.

https://github.com/mustafaturan/sse