7 Lines to Code Fizz-Buzz Game Principle in Elixir New package for metrics-collection: Band

Sockette - The cutest little reconnecting WebSocket!

If you’re building an Elixir or Phoenix API with WebSockets (eg, Phoenix Channels), and if you’re at all like me, you probably only use phoenix.js for its WebSocket connector.

Alternatively, you may use Sockette, a tiny (350 byte) WebSocket wrapper that implements auto-reconnection & that allows you to reuse config / instances.

It’s not a drop-in replacement for the Phoenix library by any means, but it definitely allows you to get going quickly if you just need a bare minimum solution.

Enjoy!

ElixirWeekly: The Elixir Community Newsletter, covering community news you easily miss, shared on ElixirStatus and the web, in one email every Thursday.