Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How about the performance vs nginx? #60

Closed
lunny opened this issue May 7, 2015 · 1 comment
Closed

How about the performance vs nginx? #60

lunny opened this issue May 7, 2015 · 1 comment
Labels
question ❔ Help is being requested

Comments

@lunny
Copy link

lunny commented May 7, 2015

It's a new great product about Golang. But I want to know how about the proformance with nginx?

@mholt mholt added the question ❔ Help is being requested label May 7, 2015
@mholt
Copy link
Member

mholt commented May 7, 2015

That's ultimately for you to decide. Web servers are complex enough that benchmarks measure configuration and the host system itself more than code performance. That is, for benchmarks which measure req/sec.

There are unit-level benchmarks which are much more telling, but these can be less useful when you want the big picture.

However, because this is a common question, I've published some very unscientific benchmarks on the FAQ page (near the bottom). I've repeated the tests with a few differences every time and the results on my system are fairly consistent: Caddy and nginx are comparable in speed, although nginx is a little faster. This is expected. Caddy is fast enough for most sites, and with time, Caddy can be made faster with internal tuning.

We'd welcome any contributions to improve Caddy's performance!

@mholt mholt closed this as completed May 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question ❔ Help is being requested
Projects
None yet
Development

No branches or pull requests

2 participants