epoll(7) Event Demux
Replaced standard select(2)/poll(2) with epoll to manage massive concurrent client file descriptors at O(1) efficiency.
A custom low-latency client-server networking service engineered in C, leveraging Linux kernel primitives for high-concurrency event loops.
View RepositoryCore Stack
I/O Multiplexing
Linux epoll(7)
Security
AES Packet Cipher
Target Platform
UNIX / Linux

Context
The objective was to architect a custom client-server system using modern UNIX kernel primitives. The server needed to maximize throughput and handle hundreds of simultaneous connections with negligible resource overhead.
To avoid the O(N) performance degradation inherent to legacy syscalls like select(2) and poll(2), the event dispatch loop was constructed directly around epoll(7). Simultaneously, symmetric AES packet encryption was integrated to ensure data integrity and confidentiality across nodes.
Engineering
Replaced standard select(2)/poll(2) with epoll to manage massive concurrent client file descriptors at O(1) efficiency.
Secured communication pipelines by encrypting packet payloads with AES, preventing eavesdropping over raw TCP connections.
Decoupled client-side packet parsing, network ingestion, and transmission across dedicated workers for lower latency.
Topology
The client runtime focuses on portability and bounded memory. While currently compiled for UNIX environments, the communication pipelines are abstracted into lightweight threads that isolate packet queuing from terminal rendering.
Driven entirely by Linux edge-triggered notifications, the core server handles connection handshakes, dynamic client indexing, and instant packet fan-outs without spawning thread-per-connection bottlenecks.