SlicingDice Documentation

SlicingDice - The All-in-One Solution Documentation

Welcome to the SlicingDice documentation. You'll find comprehensive guides and documentation to help you start working with SlicingDice as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started    Guides

6.6 Insertion latency

Insertion speed

Data insertion is a very fast operation, usually bounded by network latency and bandwidth. This means you will usually be able to insert data in less than 0.1 seconds.

Once we receive your insertion request, it can take up to 5 seconds for your data to be available for querying due to eventual consistency.

Eventual consistency

You may notice that, after inserting some data, it takes a few seconds to your queries reflect these fresh data. Why does it happen?

It all comes from the concept of eventual consistency: if no new updates are made to one entity, eventually this entity will be updated to the correct value.
Differently from ACID-compliant Relational Databases, where data usually must be precise (imagine a banking system with unreliable account balances), Analytics Databases don't need to be so immediately precise after the data insertion. Usually, we are interested in general statistics instead of individual data.

We do this because, for analytics purposes, we often have millions or billions of insertions per day - something unthinkable in Relational Databases. It is mandatory to have large insertion throughput, but having a few out-of-date entities for a few seconds usually don't hurt analytics jobs, so this can be relaxed.

Eventual consistency comes to help us when performance is more important than immediate precision. That's why, sometimes, your queries may present out-of-date information for a few seconds.

If you have any question on eventual consistency or have more strict requirements, please get in contact with us so we can define together what to do and have the best possible experience.

6.6 Insertion latency

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.