Angelblue05 4130 Posted August 3, 2015 Share Posted August 3, 2015 Just a quick question about the API /Items. With a specific parentId, is it faster for the server to return a response by pulling a list of specified Ids delimited by commas (let's say 50) or pulling the entire list of item found under a specific parentId? I don't necessarily want every items under a specific parentId. Here is what I'm trying to determine. Is there's a point where pulling the entire list is preferred over specifying X number of Ids to return when not wanting all child items? What will return the faster response in theory. I hope this makes sense Thanks! Link to comment Share on other sites More sharing options...
Luke 37022 Posted August 3, 2015 Share Posted August 3, 2015 Unless the discrepancy in number of items is very large, then the difference is going to be negligible so just use whichever makes more sense for your operation. 1 Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted August 3, 2015 Author Share Posted August 3, 2015 (edited) Awesome! I was curious if it was really necessary to implement a limit of 50 add-on side. Doing the filtering app side might be less desirable then having the server do it (which will usually have more power to process this information faster vs having the firetv stick do it, for example) Edited August 3, 2015 by Angelblue05 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now