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.