O'Reilly logo

Building Applications with Scala by Diego Pacheco

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Scalability principles

Having architecture around these principles makes it possible to scale your application up. However, we will still need to rely on other principles and techniques to scale it.

There are several principles and techniques for scalability, which are as follows:

  • Vertical and horizontal scaling (up and out)
  • Caching
  • Proxy
  • Load balancer
  • Throttling
  • Database cluster
  • Cloud computing/containers
  • Auto Scaling
  • Reactive drivers

Vertical and horizontal scaling (up and out)

You can add more resources, have better hardware, or you can add more boxes. These are the two basic ways to scale. You can always improve and tune your app to use fewer resources and get more from a single box. Recently, there were several improvements in this area around reactive ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required