Date: 2004-09-09T11:26:42
   Editor: RoryWinston <[EMAIL PROTECTED]>
   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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to