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

Sometimes it is all about the little things

Doing large things fast is important, but doing little things quickly is just as critical. Since our documents are complex, there are times when we don't want to update the whole document. When making a small change to a document there is a good deal of overhead with loading the entire document from the server, modifying it on the client side, and sending it back to the server.

What we really need is the ability to send instructions to the server to make the change. For this, RavenDB provides a facility known as patching. The Patching API can add, update, or delete portions of a document.

Note

While the patching feature can be useful for handling specific scenarios, it is not a general purpose tool. In ...

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