Bandit server for Phoenix is next level, check it out!

Hey Guys,

Did you know that there’s an alternative to Cowboy for Phoenix, called Bandit?

And it recently reached {:bandit, "~> 1.0-pre"} version!

Here’s my observation:


In Cowboy based phoenix builds, I noticed that there’s a delay before the websocket connection happened.

As you can notice in the gif below. Other pages load within 100ms, however the websocket connection reaches close to 435ms:

Cowboy


That doesn’t happen with Bandit!

All the resources, along with the socket connection happen within 100ms!
Bandit


Check it out:
https://github.com/mtrudel/bandit

9 Likes