I have events
table with multiple records.
Columns - id, start_time, end_time ...
I have to fetch the analytics for all the live events (which can be thousands at a certain time) repeatedly by third party API calls, which can take one event at one time. I have to do this repeatedly until the event ends for each live event. Let's say the minimum time for an event to fetch analytics is every 15 minutes.
Third Party API calls need to be sequential.
I am open to use any tool e.g. Redis.
What are the efficient ways I can have this?
I need to have something like LRU system with repetition, but don't exactly know how to implement.