single threaded web servers

single threaded web servers

Baruch Siach baruch at tkos.co.il
Tue Jun 28 16:39:38 IDT 2016


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.

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 -



More information about the Linux-il mailing list