Chapter 16. Scaling Strategies
In this chapter, you will learn what determines your app's scalability and what you need to do for it to scale well. You will also learn when scaling will become important and what elements will influence your scaling strategy. When you just get started, the scale is not important at all. In fact, we did tell you earlier to do things that do not scale. So, what made us change our mind? Nothing really. It is still important to prove your hypotheses and, until that is done, it would be a waste of time to make your app scale. However, what is important is that you should think about the scalability of your app and what your strategy will be in case your app becomes very popular and starts to grow quickly. Now, it is perfectly fine that your app backend can handle only one hundred simultaneous connections. But your app backend also needs to be capable of handling thousands of simultaneous requests, if not more. Not being able to scale things quickly leads to downtime...