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?


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 distributed systems, beeing “eventually consistent” seems to fulfill the need of reaching a consistent state at some point in time.

The example you run into, reports a pretty similar situation: the update was successfully in the Things store, however at the time of resolving the search request, the outdated information was available.
Most probably the reason is a high workload in processing other asynchronous requests.

The consistency should recover within milliseconds.

Further reading: Amazon (