liveBook · Manning

Bucket

As explained in Amazon Web Services in Action, Third Edition: An in-depth guide to AWS

A data bucket is a partition containing a subset of the data in a sharded cache.

A bucket is a subset of data in a sharded cache. Sharding divides the cache across multiple nodes so no single node must hold or handle every key. This differs from an Amazon S3 bucket, which is a container for objects. section 11.6.2 section 7.2

A Redis or Memcached client uses a hashing algorithm to choose the node for a key. A shard is stored on a primary node and can also be synchronized to replica nodes. Sharding can increase cache capacity and distribute reads and writes; replication adds nodes that can handle reads. section 11.6.2

Consider sharding when one cache node can no longer handle the data or requests. For a Redis workload dominated by reads, replication is another option. section 11.6.2

How Amazon Web Services in Action, Third Edition: An in-depth guide to AWS covers it

How deep it goes
Explains bucket placement through shards and client-side hashing, but does not detail the hashing algorithm.
Examples
Uses an overloaded cache node as the scenario for deciding whether to shard.
What it assumes
Defines sharding through data subsets while assuming familiarity with cache keys and nodes.
What you can do after
Evaluate/understand when splitting cached data across nodes may increase capacity.
How it connects
Connects buckets to sharding, cache keys, hashing, primary nodes, and replication.

Also explained in

Compare how 9 books explain bucket →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Amazon Web Services in Action, Third Edition: An in-depth guide to AWS. The section links point to the parts of the book it draws on.