| Latest discussions |
|---|
|
Lightroom 3 exporter
Updated 2 weeks ago |
|
doc.tags.X format changes
Updated 6 months ago |
|
[BUG] Number of calls for the last hour
Updated 7 months ago 8 replies |
|
XML-RPC not working?
Updated 13 months ago 3 replies |
|
album.getList requires user_id
Updated 14 months ago 2 replies |
|
New group API methods + group suggestion
Updated 14 months ago 8 replies |
|
PDF version of documentation
Updated 14 months ago 14 replies |
| doc.search limit |
|
[done] User alias and user ID for using in user_id
Updated 14 months ago 11 replies |
|
EXIF
Updated 14 months ago 5 replies |
| ... view all the discussions |
|
doc.search limitposted by Roberto Ballerini - travelingPosted on Saturday October 18, 2008 at 11:29. 384 visits. ( permalink ) |
You must be logged on to post a reply. Sign in now?
Latest comments
–
Subscribe to the comment feed for this topic.
Dirk pro says:
--
Coming from a group home page (?)
Roberto Ballerini - traveling pro replies:
But when you intrinsically haver to do with great quantities of data, caching doesn't help (combined with the 100 items per page limit which forces you to do more roundtrips to obtain the same quantity of data). Making analysis on a single day worth of shots, I already seen the data changing while I was looping... Perhaps the solution is in caching/proxying on the server instead of on the client side of the XML-RPC interaction.
--
Coming from a group home page (?)
beatmaster replies:
but i need just a little bit more time before i release it ... ;-)
The API calls limits are much higher (100K request/day or so).
Roberto Ballerini - traveling pro replies:
Some example:
- a month worth of public uploads: 150.000 shots
- Ojisanjake stream: 12000+ shots
- bigger groups: 10000+ shots
These are three situations where we'd have to do an extra external loop, changing some parameters, to go through it.
If you want to make a bot to help admins to manage group pools, if you want to sum the total visits on Jake's stream, if you want to find the more viewed shots of September, ... all examples of situations where this 3000 items limit add complexity to code.
So if the reason for the limit is to reduce server load, well, I can understand it, but I think it isn't effective: I can code around it: it's better to introduce a limit of calls per hour to force us to streamline the code (but possibly this testing phase isn't the right moment for it...).
You have to find a balance between server costs and quality of service for developers: I think that the quantity of Flickr mashups available is one of the greatest reasons for their success --> give the developers the possibility to grow your success ;-)
--
Coming from a group home page (?)
beatmaster replies:
Searching is in general is quite a complex task, and will increase load nevertheless.
To get an unlimited list of user docs, you could use album.getList, the same thing for groups would be nice (and possibly will come when group-functions of the API will be published) ... somehing like container.getList ...
so, the limit of search results shouldn't be a problem and will prevent abuse of the function. ;-)
Roberto Ballerini - traveling pro replies:
--
Coming from a group home page (?)
beatmaster replies:
the point I wanted to say is, that it's (generally) much more "expensive" to search with a certain amount of constraints (user_id, tags, etc.) than asking for "get all docs of a user" or "get all docs of a group".
And since searching is that expensive, it has a limit (meant: "don't let users use this function for all purposes"). If every api user would use the search-function in that way, ipernity would be possibly overloaded!
There are and will be more methods to browse the complete list of documents from a member docstream, album, group, tags, etc... So do not worry about this we will not put some stupid limits there ;)
But I understand that actually the doc.search is the only way to browse a user doctream or a group. We will add the needed methods next week.
Anyway, we will listen to all your needs. Let's wait a week or two and speak about limits again ;)
Roberto Ballerini - traveling pro replies:
My only intention is to help you as I can and I wanted to understand what was the ratio about this limitation.
I'm sure you'll extend the API and all will be simpler for developers.
(I must confess: I haven't read the documentation about each API; I'm too lazy and there were no (working) links back to the methods list ;-) )
--
Coming from a group home page (?)