Credo v0.3.4 released Using GenEvent to Notify a Channel of Updates in Elixir

Exometer / Phoenix Channel Demo

Linked below is a demo application that pushes Exometer data through Phoenix channels to the UI. Each browser session creates 10 web socket connections to the server and receives new data every second. It in itself is not that special but there are some neat observations:

  • The browser is the bottleneck when trying to chart large amounts of (real-time) data
  • Sockets take very little memory - opened 500 sockets and memory increased by a couple of MB only
  • Once all sockets disconnected, memory usage returns to normal; there is no leakage

http://exometer-phoenix-channel-demo.herokuapp.com/