Does Nginx limit Phoenix LiveView performance?

Does using Nginx as a reverse proxy for Phoenix LiveView become the bottleneck? IIRC, nginx is more limited in its ability to handle web sockets.

I’m new to Phoenix / Elixir, so help me understand the downside of using Nginx in front of Phoenix.

You’ll be fine.

1 Like

After the upgrade, nginx essentially turns to a transparent MITM proxy AFAIK. The overhead should amount to that of being a MITM; ie: pretty small.

I’ve no personal experience though, this is just based on my understanding of their docs

I am running 2 apps that get msgs flushed to the client from phoenix live view app. Makes no difference. Nginx is useful if you were running it as a reverse proxy, ssl termination etc. Otherwise won’t need it if you do those things in your phoenix app

1 Like