[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#507454: PTS SOAP whish: querying multiple packages at once

Package: qa.debian.org
Severity: wishlist

On Mon, Dec 01, 2008 at 10:39:18AM +0200, Damyan Ivanov wrote:
> Thank you very much for your work on the PTS SOAP interface.

Thanks for your feedback!

> Would it be possible to extend the API so that it allows querying
> multiple packages in a single request?

Yes, it would, and I'm opening a bug report with your request. Still I
need a bit more of feedback on what your typical queries will be, can
you provide some examples?

> This would make it usable for the Package Entropy Tool 
> (http://pet.alioth.debian.org, Cc-ed) without possibly DOS-ing the 
> service when a big PET-using project needs refresh of its caches. 
> Pkg-perl for example would need information for about 1000 packages.

Even if not DOS-ing, we need to check the performance of that, and
pose some limits. According to the current design, that would mean
building 1000 DOM trees, I've no idea how well that would scale. But
we can try.


Stefano Zacchiroli -o- PhD in Computer Science \ PostDoc @ Univ. Paris 7
zack@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
Dietro un grande uomo c'è ..|  .  |. Et ne m'en veux pas si je te tutoie
sempre uno zaino ...........| ..: |.... Je dis tu à tous ceux que j'aime

Reply to: