Recommendation for Redis equivalent?

I’m making a custom resolver that needs to lock the table it operates on while it’s running - race conditions would be catastrophic here.

The easiest way I can see to do this would be to have another table that tracks the state of any lock conditions on tables, and check that - this won’t give quite as good performance as something like Redis though, so interested in any recommendations on how to make this faster (basically just need key-value storage in memory), as I’ll need to synchronously read and write to this table a couple of times during the resolver processing.

1 Like

Hi, thank you for your report!
Actually, we don’t provide any solution for the table lock, but it’s a good feature, and we plan to implement it.
For internal purposes we use redis to lock some objects. It allows to lock key atomically. https://redis.io/topics/distlock

1 Like