Re: [dev] [quark] Performance issues

2019-09-24 Thread Laslo Hunhold
On Tue, 24 Sep 2019 21:33:03 +0200 Hiltjo Posthuma wrote: Dear Hiltjo, > > 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,

Re: [dev] [quark] Performance issues

2019-09-24 Thread Laslo Hunhold
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 > diffe

Re: [dev] [quark] Performance issues

2019-09-24 Thread Laslo Hunhold
On Tue, 24 Sep 2019 21:16:05 +0200 Hiltjo Posthuma wrote: Dear Hiltjo, > Sorry to go a bit off-topic here, but I quickly tested and reviewed > the CGI patch. This CGI patch is broken. A basic `quark -h 127.0.0.1 > -p 8080` serving some page always returns HTTP 400 "Bad request". > > A few bound

Re: [dev] [quark] Performance issues

2019-09-24 Thread Laslo Hunhold
On Tue, 24 Sep 2019 11:17:09 -0700 Anselm Garbe wrote: Dear Anselm, > The issue is, there are enough http servers, but most of them are > designed as daemons. As you say, quark could become a nice alternative > for drop-in purporses. For this it is currently too feature rich > however. I would s

Re: [dev] [quark] Performance issues

2019-09-24 Thread Hiltjo Posthuma
On Tue, Sep 24, 2019 at 10:58:29AM +0200, Laslo Hunhold wrote: > On Mon, 23 Sep 2019 13:07:47 -0700 > Anselm Garbe wrote: > > Dear Anselm, Dear Richard, > > > Thanks for doing that and letting me know. So the reason you see this > > performance penalty in contrast to the other web servers you me

Re: [dev] [quark] Performance issues

2019-09-24 Thread Hiltjo Posthuma
On Tue, Sep 24, 2019 at 07:58:01PM +0200, maillists.rul...@mailbox.org wrote: > Hi Laslo and Anselm, > > Laslo Hunhold wrote: > > On Mon, 23 Sep 2019 13:07:47 -0700 > > Anselm Garbe wrote: > > > Thanks for doing that and letting me know. So the reason you see this > > > performance penalty in co

Re: [dev] [quark] Performance issues

2019-09-24 Thread Anselm Garbe
Hi Laslo, On Tue, 24 Sep 2019 at 02:02, Laslo Hunhold wrote: > Quark is actually very lean and offers 99% of the features you would > expect for a static server. I personally am a big fan of OpenBSD's > httpd and will use it on the server I am currently setting up. > > I see quark's role more lik

Re: [dev] [quark] Performance issues

2019-09-24 Thread maillists . rulmer
Hi Laslo and Anselm, Laslo Hunhold wrote: > On Mon, 23 Sep 2019 13:07:47 -0700 > Anselm Garbe wrote: > > Thanks for doing that and letting me know. So the reason you see this > > performance penalty in contrast to the other web servers you mention > > is, that quark is a fork() based web server

Re: [dev] [quark] Performance issues

2019-09-24 Thread Laslo Hunhold
On Mon, 23 Sep 2019 13:07:47 -0700 Anselm Garbe wrote: Dear Anselm, Dear Richard, > Thanks for doing that and letting me know. So the reason you see this > performance penalty in contrast to the other web servers you mention > is, that quark is a fork() based web server (and current HEAD is stil