|
|
|
|
|
by onlydnaq
1634 days ago
|
|
Without having looked into it too deeply I feel that they are somewhat “cheating” by using a superserver to launch a new process for each connection, thus letting the OS handle the dynamic allocation needed for each connection. Still pretty impressive project. Would be fun to take a deeper look at it at some point. |
|
This is what PHK did when designing Varnish (IIRC): instead of dealing with lots of files on its own (like Squid), just create some files and do a malloc() on them and let the OS do the work:
* https://varnish-cache.org/docs/trunk/phk/notes.html
One discussion (many others):
* https://news.ycombinator.com/item?id=4874304