[Catalog-sig] start on static generation, and caching - apache config.
"Martin v. Löwis"
martin at v.loewis.de
Fri Jul 13 17:14:38 CEST 2007
> Right. So the question is, how can we keep the mirror up to date? :)
I think there is no efficient way to provide perfect synchronization
(not without putting too much load on the central server again).
If slight propagationdelays are acceptable, it would be possible that
the central server publishes sequence numbers of each update performed,
and mirrors could check with a single roundtrip what the most current
sequence number is.
Then it is the mirror's choice how much it can age; checking every
minute would be reasonable IMO for most purposes; users that want
to see their just-uploaded stuff then would either need to wait
that minute, or go to the master site, or fetch the sequence
number of the master site and compare it with the one of the mirror
they use.
> I'll look at the source (location hints welcome) and update that page.
See
http://svn.python.org/view/trunk/pypi/rpc.py?rev=433&root=packages&view=markup
Regards,
Martin
More information about the Catalog-SIG
mailing list