DmitryOlshansky / photon

Photon - an experimental transparent Fiber scheduler and event-loop for DLang
Boost Software License 1.0
37 stars 3 forks source link

Fast network interface with io_uring #10

Open DmitryOlshansky opened 6 years ago

DmitryOlshansky commented 6 years ago

If anything Wekka.io proves that in order to maximize performance one has to go as low to the metal as possible.

Photon is not exactly in the same league but I believe I can get quite far ahead while still staying on top of kernel support.

http://man7.org/linux/man-pages/man7/packet.7.html

Datagram protocols should be more or less easy. TCP is something to avoid for the time being.

DmitryOlshansky commented 1 year ago

This should now be updated to use io_uring

DmitryOlshansky commented 1 year ago

https://developers.redhat.com/articles/2023/04/12/why-you-should-use-iouring-network-io

DmitryOlshansky commented 4 months ago

Now this is going to use the same API as RIO Sockets on Windows. So we should decide at startup how many sockets and how much memory we are going to use. This needs buffer pool manager (allocator)