RavenDB 4.1 Features: Counting My Counters

Documents are awesome. They allow you to model your data in a very natural way. At the same time, there are certain things that just don’t fit into the document model.

Consider the simple case of counting. This seems like it would be very obvious, right? However, you need to also consider concurrency and distribution. Look at the image above. What you see there is a document describing a software release. In addition to tracking the features that are going into the release, we also want to count various statistics about the release. In this example, you can see how many times a release was downloaded, how many times it was rated, etc.


DZone Database Zone

Pavlos Papadopoulos

Gadget Rumors

Gadget Rumors is a Personal Blog that is Addicted to Technology News, Coolest Gadgets, Latest Rumors, Smart phone News, Android and iOS Latest Apps and News, Computer and Software News

You may also like...

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: