Reading Architecture of Open Source Applications chapter on nginx:

It references Kegel's C10K page, which, several years ago, was the spark that led to understanding many of the layers below the code I wrote, leading to a wealth of knowledge on topics like non-blocking IO with select/poll/epoll, TCP corking, TCP no delay, and fun Linux syscalls like sendfile, readv/writev, and so much more.

It was a great reference at the time.


A lot of the chapters in AoSA discuss dealing with disk IO a lot.

Optimising a web server (or any multi-threaded system) for the disks you have is crucial, and not a thing you can hand-wave and ignore, as often happens now in the containerised world as these things get abstracted away even further from the developer.

It will eventually result in performance cancer.

· · Web · 0 · 0 · 0
Sign in to participate in the conversation
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!