You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you needed a really strong guarantee that the lock was in fact held while setting a redis cache value and the lock and cache redis servers were one and the same then you could use Lua to query the lock and set the cache value atomically.
I suppose at that point you may as well just store the lock and cache values under the same key
The text was updated successfully, but these errors were encountered:
lock_and_cache_js/index.js
Line 366 in 05258a8
If you needed a really strong guarantee that the lock was in fact held while setting a redis cache value and the lock and cache redis servers were one and the same then you could use Lua to query the lock and set the cache value atomically.
I suppose at that point you may as well just store the lock and cache values under the same key
The text was updated successfully, but these errors were encountered: