Scaling the SPA
I want to conclude with a few ideas about scaling the application. Scaling an application is a bit of a black art, but you do want to be prepared should you build out an application and it gets very popular very fast.
One of the really nice things about using PaaS tools is that they simplify scaling significantly.
Scaling the database
There are a number of options and considerations for scaling the database. You can see this just by looking at the different packages offered by MongoLab. MongoDB itself supports sharding and replication, as it was built for scaling.
Concerns about scaling include the size of the database - how much storage, and performance - usually a factor of RAM or using dedicated clusters.
MongoLab and other providers ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access