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
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
stop68025yIs the timeframe hardcoded on the api hardcodes and if not is the time required proportional?
-
Wtf?! If it's that crap it should never be released as a public endpoint, or heck even an internal one. If I tried to publish an endpoint and said "ohh but btw it takes a minute or so to respond and we've only got capacity to do a few requests at once" I'd be told to sod off and do it properly.
-
@Root If it's anything like the last place I worked, they probably have Devs who don't know what an index is in a DB.
Asked a provider for an endpoint that returns customer usage
Provider sends back an endpoint that takes 1 minute to return one days worth of data for 1 customer and asks we limit concurrency to 3... we have 3000+ customers with them
(1 minute * 3000 customers) / 3 = 16 hours to pull yesterday's numbers
Hope we don't get behind
rant