On Tue, 24 Sep 2019 19:58:01 +0200 maillists.rul...@mailbox.org wrote: Dear Richard,
> Thanks for your assessments! I think you've hit the nail on the head. > I got my initial test results on an OpenBSD machine. I tested the > golang server and quark again on a Linux machine today and the > difference is much less pronounced: > > quark (Linux): 14494 requests/second > golang (Linux): 16601 requests/second > > As you'd expect the difference also declines when the requested file > is larger. With an index.html, that is 1MiB in size I got these > results: > > quark (OpenBSD; 1MiB index.html): 160 requests/second > golang (OpenBSD; 1MiB index.html): 198 requests/second yes, that looks more like it. Thanks for testing it out! > Thanks for the insight! I was thinking about using quark instead of > OpenBSD's httpd, because it simpler to use and probably even more > secure. I think ~1000 requests/second is still plenty for all my > projects, but in case I need the extra performance some day, I know > what the bottleneck is. OpenBSD's httpd is a very fine piece of software and I see it as the golden standard, also with regard to security. In a way it is also more consistent being based on relayd(8) and pf(4). With best regards Laslo