/tech/ - Technology

A Technical Place

Posting mode: Reply

Check to confirm you're not a robot
Name
Email
Subject
Comment
Password
Drawing x size canvas
File(s)

Remember to follow the rules

Max file size: 350.00 MB

Max files: 5

Max message length: 4096

Manage Board | Moderate Thread

Return | Catalog | Bottom

Expand All Images


Web servers/ async programming Anonymous 08/23/2017 (Wed) 15:48:45 [Preview] No. 10881
I've been practicing network programming lately and was reading about the different web servers, how they work and so on.
I was wondering how Windows and windows based web servers perform compared to Linux since it has no epoll/kqueue. It turned out it has I/O Completion Ports. Then I searched for web server benchmark comparisons but there were no credible ones. Why has nobody compared these products yet?

>https://www.rootusers.com/linux-vs-windows-web-server-benchmarks/
This one implies that IIS outperforms nginx in every way and if that is true I want to know how it does that.

>http://gwan.com/benchmark
This one implies that g-wan is the fastest one (obviously, it's their product, therefore isn't a credible source).

>https://www.webperformance.com/load-testing-tools/blog/2011/11/what-is-the-fastest-webserver/
That one also shills for IIS, but it's probably fake since the author doesn't mention anything about hardware or server configuration.

So my questions are:
- Does Windows' IOCP perform better than epoll/kqueue and if so - why? And why don't we implement it for *nix?
- Does IIS outperform nginx/apache and if so - how does it do it and is it related to the IOCP?

I cannot find credible sources and I hope someone here has more experience than me.

Some interesting reads I came across:
http://kegel.com/c10k.html -
http://bulk.fefe.de/scalability/ - FreeBSD/OpenBSD/NetBSD/Linux(2.4, 2.6) benchmark (quite old)

>inb4 windows is closed source botnet


Anonymous 08/24/2017 (Thu) 01:04:38 [Preview] No. 10884 del
I don't have enough knowledge about http servers to answer you. But, I don't think performance is the only thing that matters.
And, it's also affected by many other configurations, such as where your cache is being written (this will depend on your disk write speed and your filesystem).
Open source unix-based systems have more flexibility to work with. You can compile linux, for example, to the bare minimum to work with and the resource usage will be trivial. Not like windows, where you can't disable low level stuff and need to have useless memory usage.
Morpheus with rwasa, for example, will give you very good performance:
https://2ton.com.au/rwasa/
http://morpheus.2f30.org/

Or, use NuttX. It's a realtime OS, and has it's on http server on base system:
http://www.nuttx.org/


Anonymous 03/25/2018 (Sun) 17:09:49 [Preview] No.12528 del
>>10881

>I searched for web server benchmark comparisons

There's always AWS. You can trust some biased BS someone tells you online, or you can test your setup yourself.



Top | Return | Catalog | Post a reply