
This is a guest post by Cihan Biyikoglu, Director of Product Management at Couchbase.
Question: A few million people are out looking for a setup to efficiently live and interact. What is the most optimized architecture they can use?
- Build one giant high-rise for everyone,
- Build many single-family homes OR
- Build something in between?
Schools, libraries, retail stores, corporate HQs, homes are all there to optimize variety of interactions. Sizes of groups and type of exchange vary drastically… Turns out, what we have chosen to do is, to build all of the above. To optimize different interactions, different architectures make sense.
While high rises can be effective for interactions with high density of people in a small amount of land, it is impractical to build 500 story buildings. It is also hard to add/remove floors as you need them. So high-rises feel awfully like scaling-up – cluster of processors communicating over fast memory to compute fast but limited scale ceiling and elasticity.
As your home, single-family architecture work great. Nice backyard to play and private space for family dinners... You may need to get in your car to interact with other families, BUT it is easy to build more single family houses: so easy elasticity and scale. Single-family structure feels awfully like scaling-out, doesn't it? Cluster of commodity machines that communicate over slower networks and come with great elasticity.
“How does this all relate to database scalability?” you ask…
Click to read more ...