Pages: [1]
|
 |
|
Author
|
Topic: Problems with CVS server? (Read 2170 times)
|
|
Nic.
Guest
|
SourceForge instituted a "connection cap" for anonymous CVS access a few months back, this was to help alleviate some server stability problems they were having. Put simply, if too many people try getting updates via CVS, the pserver will start dropping connections.
More details are available here.
One of the suggested workarounds is to have the developer-types on a project create daily "snapshot" tarballs and post them somewhere (e.g., on the home page) so that folks can get the latest-and-greatest without clogging up CVS, but that option is useless for people like you who like to monkey with the code (as there is no possibility of merging)
To get around this, I've taken to performing most CVS commands like so (I'm a tcsh user, this won't work for ksh/bash users and users of CMD.EXE):
while ( ! { cvs update } ) : end ...it ain't pretty, but it gets the job done.
|
|
|
Logged
|
|
|
|
|
Nic.
Guest
|
All things being equal, yes it is better to download only the differences; however, CVS is not at all equal to HTTP/FTP/etc.
For one, they run on different servers; which means if someone is downloading via a non-CVS method, they're leaving the CVS server alone. By definition, that is better for the CVS server. 
Non-CVS methods of retrieval are almost exclusively I/O-bound (server-wise), meaning that the only thing keeping you from your file is the speed (or utter lack thereof) of the network between you. CVS servers, on the other hand, become more and more CPU-bound as the number of concurrent connections rises, since the CVS server needs to determine what has changed and what needs to be sent to each user. Each instance requires a bit of RAM/CPU, and on the scale with which SourceForge operates, it really adds up fast. HTTP servers, by contrast, are told exactly what to do by the client, and as such have far lower overhead.
So basically my point is, it's better for them if you download whole files, not necessarily better for you.
|
|
|
Logged
|
|
|
|
Culture20
Enlightened
    
Offline
Posts: 917

Thraddash Flower Child
|
I'm usually a little nicer, and put a "sleep 1" in the while loop (of course, that means it takes a while before I connect).
|
|
|
Logged
|
|
|
|
Pages: [1]
|
|
|
|
|