uSockets icon indicating copy to clipboard operation
uSockets copied to clipboard

QUESTION: Keep Epoll But Add Uring + KTLS for 0-RTT Session Resumption

Open Gibgoyt opened this issue 2 months ago • 0 comments

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

Maybe I am just really really retarded???

Gibgoyt avatar Oct 29 '25 14:10 Gibgoyt