Code Project: RavenDB NoSQL Database Counters, Graph API, JavaScript Index, Clusterwide ACID

Est. reading time: 4 min
RavenDB counters, graph API, javascript index, clusterwide ACID
Codeproject Article

The release of RavenDB 4.2 comes with some fantastic new features that enable you to do a lot more with your NoSQL Database. RavenDB’s latest version comes with Graph Queries, Clusterwide Transactions, Distributed Counters, JavaScript Indexes, and Revert Revisions.

Our new Graph Query API allows you to perform petabyte-scale aggregation. You have the power to work with enormous datasets that contain many relationships among data points. This is great for health care systems looking to correlate symptoms with patient data or among groups of patients in specific areas. It is also suitable for insurance companies looking to detect fraud, which causes increased company expenses and higher premiums.

New to 4.2 are cluster-wide ACID transactions. Along with enjoying ACID data integrity over multiple documents, you are also now covered throughout your entire cluster.

Distributed counters make massive-scale “incrementing counter” scenarios possible with minimal overhead because you don’t have to write the full document to disk for every request. RavenDB also resolves distributed concurrent updates automatically. This is critical if you have your own “like” button for local content or a shopping cart with products you want your users to give stars to or share with their friends.

JavaScript indexes are an alternative way to perform complex modelling logic versus C#’s LINQ syntax. JavaScript indexes support referencing external scripts like Lodash or Moment.js to bring in additional global functions.

You can also revert documents to previous revisions without downtime by taking your database offline and annoying your users. RavenDB utilizes its existing revisions feature so you can restore to a snapshot in time while maintaining read-access to the database.

Schedule a FREE Demo of RavenDB

Woah, already finished? 🤯

If you found the article interesting, don’t miss a chance to try our database solution – totally for free!

Try now try now arrow icon