Comparativa de precios
-
Amazon
Mejor opción
22,84 € Envío gratisTotal 22,84 € 2 días
Compras directamente en la tienda oficial, al mismo precio que yendo por tu cuenta. Los precios y la disponibilidad pueden variar; cada oferta indica cuándo se consultó su precio si no es reciente.
Sobre este libro
Imagine this: You’ve built a new API. It works perfectly on your laptop. You deploy it to production, and for a while, everything is fine. But then, a marketing campaign goes viral. Suddenly, 50,000 users try to connect at once. Your dashboard lights up red. Latency jumps from 10ms to 5 seconds. The server becomes unresponsive, even though CPU usage is only at 40%. You restart the service, but it crashes again immediately. You throw more hardware at the problem—doubling the RAM, doubling the cores—but the performance barely budges. Why? Because your server is fighting the Operating System. Every time your code calls read(), it puts a thread to sleep. Every time it wakes up, the kernel has to save and restore registers, flush caches, and update the scheduler. Multiplied by 50,000 connections, your powerful server is dying the death of a thousand cuts. This book is the story of how you fix that. It’s the journey from the naive "Thread-per-Connection" model to the sophisticated "Shared-Nothing, Thread-per-Core" architecture used by the world's fastest databases and proxies. It’s about stopping the fight with the kernel and starting a partnership with it. What's Inside This comprehensive guide takes you through the full stack of high-performance computing: The Cost of Waiting: A deep dive into the physics of a context switch and why blocking I/O is the enemy of speed. The Evolution of Multiplexing: Understanding why select and poll failed, and how epoll changed the game by using Red-Black Trees to manage millions of idle connections efficiently. Zero-Copy Architectures: How to use sendfile, splice, and mmap to move gigabytes of data from disk to network without the CPU ever touching a single byte. The io_uring Revolution: A complete guide to the new kernel interface that renders epoll obsolete, allowing you to batch thousands of system calls into a single ring-buffer submission. Concurrency without Locks: How to architect Thread-per-Core systems using lock-free data structures (MPSC queues) and userspace "Green Threads" to avoid the heavy cost of kernel scheduling. Network Tuning: Optimizing the TCP/IP stack with TCP Fast Open, handling SYN Floods, and bypassing the kernel entirely with XDP/eBPF for packet filtering. Resilience Patterns: Implementing Backpressure to prevent memory explosions, using Hashed Timing Wheels for managing 100,000 timers efficiently, and handling Graceful Shutdowns without data loss. Production Observability: Using strace to find system call spam, perf to analyze CPU cache misses, and eBPF to visualize latency histograms in real-time. Who It's Meant For Backend Engineers who want to move beyond high-level frameworks and understand the mechanics of the systems they rely on (Nginx, Redis, Node.js). C/C++/Rust Developers building latency-critical applications like game servers, trading engines, or database proxies. DevOps and SREs who need to tune Linux kernels for extreme workloads and debug elusive performance issues in production. Computer Science Students looking for a practical, code-heavy application of Operating System theory. Prerequisites: A basic understanding of C or C++ and familiarity with Unix/Linux command-line tools. The difference between a good server and a great server is often just a few microseconds multiplied by a billion requests. Don't let your code wait in line. Stop blocking. Stop copying. Stop wasting cycles. Pick up Mastering Asynchronous Linux today and unlock the true potential of your hardware.