single threaded web servers

single threaded web servers

Erez D erez0001 at gmail.com
Tue Jun 28 17:18:41 IDT 2016


On Tue, Jun 28, 2016 at 4:39 PM, Baruch Siach <baruch at tkos.co.il> wrote:

> Hi Erez,
>
> On Tue, Jun 28, 2016 at 11:04:49AM +0300, Erez D wrote:
> > i tried searching the web but got no result
> >
> > what web servers other than node.js are single threaded ?
>
> nginx uses one single threaded process per CPU core to handle HTTP requests
> (
> https://www.nginx.com/blog/inside-nginx-how-we-designed-for-performance-scale/
> ).
>
> > anyone has experience with one ?
>
> Not me.
>
> > is there one in which the cgi is in c++ ?
>
> Given the nature of CGI you can write CGI programs in any language you
> like,
> as long as it can write text to standard output file descriptor.
>
correct, however in such it breaks the 'single process per thread'

>
> baruch
>
> --
>      http://baruch.siach.name/blog/                  ~. .~   Tk Open
> Systems
> =}------------------------------------------------ooO--U--Ooo------------{=
>    - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20160628/24e8f2e5/attachment.html>


More information about the Linux-il mailing list