![[chap_8_cloud.png]] # Chapter 8: The Cloud Scales (Outsourcing Labor) Eventually, an elephant grows so massive, and its warehouse so unfathomably large, that no amount of sticky notes or frantic diaries can save it from the sheer physical labor of maintaining the physical disks. So, the elephant enacts the ultimate display of laziness: It outsources the filing cabinet entirely over the network. This is the era of Cloud-Native Database Architecture. Instead of the database engine (the Brain) and the storage layer (the Filing Cabinet) living inside the same cramped cage, the storage is violently decoupled and thrown into the magical ether of the cloud, transforming into a distributed, infinitely scalable [[Cluster]]. Giant tech companies have realized that if you intercept the elephant's frantic diary scribblings (the WAL) and send them across the network instead of to a local disk, you can perform miracles. [[Aurora|Amazon Aurora]] scatters those scribbles across 6 different storage nodes across 3 availability zones for unkillable resilience. [[AlloyDB|Google AlloyDB]] takes those scribbles and magically transforms them into lightning-fast, columnar analytical nodes so the elephant can answer huge math questions instantly. And [[Neon]] intercepts the scribbles to allow instant, serverless branching, letting you clone the mammoth database in seconds just like git branching code. The elephant has successfully reached nirvana. It reclines gracefully on a cloud, processing queries and making plans, while a sprawling army of invisible network storage nodes violently handles the frozen, heavy labor far below.