Companies need their Big Data applications to be highly available and their data to be accurate. Riak KV is an eventually consistent, distributed system that ensures fast, accurate reads and writes of your data.
In an eventually consistent system, object conflicts are inevitable. With DVVs, Riak KV tracks logical time rather than chronological time to resolve conflicts automatically and ensure your data is accurate.
Riak KV is an eventually consistent key-value database that favors write availability. To achieve this, it allows multiple clients to write concurrently, potentially to the same key. Riak KV uses logical clocks to track the history of updates to values, and detect conflicting writes.
When you make a read request, Riak KV looks up all replicas for that object. By default, Riak KV addresses any inconsistencies by returning the most recently updated version, determined by looking at the object’s Dotted Version Vector, or DVV. DVVs are metadata attached to each data replica when it is created. They are extended each time a data replica is updated in order to keep track of data versions.
Riak KV uses DVVs to identify each value with the update that created it. If five clients concurrently update the object, each of these updates will be marked with a dot (a minimal vector clock) that indicates the specific event that introduced it. This means that duplicate values can always be identified and removed to ensure your data is always accurate.
Even when you have thousands of customers creating millions of data points that change rapidly, your customers expect their data to be accurate. If they lose confidence in the data, they may move to your competitor. Basho is continuously innovating and uses the most current research available to ensure your data is always accurate. Riak KV DVVs were developed in collaboration with academic researchers to more accurately track changes in data.
Improve customer experiences
For most web applications the customer experience is critical. Customers require fast, accurate data. Using DVVs, Riak KV ensures that your customers always get the most current data, easily handling the complexity of conflict resolution.
Increase performance and scale
Eventually consistent systems ensure your data is always available. As your system scales, there is an increased possibility of data conflicts. With Riak KV DVVs, data conflicts are quickly resolved even during peak loads for fast reads and writes of your data.
Make real-time decisions
To make accurate real-time decisions you must use the most current data. Using DVVs, Riak KV serves accurate data quickly to your application, so you can make fast decisions to support your business.
“ShopKeep enables more than 20,000 merchants to process hundreds of thousands of sales transactions daily. To keep our customers’ businesses humming, we needed a solution that could handle a high volume of data requests. Not only does Basho’s Riak KV database handle peak loads at scale, but it ensures the data our customers request is accurate and timely.”
– Jason Ordway, CTO, ShopKeep