Latency

Reduce delay in software systems

Cover of Latency

EPUB · English

Price and availability

EPUB eBookUS store

$67.99

Sign in to buy

You’ll review your order and final price before payment.

Download from your library after delivery. Protected eBooks need a compatible reading app.

For personal use under the eBook licence.

Territorial availability

Available in: Andorra, Austria, Australia, Belgium, Bulgaria, Canada, Switzerland, Cyprus, Czechia, Germany, Denmark, Estonia, Spain, Finland, France, United Kingdom, Guernsey, Greece, Croatia, Hungary, Ireland, Isle of Man, Iceland, Italy, Jersey, Japan, Liechtenstein, Lithuania, Luxembourg, Latvia, Monaco, Malta, Netherlands, Norway, Poland, Portugal, Romania, Sweden, Slovenia, Slovakia, San Marino, United States, Vatican City, South Africa

Publisher rights cover these stores: US, UK, Canada, EU, Australia. Checkout availability is shown above.

Format
EPUB
DRM
Not stated by the publisher
Language
English
Publisher
Manning
Published
25 November 2025
ISBN
9781638357957
Subjects
Mainframes & minicomputers, Computer programming / software development, Algorithms & data structures, Web programming, Software Engineering, Systems analysis & design, Computer architecture & logic design, Mainframes and minicomputers, Computer programming / software engineering, Algorithms and data structures, Web programming, Software Engineering, Systems analysis and design, Computer architecture and logic design

About this book

Practical techniques for delivering low latency software.From first principles to production-ready code, Latency teaches you how to make your software faster at every layer of the stack. Youll learn what latency really is, how it differs from bandwidth, and why it matters for user experience. Then, guided by practical examples, youll apply Littles Law, design lock-free algorithms, and architect caching systems that scale. Youll discover how your code runs differently on distributed systems, databases, and operating systems, and understand the common latency-causing issues in each situation.In Latency youll learn how to:Define latency, distinguish it from bandwidth, and understand its impact on user experienceModel performance with Littles Law and Amdahls Law, then measure and visualize delaysOptimize data access with colocation, replication, partitioning, and cachingAccelerate logic with algorithmic improvements, memory tuning, and lock-free concurrencyMinimize delays with asynchronous processing, predictive techniques, and speculative executionPut simply, latency is the delay between a cause and effect. In practice, too much latency can create problems throughout a software system, ranging from inaccurate calculations and timeouts to impatient users simply abandoning your applications. Latency issues can be challenging to avoid and troubleshoot. This book balances theory with practical implementations, turning academic research into useful techniques you can apply to your projects.About the technologyFrom lost microseconds routing server messages to page loads that keep users waiting, latency can kill good software. This one-of-a-kind book shows you how to spot, understand, and fix unwanted latency in your applications and infrastructure.About the bookLatency: Reduce delay in software systems shows you how to troubleshoot latency in existing applications and create low latency systems from the ground up. In it, youll discover high-impact fixes for measuring latency and advanced optimizations in memory management, concurrency models, and predictive execution. The tips and tricks, hands-on projects, and personal insights make this book as enjoyable as it is practical.What's insideHow to model and measure latencyOrganizing application data for low latencyAccelerating your codeHiding latencyAbout the readerFor software engineers with a working knowledge of backends. Examples in Rust.About the authorPekka Enberg has experience in operating systems, databases, and distributed systems, having worked on the Linux kernel and the Scylla and Turso databases.Table of ContentsPart 11 Introduction2 Modeling and measuring latencyPart 23 Colocation4 Replication5 Partitioning6 CachingPart 37 Eliminating work8 Wait-free synchronization9 Exploiting concurrencyPart 410 Asynchronous processing11 Predictive techniquesA Further reading

Bibliographic data © Gardners Books Ltd.