Would a job queue make sense for this?

I am trying to update google sheets data by listening to webhook requests from external service.

Though, the external service should ideally hit my API 20-25k times in a span of 5-10 minutes, and in my google sheets data, a particular rows’ specific column should increment with each hit from the external service, so at the end the value should be 25,000

But it’s kept at 14-15 range only, and I think this is happening because the frequency of requests coming to my server is high and the reference to google sheet’s row is stale for most of the requests.

So I wanted to ask if job queue would be an ideal solution for it, as in it would process each request before moving on to the other.

Also my server is on heroku, and I think heroku server restarts periodically so storing data locally would be an issue as well.

Just wanted to get others thoughts on this, thanks!

Posted Jul 13, 2025, 5:09 AM UTC

410
Loading comments…