Comment Comment by citrin_ru To avoid race conditions with concurrent requests better to use Redis Lua. See this example: https://gist.github.com/ptarjan/e38f45f2dfe601419ca3af937fff... parent citrin_ru 2 years ago