H
H
HoHsi2016-02-29 16:18:10
Nginx
HoHsi, 2016-02-29 16:18:10

Cowboy vs Nginx?

Good afternoon!
Increasingly, I notice that many resources prefer Cowboy , not Nginx.
What is the benefit of using cowboy instead of Nginx, or is it just YAW?

Answer the question

In order to leave comments, you need to log in

7 answer(s)
A
Andrey Nikiforov, 2016-02-29
@eoffsock

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.

W
Walt Disney, 2016-03-01
@ruFelix

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.

U
uvelichitel, 2016-02-29
@uvelichitel

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.

W
werw, 2016-02-29
@werw

Everything flows, everything changes....
Nginx is quite perfect.
Unless it makes sense to look at Cowboy to increase your own skills

Z
zooks, 2016-02-29
@zooks

I rarely see Cowboy. I am currently using nginx.

C
coder4web, 2016-02-29
@kinozol

There is no profit, naked hype.

D
Dimonchik, 2016-02-29
@dimonchik2013

gwan.com has also been updated this year, for the first time in five years,
but no one in their right mind will put it in production, even according to statics, nginx with its bundles has registered for a long time

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question