[p4] Improve robustness on poor networks?

Chuck Karish chuck.karish at gmail.com
Sun Aug 6 14:31:52 PDT 2006


On 8/1/06, Chris Weiss <chris.weiss at gmail.com> wrote:
> Our network's a bit spotty - if our pipe to the outside world gets
> saturated, we start losing packets. This spells trouble for our remote
> office as they'll be in the middle of a big sync and P4 will throw a
> WSAE_TIMEOUT.
>
> Does anyone have any tips (outside of QoS) on ways to avoid P4
> dropping connections so easily? We've already got a proxy server in
> the remote office, but it still disconnects far too often due to
> packet loss.

A simpler proxy solution than the one Arnt suggested might
help.

Set up a proxy at the remote site and do small syncs during off
hours to keep the cache warm.  Syncs done from the remote
site will get their fil contents from the proxy.  The proxy will
hit the main server to retrieve metadata.  This can greatly
reduce the bandwidth demands for syncs, especially if the
files are large and if many users request the same files.


  Chuck

-- 
Chuck Karish   karish at well.com   (415) 317-0182


More information about the perforce-user mailing list