Flutterby™! : Unintended Consequences

Next unread comment / Catchup all unread comments User Account Info | Logout | XML/Pilot/etc versions | Long version (with comments) | Weblog archives | Site Map | | Browse Topics

Unintended Consequences

2012-09-05 22:41:11.154284+00 by Dan Lyke 2 comments

Unintended Consequences: API hardcoded limit of 200 results was about to push me to do 2000+ individual queries instead.

comments in descending chronological order (reverse):

#Comment Re: made: 2012-09-06 20:09:18.068022+00 by: Dan Lyke

Yeah, running some numbers a 20meg result set is kinda big, but I'm not sure that me hitting the thing two thousand times in a row would have been better. In the end we ran the query by hand.

#Comment Re: made: 2012-09-05 23:41:19.141781+00 by: meuon

ill agree with the 200 limit for most apis. it depends. we often limit to 50. if the backend does something heavy, you do not want some crappy input parameters bogging down a system, or dumping data it should not.