My development machine is a MacBook (which of course has kqueue). However, in production we use Linux (which, of course, uses epoll). Obviously, to know the performance characteristics of my code, I need to run it with epoll. However, is the performance that I see under kqueue a worthy approximation of what I will see with epoll? Or are there situations where productivity can be significantly different? For the most part, it seems that kqueue and epoll are pretty much similar in terms of performance, but I really didn’t check very carefully.
If that matters, I use tornadoes in Python.
source share