Latency: Reduce Delay in Software Systems
暫譯: 延遲:減少軟體系統中的延遲

Enberg, Pekka

  • 出版商: Manning
  • 出版日期: 2025-11-25
  • 售價: $2,050
  • 貴賓價: 9.5$1,948
  • 語言: 英文
  • 頁數: 264
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1633438082
  • ISBN-13: 9781633438088
  • 相關分類: 大數據 Big-data
  • 尚未上市,無法訂購

相關主題

商品描述

Practical techniques for delivering low latency software.

Slow responses can kill good software. Whether it's recovering microseconds lost while routing messages on a server or speeding up page loads that keep users waiting, finding and fixing latency can be a frustrating part of your work as a developer. This one-of-a-kind book shows you how to spot, understand, and respond to latency wherever it appears in your applications and infrastructure.

In Latency you'll learn:

- What latency is--and what it is not
- How to model and measure latency
- Organizing your application data for low latency
- Making your code run faster
- Hiding latency when you can't reduce it

Put 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 book

Latency shows you how to troubleshoot latency issues in existing systems, and how to create low latency systems from the ground up. You'll discover how your code runs differently on distributed systems, databases, and operating systems, and understand the common latency-causing issues in each situation. Hands-on projects help you apply what you learn.

You'll write a latency benchmark harness to measure and visualize latency; and use colocation, partitioning, and caching to reduce latency in a REST API. Plus, tips, tricks, and author Pekka Enberg's personal insights on latency ensure this book will remain a handy reference long after you've finished reading!

About the reader

For software engineers with a working knowledge of backends. Examples in Rust.

About the author

Pekka Enberg is a software professional with a background and experience in operating systems, databases, and distributed systems and a research interest in low-latency networked systems. In the past, Pekka has worked on the Linux kernel as a maintainer of the dynamic memory allocator subsystem and on ScyllaDB, an Apache Cassandra-compatible, distributed database focusing on low-latency and high throughput.

Get a free eBook (PDF or ePub) from Manning as well as access to the online liveBook format (and its AI assistant that will answer your questions in any language) when you purchase the print book.

商品描述(中文翻譯)

**實用技術以交付低延遲軟體。**

緩慢的回應會毀掉優秀的軟體。無論是在伺服器上路由訊息時損失的微秒,還是加速頁面加載以免讓用戶等待,找出並修復延遲可能是開發者工作中令人沮喪的一部分。這本獨特的書籍教你如何發現、理解並應對應用程式和基礎設施中出現的延遲。

在《Latency》中,你將學到:

- 什麼是延遲——以及什麼不是
- 如何建模和測量延遲
- 如何組織應用程式數據以實現低延遲
- 如何讓你的程式碼運行得更快
- 當無法減少延遲時,如何隱藏延遲

簡而言之,延遲是因果之間的延遲。在實踐中,過多的延遲會在軟體系統中造成問題,從不準確的計算和超時到不耐煩的用戶簡單地放棄你的應用程式。延遲問題可能難以避免和排除故障。本書平衡了理論與實際實施,將學術研究轉化為你可以應用於項目的有用技術。

**關於本書**

《Latency》展示了如何排除現有系統中的延遲問題,以及如何從零開始創建低延遲系統。你將發現你的程式碼在分散式系統、資料庫和作業系統上運行的不同,並理解每種情況下常見的延遲原因問題。實作專案幫助你應用所學。

你將編寫一個延遲基準測試工具來測量和可視化延遲;並使用共置、分區和快取來減少REST API中的延遲。此外,技巧、竅門以及作者Pekka Enberg對延遲的個人見解確保這本書在你閱讀完後仍然是一個方便的參考資料!

**關於讀者**

適合對後端有工作知識的軟體工程師。範例使用Rust。

**關於作者**

**Pekka Enberg**是一位擁有作業系統、資料庫和分散式系統背景及經驗的軟體專業人士,並對低延遲網路系統有研究興趣。過去,Pekka曾擔任Linux核心的動態記憶體分配子系統的維護者,並在ScyllaDB工作,這是一個兼容Apache Cassandra的分散式資料庫,專注於低延遲和高吞吐量。

購買印刷版書籍時,從Manning獲得免費電子書(PDF或ePub)以及訪問在線liveBook格式(及其AI助手,能用任何語言回答你的問題)。

作者簡介

Pekka Enberg is a software professional with a background and experience in operating systems, databases, and distributed systems and a research interest in low-latency networked systems. In the past, Pekka has worked on the Linux kernel as a maintainer of the dynamic memory allocator subsystem and on ScyllaDB, an Apache Cassandra-compatible, distributed database focusing on low-latency and high throughput.

作者簡介(中文翻譯)

Pekka Enberg 是一位軟體專業人士,擁有作業系統、資料庫和分散式系統的背景與經驗,並對低延遲網路系統有研究興趣。過去,Pekka 曾擔任 Linux 核心的動態記憶體分配子系統的維護者,並參與 ScyllaDB 的開發,這是一個與 Apache Cassandra 相容的分散式資料庫,專注於低延遲和高吞吐量。