How do you treat consistency issues?

Right after updating a thing attribute I performed a search request, but miss that value. How can this happen?

Answer

The Bosch IoT Things service provides a search functionality which is highly dedicated in updating its internal index as fast as possible. However, while working on highly distributed systems/networks, the search functionality is provided according to “eventual consistency” paradigms. In order to scale accordingly, it guarantees to reach a consistent state at some point in time - but not immediately.

The example you could run into, reports a pretty similar situation: the update was successfully applied in the Things persistency, however at the time of resolving the search request, a older information was used to execute your search request. The consistency should recover within some time.

Further reading: Amazon

Imprint Legal info Privacy statement