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 ...

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.