3 ms·
How is it different from Netty [1] / Reactor [2] ? [1] http://netty.io http://netty.io [2] http://projectreactor.io http://projectreactor.io
by crudbug 11y ago
How is it different from Netty [1] / Reactor [2] ?
[1] http://netty.io http://netty.io
[2] http://projectreactor.io http://projectreactor.io
- xedin 11y agoIt uses Thread-Per-Core architecture where Netty/Reactor use thread-pools to process work and have dedicated threads for selecting from network.
- crudbug 11y agoSo CPU affinity provides further optimization ? I am thinking less context switches. [1] http://conferences.sigcomm.org/imc/2010/papers/p218.pdf http://conferences.sigcomm.org/imc/2010/papers/p218.pdf
- xedin 11y agoYes, exactly since it allows for fewer context switches and cache locality not only for the network packets but for disk I/O as well.