From the course: Advanced Node.js: Scaling Applications
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Scaling the z-axis - Node.js Tutorial
From the course: Advanced Node.js: Scaling Applications
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.…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.