#bacoco

1 messages · Page 1 of 1 (latest)

lilac horizonBOT
merry coyote
#

You can talk to our support team about increasing your rate limits but I am unsure how likely they would be to increase your rate limits for this https://support.stripe.com/?contact=true

#

It would likely be a better idea to change your integration to not immediately report all usage and level out your requests per second throughout the day

loud hearth
#

Can do that, but still some 10M usages/day scattered trought the day on different subscriptions 😦

#

Hence why I taught of batch reporting, like every 1k i'd send a usage of 1k, but that would have bad timestamps for those

#

And the usage record api doesn't allow me to send a batch, i'd have to make one request with 1k quantity

merry coyote
#

Gotcha, yeah 10M per day would be difficult with 100 per second and 86,400 seconds in a day

loud hearth
#

Yeah, I mean that I can only report 1 timestamp for all the quantity, which would be "unreal"

#

To not hit the api limit I would accumulate 1k usage and report it all at once, but the timestamp of those 1k won't be the same

#

I think well just ignore the timestamp and report on batches and use it only for counting 🤔

merry coyote
#

Yeah if it is feasible to do that, that would likely alleviate headaches for you at least at the rate limit level