A Simple UDP-Based Web Server on a Bare PC with 64-bit Multicore Processors: Design and Implementation
Navid Ordouie, Ramesh K. Karne, Alexander L. Wijesinha, Nirmala Soundararajan · 2023
Most Web transfers use TCP, notable exceptions being those that use HTTP/3 over QUIC and CoAP in the IoT, which require UDP. The latter protocols are complex because they provide essential functionality for real-world Web applications. We describe the design and implementation of a UDP-based simple Web server that runs on a bare PC with 64-bit multicore processors. Previously, we built UDP and TCP-based bare PC Web servers that run on 32-bit and 64-bit multicore processors respectively. The present design improves, modifies, and integrates the previous designs. We compare delays for designs with and without a last ack by capturing a single HTTP request and reply between the Web server and a client connected through an Ethernet hub. This work is a first step towards building robust and scalable bare PC Web servers that can transfer data efficiently and securely to browser applications in the real-world.