News for hackers. Stuff that matters.
Re:Cherokee Webserver, "The Fastest", Really? by getsat on Sunday March 13, 2011 @05:29AM (#2318803)
I care more about concurrency than "speed". nginx is better at concurrency than Cherokee and most other webservers. Oh well.
Re:Cherokee Webserver, "The Fastest", Really? by raz0r on Sunday March 13, 2011 @05:35AM (#2318811)
How is nginx' concurrency achieved? Does it use something like libev/libevent ?
Re:Cherokee Webserver, "The Fastest", Really? by FooBarWidget on Sunday March 13, 2011 @06:33AM (#2318906)
Nginx has an evented I/O architecture. libev/libevent implement evented I/O but evented architectures have got nothing to do with libev/libevent per se.
Re:Cherokee Webserver, "The Fastest", Really? by piotrSikora on Sunday March 13, 2011 @06:43AM (#2318916)
nginx uses native evented I/O provided by the operating system (epoll on Linux, kqueue on *BSD, /dev/poll and event ports on Solaris, input/output completion port on Windows).

libevent and libev provide abstraction layer for those mechanisms and unified interface for all supported operating systems.

Re:Cherokee Webserver, "The Fastest", Really? by deno on Sunday March 13, 2011 @07:05AM (#2318948)
> native evented I/O API provided by operating system

I know it's just semantics but I recently learned that some people actually believe that synchronous I/O API provided by OS is actually… well synchronous I/O. Obviously there cannot be any synchronous I/O going on in any modern operating system.