Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
![](/static/devrant/img/pipeless-devrant-banner-white.png)
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
SidTheITGuy944557d@c3r38r170 it is factored in, ofc. I need to take those responses and work with it as well.
-
retoor930457d@SidTheITGuy are you sure you use keep-alive / a session so you don't have to connect every time?
-
Hazarth925957dCan't you cash responses to off-load some of the requests to memory? Or make larger/batch requests of possible?
429 are just part of life -
Ranchonyx1045757dI experienced this a week ago.
I was running a fuckton of promises making requests to an API in parallel using Promise.all to wait for their completions.
I've had to refactor the whole thing to be sequential...
I wrote an algorithm that incorporates a 3rd party API. and the algorithm is so fast and optimized that I started to get 429 status codes from the third party API, asking me to slow down my requests, which I didn't think was an issue when I tested on local env.
Now I'm on purpose slowing down my code, to prevent that from happening.
Talk about suffering from success.
rant