[Catalog-sig] start on static generation, and caching - apache config.

Jim Fulton jim at zope.com
Thu Jul 12 01:47:59 CEST 2007


On Jul 11, 2007, at 6:51 PM, Jim Fulton wrote:
> Another good reason is to allow static
> implementation, which would be far more scalable in the long run.

ATM, from my machine, xml-rpc requests to PyPI are taking about .27  
seconds.  This is only a little less than regular page requests.   
With the current API, It would require at best 3 requests to get all  
of the distribution URLs.  Presumably, with a change to the API, we  
could get this down to one request, but that's still a long time  
given the demand I expect on PyPI in the future.

It would be so much simpler to just publish a static page for each  
package that setuptools could parse.  I'll try to prototype this.

Jim

--
Jim Fulton			mailto:jim at zope.com		Python Powered!
CTO 				(540) 361-1714			http://www.python.org
Zope Corporation	http://www.zope.com		http://www.zope.org





More information about the Catalog-SIG mailing list