liveBook · Manning

Horizontal scaling

As explained in ScyllaDB in Action

Cluster scaling is the operation of increasing a cluster's capacity by adding nodes while retaining its existing nodes.

Horizontal scaling increases a cluster’s capacity by adding nodes while retaining existing nodes. ScyllaDB redistributes data to new members, unlike vertical scaling, which adds resources to one larger server. section 1.2.2

Scale up a ScyllaDB cluster carefully:

  • Start additional nodes with the desired configuration. section 9.4.3
  • Add one node at a time, reducing cluster load while each node joins. section 9.4.3
  • Wait until the new node is UN in nodetool status before adding another. section 9.4.3
  • Balance nodes across racks, then run nodetool cleanup on every node. section 9.4.3

Adding capacity

Suppose an application needs more capacity. Add a configured node, wait for it to become UN, repeat across balanced racks, and finish with nodetool cleanup. Cleanup removes data transferred to the new node, saves disk space, and prevents stale data from being resurrected if token ownership changes later. section 9.4.3

This expansion reflects ScyllaDB’s distributed design: adding nodes improves capacity and supports fault tolerance, while the system favors eventual consistency and availability rather than relational ACID guarantees. section 1.4

How ScyllaDB in Action covers it

How deep it goes
Defines node-based expansion and gives a procedural scale-up checklist, including readiness, rack balance, and cleanup.
Examples
Uses added cluster nodes, nodetool status, rack balancing, and nodetool cleanup as operational examples.
What it assumes
Assumes a running ScyllaDB cluster and familiarity with node configuration and nodetool status.
What you can do after
Operate/configure a ScyllaDB scale-up by adding nodes sequentially, checking readiness, balancing racks, and cleaning transferred data.
How it connects
Connects distributed databases with vertical scaling, data rebalancing, fault tolerance, eventual consistency, and rack-aware operations.

Also explained in

Compare how 13 books explain horizontal scaling →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of ScyllaDB in Action. The section links point to the parts of the book it draws on.