So, I needed a distributed lock on the GCP Datastore. In theory, it is all very simple: Get the lockDo what you need to doRelease the lock And, when I started thinking about it, it became clear that I need to have some kind of transaction mechanism in order to obtain the lock. Basically, when … Continue reading Distributed lock on GCP Datastore