7/3/2023 0 Comments Database shardingInstead, you might choose to split the database into multiple, parallel databases and divide the customer base between the different databases. Once your database reaches a certain size and capacity, it’s difficult (if not impossible) to make it grow any larger. Your database can’t effectively handle additional customers, and your application will end up with availability issues, performance issues, and other problems. However, once you reach a certain number of customers, your scaling limitation suddenly becomes your database. (This of course has limits, and is worthy of a separate discussion at another time.) Typically, it’s relatively easy to increase the capacity of the application by adding more servers to handle the load. As the number of customers increases, the load on the application increases. What, exactly, is sharding? A typical SaaS use case involves customers talking to some application, which then makes use of data that’s stored in a database. Let’s take a closer look at sharding and how it is used to solve early database scaling issues.
0 Comments
Leave a Reply. |