commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From commons-...@jakarta.apache.org
Subject [Jakarta Commons Wiki] Updated: Net/FrequentlyAskedQuestions
Date Thu, 09 Sep 2004 18:26:42 GMT
   Date: 2004-09-09T11:26:42
   Editor: RoryWinston <rwinston@eircom.net>
   Wiki: Jakarta Commons Wiki
   Page: Net/FrequentlyAskedQuestions
   URL: http://wiki.apache.org/jakarta-commons/Net/FrequentlyAskedQuestions

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -35,7 +35,7 @@
 
 Normal retrieval of headers using a program like Grabit takes about 10 seconds for a group
containing about 3000 articles. This piece of code takes about 2 minutes. All the time, the
network is hardly used. How can it be fixed?
 
-<pre>
+{{{
     try
     {
       Date startTime = new Date();
@@ -77,7 +77,7 @@
     {
       log.error(e);
     }
-</pre>
+}}}
 
 '''A:''' After some thinking and browsing of the Commons-Net sourcecode, I come to the conclusion
that the reason why updating all headers is so slow, is the fact that each message header
is retrieved separately with a new command send to the server each time. 
 

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message