Skip to content

Instantly share code, notes, and snippets.

@FooBarWidget
Created July 15, 2014 18:56
Show Gist options
  • Save FooBarWidget/357c3ee7ef09b8e2f2f4 to your computer and use it in GitHub Desktop.
Save FooBarWidget/357c3ee7ef09b8e2f2f4 to your computer and use it in GitHub Desktop.

The point I was trying to make is that the differences look large because it's a hello world. I understand that you're benchmarking the overhead of the servers, but that doesn't mean anything until you compare the overhead to how much time the app itself needs.

The benefit of benchmarking the network is:

  1. The overhead of the benchmarking program itself is not affecting the results.
  2. It gives you a more realistic picture, because in production environments the network delays are significant. In fact, they should be so significant that the differences between the app servers should be greatly reduced.

Therefore, using Vagrant and VMs on the local machine will not work. You really have to benchmark over a network, using another computer. In my test I grabbed another laptop. You might want to spin up an EC2 instance.

A while ago we benchmarked Unicorn vs Passenger 4 over the network. The performance is almost identical: https://code.google.com/p/phusion-passenger/issues/detail?id=956#c4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment