O'Reilly logo

RavenDB High Performance by Brian Ritchie

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

Doing nothing is the fastest way to do something

We have discussed some fast ways to perform both large and small operations. But what is faster than this? Not exchanging data with the server at all! RavenDB has two layers of sophisticated client-side caching that will decrease the load on your database server and make your applications fly.

The first level of caching is the HTTP caching. Since the RavenDB server utilizes the HTTP protocol, it can leverage the caching built into the protocol. It does this by adding an ETag (or entity tag) to the header of every request/response. The ETag is a version identifier that RavenDB generates and also uses for optimistic concurrency. The first time Load() is called, the HTTP response provides the ETag header ...

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