[Catalog-sig] start on static generation, and caching - apache config.
"Martin v. Löwis"
martin at v.loewis.de
Wed Jul 11 21:53:04 CEST 2007
> An interesting thought for future optimization... an XML-RPC catalog
> server designed for this use case could in fact do all the computation
> server-side, resolving dependencies and evaluating version constraints.
> Heck, in theory, it could cache packages' external links, and simply
> hand back to the caller a complete list of candidate URLs to choose for
You mean something like
select f.filename from release_files f,releases r where
f.name='setuptools' and f.name=r.name and f.version=r.version and not
That would be very easy to add to the RPC server, and
would be quite efficient also.
> That way, most activities would take only one server
> round-trip to complete, if the client sent a list of everything it
> expects to need, and the server includes everything that the server
> expects the client to want due to those things' dependencies.
> The main obstacle to implementing such a service today, is that it would
> have no way of knowing what dependencies to look for, without sniffing
> the contents of .egg files.
For that, I would definitely need code contributions.
More information about the Catalog-SIG