A high-performance HTTP/1.1 web server built from scratch in Java using raw sockets and thread pooling.
- Multi-threaded architecture with thread pool (10 workers)
- HTTP/1.1 protocol implementation from scratch
- Static file serving (HTML, CSS, JS, images)
- Handles 50+ concurrent connections
- 100% success rate, 188+ requests/second
- Complete error handling (404, 400, 403, 405)
- Throughput: 188.68 requests/second
- Success Rate: 100% (50/50 requests)
- Average Response: 5ms per request
- Total Time: 265ms for 50 concurrent requests
javac SimpleWebServer.java RequestHandler.javajava SimpleWebServerVisit: http://localhost:8080
javac LoadTest.java
java LoadTest- Socket Programming: Raw TCP/IP sockets
- Multi-threading: ExecutorService with fixed thread pool
- HTTP Parsing: Manual request/response handling
- Concurrency: Thread-safe request processing
- Security: Directory traversal protection
Jayanth Sadurla
- Email: sadurlajayanth@gmail.com
- Portfolio: sadurlajayanth.me