This is more of a generic development question, but I am curious how others are tracking their endpoint usage while processing background jobs. In my setup - I have a Redis system that I hit synchronously and update the count everytime I make a successful request. I run all of this in a background job manager that can process up to 100 jobs at a time - which naturally adds some issues since I could have 100 jobs trying to write to Redis at the same time and overwriting each other.
I found a Ruby wrapper that gave me some inspiration with caching the results in Redis, but it’s kind of tricky to get a list count on Redis (at least with what I have found in .NET Core). Looking for inspiration on how I can improve in this area.