Skip to main content

Latency. Reduce delay in software systems

0h 0m 0s
English
Paid

Unlock the full potential of your software systems by minimizing latency. This comprehensive guide equips you with practical methods to accelerate software from foundational principles to production-level code, enhancing every layer of the technology stack. Understand what latency means, how it differs from throughput, and its direct impact on user experience. Through practical examples, you'll explore Little's Law, develop lock-free algorithms, and build scalable caching systems, gaining insight into how code behavior shifts across distributed systems, databases, and operating systems, while identifying typical sources of latency in each.

What You Will Learn

By diving into this book, you'll acquire the skills to:

  • Accurately determine latency: Differentiate it from bandwidth and evaluate its impact on user experience (UX).
  • Model performance: Use Little's Law and Amdahl's Law to measure and visualize delays effectively.
  • Optimize data access: Enhance performance through colocation, replication, partitioning, and scalable caching strategies.
  • Accelerate computations: Implement algorithmic optimizations, refine memory usage, and utilize lock-free concurrent structures.
  • Minimize delays: Apply asynchronous processing, predictive methods, and speculative execution to streamline operations.

Understanding Latency

Latency refers to the delay between cause and effect. Excessive latency can lead to significant issues such as incorrect computational results, timeouts, and user dissatisfaction, potentially driving users away from the application. Diagnosing and eliminating delays can be daunting. This book bridges fundamental concepts with practical techniques, transforming research findings into immediately applicable tools.

About the Technology

From the loss of microseconds in message routing to prolonged page loading times, latency can undermine even the most high-quality software solutions. This book guides you through identifying, understanding, and eliminating delays in both applications and infrastructure, ensuring optimal software performance.

About the Author: Pekka Enberg

Pekka Enberg thumbnail
Pekka Enberg is an experienced software engineer specializing in operating systems, databases, and distributed systems, with a scientific interest in low-latency network systems. Over the years, he has worked on the Linux kernel as a maintainer of the dynamic memory allocation subsystem and participated in the development of ScyllaDB—a high-performance distributed database compatible with Apache Cassandra and focused on minimal latencies. Currently, Pekka is the co-founder and CTO of Turso.

Books

Read Book Latency. Reduce delay in software systems

#Title
1Latency