3 ms·
It's Linux only apparently. Is it the use of some Linux only kernel API that enables it to be slightly faster than the other frameworks?
by Flow 6y ago
It's Linux only apparently.
Is it the use of some Linux only kernel API that enables it to be slightly faster than the other frameworks?
- matt42 6y agoIt is linux only because it's based on epoll. It could be easily ported to macos and windows but my focus was to get the performances right first.
- jeremyjh 6y agoThere are still a lot of people who develop on MacOS and deploy on linux, so a kqueue port would be valuable even if it were not as well tuned.
- matt42 6y agoa kqueue port should be ok. I'll add an issue for it.
- giancarlostoro 6y agoOne could argue if it works on WSL then it works on Windows for development use cases to deploy on Linux.
- hinkley 6y agoThere are a few libraries that wrap epoll and friends to work more cross platform. How widely do you use it? Everywhere? A few spots?
- matt42 6y agoThe epoll code use is very small, few hundreds of LOC (but is at the very center of the framework since it runs the event loop), actually writing it from scratch was better to understand the mechanism, to optimize it and to adapt it for non blocking sql.