Chapter 5. Scaling Out

As the load on your server increases, one server may not be sufficient to process the requests. While getting a bigger box may solve the problem in the short run, scaling up only works for so long and is an expensive option. Scaling out, on the other hand, is more cost effective and provides a path to extreme scalability.

The Internet is built on the concept of scaling out. The Internet is not one big server. Even for a given site, requests can be load balanced amongst many servers in a server farm. The request/response nature of the HTTP protocol makes this very easy as long as things stay stateless. However, as soon as data or state is stored on a server, things get much more complicated. The user should get consistent ...

Get RavenDB High Performance now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.