{"product_id":"network-socket-programming-building-high-performance-servers-and-client-applications-on-linux-9798248144341","title":"Network Socket Programming: Building High-Performance Servers and Client Applications on Linux","description":"\u003cp\u003e • Author(s): Nathan Colevar\u003cbr\u003e • Publisher: Independently Published\u003cbr\u003e • Publisher Imprint: Independently Published\u003cbr\u003e • BISAC: System Administration - Linux \u0026amp; UNIX Administration\u003c\/p\u003e\u003cp\u003e\u003c\/p\u003e\u003cp\u003e\u003cb\u003eMaster the Machinery of the Internet: A Deep Dive into Linux Kernel Networking and Server Architecture\u003c\/b\u003e\u003c\/p\u003e\u003cp\u003eNetwork programming is often taught as a simple sequence of function calls. A student learns to create a socket, bind it to a port, and accept a client. In a controlled environment, this works flawlessly. In a hostile production environment, it fails.\u003c\/p\u003e\u003cp\u003eReal-world networks are unpredictable. Latency varies, packets are lost, and clients disappear without warning. If you want to build a server that rivals Nginx or a data store that performs like Redis, you need more than a superficial understanding of the API. You need to master the underlying architecture of the Linux operating system.\u003c\/p\u003e\u003cp\u003e\u003cb\u003eNetwork Socket Programming\u003c\/b\u003e is written for the developer who has moved beyond \"Hello World\" and is ready to tackle the engineering challenges of building robust, high-performance systems. This book bridges the gap between basic syntax and enterprise-scale architecture, stripping away the abstractions to reveal the mechanics of the TCP\/IP stack.\u003c\/p\u003e\u003cp\u003e\u003cb\u003eKey Topics Covered: \u003c\/b\u003e\u003c\/p\u003e\u003cul\u003e\n\u003cli\u003e\u003cp\u003e\u003cb\u003eThe Kernel-User Boundary: \u003c\/b\u003e Understand the true cost of system calls, context switches, and memory copying. Learn how to minimize overhead using advanced buffering strategies.\u003c\/p\u003e\u003c\/li\u003e\n\u003cli\u003e\u003cp\u003e\u003cb\u003eConcurrency at Scale: \u003c\/b\u003e Rigorous analysis of I\/O models. Move from blocking I\/O and process-forking to multi-threading, and finally to the massive scalability of I\/O Multiplexing with epoll.\u003c\/p\u003e\u003c\/li\u003e\n\u003cli\u003e\u003cp\u003e\u003cb\u003eEvent-Driven Architecture: \u003c\/b\u003e Build a non-blocking event loop from scratch. Master Edge-Triggered notifications, timer management, and signal integration to handle the C10K problem and beyond.\u003c\/p\u003e\u003c\/li\u003e\n\u003cli\u003e\u003cp\u003e\u003cb\u003ePerformance Tuning: \u003c\/b\u003e Optimize the TCP stack using socket options. Resolve the conflict between Nagle's Algorithm and Delayed ACKs, tune buffer sizes for bandwidth-delay products, and implement keepalives that actually work.\u003c\/p\u003e\u003c\/li\u003e\n\u003cli\u003e\u003cp\u003e\u003cb\u003eZero-Copy Data Transfer: \u003c\/b\u003e Eliminate the middleman. Use sendfile, splice, and mmap to move gigabytes of data directly from disk to network without touching user-space memory.\u003c\/p\u003e\u003c\/li\u003e\n\u003cli\u003e\u003cp\u003e\u003cb\u003eProduction Readiness: \u003c\/b\u003e Implement defensive programming to handle malformed packets, prevent file descriptor leaks, and secure your connections with OpenSSL.\u003c\/p\u003e\u003c\/li\u003e\n\u003cli\u003e\u003cp\u003e\u003cb\u003eFuture Technologies: \u003c\/b\u003e Explore the cutting edge of Linux networking, including true asynchronous I\/O with io_uring, packet filtering with eBPF\/XDP, and the shift to UDP-based HTTP\/3 with QUIC.\u003c\/p\u003e\u003c\/li\u003e\n\u003c\/ul\u003e\u003cp\u003e\u003cbr\u003eThis is not a book of scripts; it is a guide to resource management. It teaches you how to manage CPU cycles, memory pages, and bandwidth efficiently. Whether you are writing a high-frequency trading platform, a custom proxy, or simply want to understand the machinery of the internet, this book provides the engineering decisions required for real-world scale.\u003c\/p\u003e","brand":"Independently Published","offers":[{"title":"Paperback","offer_id":47593626402967,"sku":"9798248144341","price":1613.0,"currency_code":"INR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0666\/3471\/1191\/files\/9798248144341.webp?v=1774982715","url":"https:\/\/atlanticbooks.com\/products\/network-socket-programming-building-high-performance-servers-and-client-applications-on-linux-9798248144341","provider":"Atlantic Books","version":"1.0","type":"link"}