Skip to Content
CockroachDB: The Definitive Guide
book

CockroachDB: The Definitive Guide

by Guy Harrison, Jesse Seldess, Ben Darnell
April 2022
Intermediate to advanced
485 pages
12h 4m
English
O'Reilly Media, Inc.
Book available
Content preview from CockroachDB: The Definitive Guide

Chapter 15. Cluster Optimization

It doesn’t matter what database, framework, application, or device you’re responsible for—someone always wants it to be faster. This is probably one of the most persistent challenges for computer scientists. One can imagine after Alan Turing created his breakthrough decoding machine during World War II that his superiors said, “Well done Alan, but can it be faster?”

It’s not surprising that performance optimization is such a perennial activity. It’s always been important to provide users with responsive applications and to be able to maintain acceptable throughput for batch processes. However, in the modern era, performance has become even more important. In the internet era, poorly performing customer-facing applications lead to customers abandoning your online services, directly affecting the bottom line. In the cloud era, performance optimization is cost optimization—a poorly performing application will consume more cloud computing resources, which will increase your monthly bill.

Tuning Versus Firefighting

Performance optimization usually occurs in one of two forms:

Performance firefighting

A critical performance problem arises and must be addressed immediately.

Performance tuning

The system is optimized systematically to improve its performance and reduce the cost of operation.

The more performance tuning you do, the less performance firefighting you’ll need to undertake. Nevertheless, for almost all database administrators, you’ll ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Cassandra: The Definitive Guide, 3rd Edition

Cassandra: The Definitive Guide, 3rd Edition

Jeff Carpenter, Eben Hewitt
Getting Started with CockroachDB

Getting Started with CockroachDB

Kishen Das Kondabagilu Rajanna

Publisher Resources

ISBN: 9781098100230Errata PageSupplemental Content