From the course: Advanced Node.js: Scaling Applications

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Scaling the z-axis

Scaling the z-axis - Node.js Tutorial

From the course: Advanced Node.js: Scaling Applications

Start my 1-month free trial

Scaling the z-axis

- [Instructor] As your traffic grows, you will need to scale your data layer. Consider our advice booth. Our advice customers have records that we use to track whether or not the advice is working. Since we cloned our advice booth into several booths already, they will need a place to store and look up data records. So, we'll need a records booth. Each data record takes up space. So, in this example, our records booth will require a file cabinet. So, what happens when there's lots of records to store and look up? Well, we need to split our record booths and add more file cabinets to store all of the records. Here, we split our record booths into booths that are designed to handle only a part of the overall load. One booth will handle records for customers that have names that start with the letter A through the letter K. Another booth will handle the load from L to P and a third one will handle the load from Q to Z. We just scaled the advice booth along the z-axis. The z-axis of the…

Contents