Plug POST performance

I have a weird, semi useless update, as I haven’t really tried again due to a lack of time.

I did some experimentation with just raw cowboy (no Elixir) and had terrible results no matter what I did. I tried cowboy 2 as well, same bad results.

However, I did some experiments with raw Elli and somehow (I still don’t understand how, given +A 0 given to me by rebar3) I was able to get 160,000 QPS out of it running wrk on the same machine. I tried a Elli Plug adapter I found and got 2300 QPS so I didn’t continue down that path.

I also did some experiments with raw nginx to ensure I was doing something possible and around 160k was the limit I was able to get between the two servers I have. (Given the huge volume of POSTs that’s pretty great).

So for anyone still trying this, I would definitely evaluate Elli over Cowboy in terms of raw performance.

4 Likes