Understand sharding and partitioning before choosing keys, distribution strategies, or Clojure-side routing assumptions.
This section bridges the chapter overview and the detailed lessons below. For Java engineers, the practical question is how to handle sharding and partitioning concepts in Clojure code at the database boundary.
| Review focus | What to check |
|---|---|
| Partition key | Choose keys that distribute load and support queries. |
| Hot spots | Watch for traffic patterns that overload one partition. |
| Application assumptions | Avoid Clojure code that depends on accidental locality. |
Use the child lessons to move from concept to implementation. The section goal is to make the trade-off visible before the code hardens around a database assumption.