Am 11.02.2014 15:30, schrieb Rikki Cattermole:

Would it be possible for you to make a tutorial on this? It might be possible to nail down what is different in our setups.

What I'm using to test locally is the bench-http-server example in the
vibe.d package, built using dub -b release.

Windows is yielding similar results for me with this approach (around
5.9 kreq/s on my Laptop). On Linux (Mint Linux, 64-bit, latest version),
using the bench-http-request example to perform the requests performs
quite poorly (around 3 kreq/s if I remember right), but using ab -n <br>100000 -c 100 -k http://127.0.0.1:8080/empty yields about 15 kreq/s.

I didn't test using a remote machine to generate the requests, but in
earlier tests with a powerful enough client machine and a GbE
connection, this was about four times faster than locally.

Unfortunately, my Linux tests were on a different machine than those
done earlier, so I can't say right now if the performance has improved
or declined since then. I'll look into why the bench-http-request
example is so slow on Linux, though.