Skip to Content
Web Operations
book

Web Operations

by John Allspaw, Jesse Robbins
June 2010
Intermediate to advanced
338 pages
10h 33m
English
O'Reilly Media, Inc.
Content preview from Web Operations

Some Systems in Detail

Now that we've briefly overviewed the different categories of NoSQL databases, we can begin to explore some individual databases in depth. Although we can't cover each and every database out there today, we can certainly cover those that have been getting the most attention lately. It's interesting to note some of the similarities between the databases and how the decisions they make affect system operability. For example, several of the databases choose an append-only data structure, which means backup can be as simple as an rsync. Let's dive in and take a look.

Cassandra

Cassandra is a highly distributed database that is used in production by Digg, Twitter, Facebook, Rackspace, and Reddit, to name a few. Cassandra has a few key philosophies that inform some of its basic design decisions. Cassandra takes the stance that writes are harder to scale than reads, so it's heavily optimized for writes. In fact, the hard drive disk head never has to seek on a write operation, because the only immediate write that's needed is to a log, which is append-only.

Another of Cassandra's philosophies is that there should be no single point of failure. It's for this reason that there's no "coordination" server, or "elected master" or anything of that kind. Cassandra servers know about each other via a gossip protocol that lets them relatively quickly propagate information across a cluster. Writes for any piece of data can happen to any node in a cluster, and reads can do so, ...

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.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Back-end Performance

Back-end Performance

Bruno Skvorc, Christopher Pitt, Tonino Jankov, Reza Lavaryan, Daniel Berman
What Successful Project Managers Do

What Successful Project Managers Do

W. Scott Cameron, Jeffrey S. Russell, Edward J. Hoffman, Alexander Laufer

Publisher Resources

ISBN: 9781449377465Errata Page