I have to write a batch function which will save my data currently I have implemented as 1.Storing the sets in batch of 100 2. Assigning all the batch to a particular key
This way we are storing the records with async client.But this leads to inconsistency in data. If two same keys come simultaneously in function it is just making data inconsistent. Is there anyway we can stop this inconsistency.