Re: [dev] [quark] Performance issues

From: Laslo Hunhold <dev_AT_frign.de>
Date: Wed, 25 Sep 2019 08:25:29 +0200

On Tue, 24 Sep 2019 19:58:01 +0200
maillists.rulmer_AT_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
Received on Wed Sep 25 2019 - 08:25:29 CEST

This archive was generated by hypermail 2.3.0 : Wed Sep 25 2019 - 08:36:09 CEST