[aur-dev] [PATCH] Extended JSON query method

Simo Leone simo at archlinux.org
Thu Jun 5 14:39:40 EDT 2008


On Thu, Jun 05, 2008 at 11:14:22AM -0400, Loui wrote:
> This is a different patch from the one in the bug tracker
> (implementation looks a little cleaner). Do you have the same qualms
> about this one? I think there should be a way of specifying more info
> in the search. What's good about this method is that it will only
> return what's needed, no more, no less.
> 
I think it adds needless complexity, why not just return all data on the
specified packages?

> I guess what we could really use are examples of it's usage and
> potential abuse. At least with this method the server won't be
> hit as hard as if the client did the search and requested info for
> every single search result.
> 
Bandwidth is cheap, it's mostly looking up on one table for package
info, it's not really a performance hit to return more info.

-S
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://archlinux.org/pipermail/aur-dev/attachments/20080605/b786a67e/attachment.pgp>


More information about the aur-dev mailing list