Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Cowboy is Erlang/Elixir logic. Nginx - logic on anything.
Accordingly, the pros and cons follow from this. If you don't know how to cook Erlang/Elixir, if you have the most common request-response web application and don't need websockets, Nginx is your choice. None of the Cowboy pros are worth it.
Erlang and Elixir are great. But for 99% of web applications, they are overkill.
Excuse me, but what do you find in common between them?
nginx - proxies, balances, distributes, encrypts + a bunch of nice little things, + a convenient config, + a bunch of fine settings.
cowboy is just one of the ways to listen on port 80 in erlang.
Cowboy is considered the best implementation of websockets. And you can write logic in erlang, it's faster and smarter than nginx + modphp, though no one knows how.
Everything flows, everything changes....
Nginx is quite perfect.
Unless it makes sense to look at Cowboy to increase your own skills
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question