Systems
Multi-threaded TCP Server Competition
A team-built C and pthreads server for prioritized requests under load, awarded first place among 30+ groups in a DTU course challenge.
- Year
- 2024
- Role
- Operating systems course team
- Built with
- C · POSIX threads · TCP · Hash maps · Scheduling
At the Technical University of Denmark, my group built a TCP server for an operating systems course competition. The challenge was to process hash-related requests efficiently under heavy load while respecting request priorities.
Our implementation used POSIX threads, mutexes, priority estimation, and a hash map for reusing computed results. It placed first among more than 30 groups.
Technical Work
- Thread-safe request handling with
pthreads. - Priority-aware scheduling under load.
- Reuse of previously computed results.
- Synchronization around shared state.