From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mimir.eigenstate.org ([206.124.132.107]) by ewsd; Wed Jul 15 15:10:31 EDT 2020 Received: from abbatoir.fios-router.home (pool-74-101-2-6.nycmny.fios.verizon.net [74.101.2.6]) by mimir.eigenstate.org (OpenSMTPD) with ESMTPSA id c32bbd68 (TLSv1.2:ECDHE-RSA-AES256-SHA:256:NO); Wed, 15 Jul 2020 12:10:22 -0700 (PDT) Message-ID: <69616F4D075059A4B16C014B87A61F6D@eigenstate.org> To: gunnells@gmail.com, 9front@9front.org Subject: Re: [9front] drawterm stuck Date: Wed, 15 Jul 2020 12:10:20 -0700 From: ori@eigenstate.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: immutable wrapper high-performance browser > For such genius and beautiful OS why a slow web server. It kind of doesn’t > make sense. Let me know if I’m missing something. Even if its file based > shouldn’t there be some level of speed. Like hash tables seem to be > extremely fast for lookup. Is it because they wrote httpd in one or two days? Because it doesn't need to be fast -- at least for what the people using it seem to need-- and given a choice between "simple, fast enough to do the job", and "a ton of complexity spent on optimization", the former is almost always the preference of the plan 9 community. > Would it be better to have httpd dedicated to its own CPU and serve other files > somewhere else. Serve files on a beefy server. Or am I thinking about that wrong. > Should httpd be together? How does that work? Latency hurts 9p. Probably doesn't matter if the file server is nearby, but you don't want to put it across the internt. > I realize I have a lot to re-learn about this. But I’m very interested. > > Surely this should be faster than some python based Django server running gunicorn? Probably. If you care, should be easy enough to point one of the many benchamrks out there at it, and see.