shopozor / services

Micro-services building up the Shopozor software.
6 stars 0 forks source link

Evaluate caddy server #9

Open zadigus opened 4 years ago

zadigus commented 4 years ago

It might be a good idea to switch the nginx proxy server with a caddyserver. We need to know the pros and cons for both servers.

shikamu commented 4 years ago

It's difficult to assess the performance without doing our own benchmark and since we don't have a running site yet it's very challenging.

So far I was able to look at various benchmarks on the internet and it seems that performance wise, nginx and caddy are very close.

What people seem to say about caddy is that the configuration is much much simpler than that of nginx. Caddy supports "HTTPS by default" out of the box and takes care of renewing the certificates automatically, it's the only browser at the moment that does that.

The philosophy of Caddy is to serve the web as it should be in our modern era and not in a traditional way, e.g. it supports http2, https by default, little configuration needed, hassle free deployment, ...

I believe it would be a good idea to give caddy a try for the projet.

zadigus commented 4 years ago

https://github.com/shopozor/backend/issues/61

zadigus commented 4 years ago

@shikamu nothing speaks against you creating a jelastic environment with the default nodejs application server and whatever reverse proxy server you want. That way, you can already test a lot of stuff, you don't necessarily need our app. The default server is a painting application. You can, however, deploy any application you like there instead.