Cockroachdb: The Definitive Guide: Distributed Data at Scale (Paperback)
暫譯: CockroachDB:權威指南:大規模分散式數據
Harrison, Guy, Seldess, Jesse, Darnell, Ben
買這商品的人也買了...
-
$450$356 -
$480$379 -
$1,420$1,392 -
$880$695 -
$1,530The Staff Engineer's Path: A Guide for Individual Contributors Navigating Growth and Change (Paperback)
商品描述
Get the lowdown on CockroachDB, the distributed SQL database built to handle the demands of today's data-driven cloud applications. In this hands-on guide, software developers, architects, and DevOps/SRE teams will learn how to use CockroachDB to create applications that scale elastically and provide seamless delivery for end users while remaining indestructible. Teams will also learn how to migrate existing applications to CockroachDB's performant, cloud-native data architecture.
If you're familiar with distributed systems, you'll quickly discover the benefits of strong data correctness and consistency guarantees as well as optimizations for delivering ultra low latencies to globally distributed end users.
You'll learn how to:
- Design and build applications for distributed infrastructure, including data modeling and schema design
- Migrate data into CockroachDB
- Read and write data and run ACID transactions across distributed infrastructure
- Plan a CockroachDB deployment for resiliency across single region and multi-region clusters
- Secure, monitor, and optimize your CockroachDB deployment
Why We Wrote This Book
This book aims to help you, the reader, understand the architecture and capabilities of CockroachDB as well as suitable use cases for CockroachDB. By the end of this book, you will be able to get started with CockroachDB, build effective applications on it, and, ultimately, run a cluster in production.
The chapters teach developers, architects, and DevOps teams how to build, optimize, and manage applications that run on CockroachDB. We wrote this book to give any developer, no matter how they want to work with CockroachDB, the knowledge and tools they need to do it effectively.
Why Cockroach?
The question everyone asks: Why the name CockroachDB?
One immutable fact of engineering is that things break. At large enough scale, things are breaking all the time. The kinds of failures that might happen once a year on a single machine become daily occurrences when you’re running hundreds of shards. A system that aspires to handle large scale must treat fault tolerance as a core responsibility. This was one of the key insights of Google’s MapReduce framework. By requiring all computation to fit within a relatively restrictive framework, it became straightforward for the system to automatically rerun the necessary pieces of work after a failure.We believe that this is how it should be: highly available replication should be the default state of a database from day one, not the result of painstaking configuration work. And looking ahead to day two (or day two hundred), the database must be able to grow along with the application so that runaway success is a cause for celebration, not panic.When we set out to build a relational database from scratch, we wanted to bring consistency, native resilience, data locality, and massive scale to modern cloud applications. Our vision was of a system able to colonize any resource that you gave it onto the public cloud and then relentlessly optimize itself. A database that would use available space and reach equilibrium across a coordinated set of globally distributed nodes so that it would not only incorporate new resources, but—if a machine or data center or even an entire region went down—the database would simply equalize the remaining available resources.We aimed to build a database that would be globally ubiquitous and impossible to eradicate…just like periplaneta brunnea, the pesky common cockroach. And so CockroachDB was born.
Who This Book Is For
Innovative developers: CockroachDB: The Definitive Guide is for developers building modern applications, whether in a small startup or a large enterprise. This guide will teach developers how to build and ship apps with fewer obstacles using a powerful distributed SQL database that just works.
Architects: The Definitive Guide is for modern architects delivering scalable, resilient apps across their IT ecosystem. Architects will learn how to design distributed applications to provide low latency, high availability, and faster performance.
DevOps teams: The Definitive Guide is for strategic IT operators managing applications with data-intensive workloads. Operators will learn how to optimize CockroachDB’s inherent abilities of scale and resilience, efficiently distributing data to meet any workload demand—wherever it’s deployed.
Those already familiar with distributed systems will discover the benefits of strong data correctness and consistency as well as optimizations for delivering low-latency transactions to users anywhere in the world.
It includes specific guidance for anyone transitioning from a monolithic database (e.g., MySQL or PostgreSQL) to a distributed architecture, as well as practical examples for anyone more familiar with NoSQL systems.
商品描述(中文翻譯)
獲取 CockroachDB 的詳細資訊,這是一個分散式 SQL 資料庫,旨在滿足當今數據驅動的雲應用程式的需求。在這本實用指南中,軟體開發人員、架構師以及 DevOps/SRE 團隊將學習如何使用 CockroachDB 創建可彈性擴展的應用程式,為最終用戶提供無縫的交付,同時保持不易損壞。團隊還將學習如何將現有應用程式遷移到 CockroachDB 的高效能、雲原生數據架構。
如果您熟悉分散式系統,您將迅速發現強大的數據正確性和一致性保證的好處,以及為全球分散的最終用戶提供超低延遲的優化。
您將學習如何:
- 設計和構建適用於分散式基礎架構的應用程式,包括數據建模和架構設計
- 將數據遷移到 CockroachDB
- 在分散式基礎架構上讀取和寫入數據並執行 ACID 交易
- 為單區域和多區域集群規劃 CockroachDB 部署的韌性
- 保護、監控和優化您的 CockroachDB 部署
為什麼我們寫這本書
這本書旨在幫助您,讀者,了解 CockroachDB 的架構和功能,以及適合 CockroachDB 的使用案例。在本書結束時,您將能夠開始使用 CockroachDB,在其上構建有效的應用程式,並最終在生產環境中運行集群。
各章節教導開發人員、架構師和 DevOps 團隊如何構建、優化和管理運行在 CockroachDB 上的應用程式。我們寫這本書是為了讓任何開發人員,不論他們希望如何使用 CockroachDB,都能獲得有效進行工作的知識和工具。
為什麼選擇 Cockroach?
每個人都在問的問題:為什麼叫 CockroachDB?
工程學的一個不變事實是,事物會壞。在足夠大的規模下,事物會不斷壞掉。在單一機器上每年可能發生一次的故障,在運行數百個分片時會變成每日的事件。旨在處理大規模的系統必須將容錯視為核心責任。這是 Google 的 MapReduce 框架的一個關鍵見解。通過要求所有計算都適合於相對限制的框架,系統能夠在故障後自動重新執行必要的工作。我們相信這應該是這樣的:高可用的複製應該是數據庫從第一天起的默認狀態,而不是艱苦配置工作的結果。展望第二天(或第二百天),數據庫必須能夠隨著應用程式的增長而增長,這樣成功的擴張才是值得慶祝的,而不是驚慌失措的原因。當我們著手從零開始構建關聯數據庫時,我們希望將一致性、本地韌性、數據本地性和大規模引入現代雲應用程式。我們的願景是建立一個能夠將您提供的任何資源殖民到公共雲上,然後不斷優化自己的系統。一個數據庫,將利用可用空間並在一組協調的全球分散節點之間達到平衡,這樣它不僅能夠整合新資源,還能在機器、數據中心甚至整個區域故障時,簡單地平衡剩餘的可用資源。我們的目標是建立一個全球無處不在且無法根除的數據庫……就像常見的蟑螂 Periplaneta brunnea 一樣。因此,CockroachDB 應運而生。
這本書適合誰
創新開發人員:CockroachDB: The Definitive Guide 適合構建現代應用程式的開發人員,無論是在小型初創公司還是大型企業。這本指南將教導開發人員如何使用強大的分散式 SQL 數據庫構建和交付應用程式,並減少障礙。
架構師:The Definitive Guide 適合在其 IT 生態系統中交付可擴展、韌性應用程式的現代架構師。架構師將學習如何設計分散式應用程式,以提供低延遲、高可用性和更快的性能。
DevOps 團隊:The Definitive Guide 適合管理數據密集型工作負載的戰略 IT 操作人員。操作人員將學習如何優化 CockroachDB 的固有擴展性和韌性,並有效地分配數據以滿足任何工作負載需求——無論其部署在哪裡。
已經熟悉分散式系統的人將發現強大的數據正確性和一致性以及為全球用戶提供低延遲交易的優化好處。
它還包括針對任何從單體數據庫(例如 MySQL 或 PostgreSQL)過渡到分散式架構的人的具體指導,以及針對更熟悉 NoSQL 系統的人的實用範例。
作者簡介
Guy Harrison has worked with databases for more than a decade, has conducted many MySQL and Oracle training seminars, and is author of several books on Oracle, including Oracle Desk Reference (Prentice Hall PTR). Currently a product architect at Quest Software, Harrison has conducted many training seminars and has authored several articles for the Oracle Technical Journal. He resides in Australia.
Jesse Seldess is the VP of Education at Cockroach Labs, where he leads the documentation and training teams. He has nearly 20 years of experience in technical documentation, and has built teams from the ground up at Cockroach Labs and AppNexus (now Xander).
Ben Darnell is the cofounder and chief architect at Cockroach Labs, where he built the distributed consensus protocols that underpin CockroachDB's transactional model. He started his career at Google and then went on to a series of startups where he saw firsthand the need for better scalable storage systems.
作者簡介(中文翻譯)
Guy Harrison 在資料庫領域工作超過十年,曾舉辦多場 MySQL 和 Oracle 的培訓研討會,並且是幾本有關 Oracle 的書籍的作者,包括《Oracle Desk Reference》(Prentice Hall PTR)。目前他是 Quest Software 的產品架構師,曾舉辦多場培訓研討會,並為 Oracle Technical Journal 撰寫了多篇文章。他居住在澳洲。
Jesse Seldess 是 Cockroach Labs 的教育副總裁,負責領導文檔和培訓團隊。他在技術文檔方面擁有近 20 年的經驗,並在 Cockroach Labs 和 AppNexus(現為 Xander)從零開始建立團隊。
Ben Darnell 是 Cockroach Labs 的共同創辦人及首席架構師,他建立了支撐 CockroachDB 交易模型的分散式共識協議。他的職業生涯始於 Google,之後進入了一系列初創公司,親眼目睹了對更好可擴展儲存系統的需求。