Multithreaded Concurrent Server
C - POSIX Threads - Sockets - Concurrency
A thread-pool TCP server in C handling concurrent read/write requests with data consistency guarantees.
Built a multithreaded TCP server in C from scratch, using a thread-pool architecture to manage connection load and supporting concurrent client connections, with mutexes and reader-writer locks for safe shared-state access and to prevent race conditions.
Implemented the client-server message protocol over POSIX sockets with custom message parsing and timing instrumentation for throughput measurement.
Validated correctness using an adversarial "attacker" client designed to expose race conditions and data consistency violations under load.