uSockets
uSockets copied to clipboard
QUESTION: Keep Epoll But Add Uring + KTLS for 0-RTT Session Resumption
WITH_IOURING=1 WITH_EPOLL=1
TODO!!: Remember to come back to this AHMED!!! The issue message is incomplete
Currently you guys can either have a WITH_IOURING=1 or WITH_EPOLL=1
But Liburing is an async kernel-level library eliminating syscalls (kinda)
And Epoll reads/write file descriptors (still having to do a syscall ye, Epoll just says "your data is ready + banana fungi")
Epoll
Does TLS handshake boom
Uring
Once SessionTickets are received by the client, then we push to KTLS (either via OpenSSL, or create BoringSSL wrappers) for zero-copy uring buffers with TLS (priv,pub keys moved to kernel).
Then the Session Resumption mechanism will be done solely via kernel zero-copy