IMAP: Partial list fetches all messages in one go instead of batches of 100s

2009-01-11 Thread Robert Tomanek
Hi,

 every time you connect your IMAP account to the server, the client
 synchronizes the local cache with the server.

 In practice, you can see in the Connection Centre that for every
 folder you get something like:
   Partial list [folder] (1-n) (0/n)
 where n is the number of messages in the folder.

 This means the The Bat! tries to sync the entire cache in one go.
 This is not necessarily good because for folders with tens of
 thousands of messages it may take considerable amount of time.

 The funny thing is that I remember that it used to work in a
 different way: in the past The Bat! would do it in batches of 100s,
 so you'd get something like:
   Partial list [folder] (1-100) (0/n)
   Partial list [folder] (101-200) (0/n)
   Partial list [folder] (201-300) (0/n)
   ...
  or, since I have trouble recalling which column means what:
   Partial list [folder] (1-n) (0/99)
   Partial list [folder] (1-n) (100/199)
   Partial list [folder] (1-n) (200/399)
   ...

 The important thing here is that when TB! operates in smaller batches
 you see the new messages in a folder much earlier than in the full
 sync in one go case.

 I am on 4.0.38 now. I am also quite sure the change happened some
 time in the past (maybe even when I was on last versions of 3.x).
 And, in the meantime I also upgraded the IMAP server I'm using
 (Dovecot) so I am not even sure what caused this change in behavior.

 Any comments?

-- 
Best regards,
 Robert Tomanek mailto:tbb...@mail.robert.tomanek.org



 Current beta is 4.1.9.1 | 'Using TBBETA' information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: IMAP: Partial list fetches all messages in one go instead of batches of 100s

2009-01-11 Thread Gleason Pace

Robert,

 Hi,

  every time you connect your IMAP account to the server, the client
  synchronizes the local cache with the server.

  In practice, you can see in the Connection Centre that for every
  folder you get something like:
Partial list [folder] (1-n) (0/n)
  where n is the number of messages in the folder.

  This means the The Bat! tries to sync the entire cache in one go.
  This is not necessarily good because for folders with tens of
  thousands of messages it may take considerable amount of time.

  Any comments?

Some clients are faster than TB starting up.  Thunderbird is one.  The 
difference with Thunderbird and most other clients is TB gets message counts 
for all folders in the process.  The bottleneck for me with TB is negotiating 
the tls connection.  After than, TB zips through my 100 folders and 14,000 
stored messages zoomily.  Much faster since I moved to a wider broadband 
connection.


-- 
 Gleason
 Current beta is 4.1.9.1 | 'Using TBBETA' information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: IMAP: Partial list fetches all messages in one go instead of batches of 100s

2009-01-11 Thread Robert Tomanek
Hello Gleason,

Sunday, January 11, 2009, 2:03:40 PM, you wrote:
 Some clients are faster than TB starting up.  Thunderbird is one.
 The difference with Thunderbird and most other clients is TB gets
 message counts for all folders in the process.  The bottleneck for
 me with TB is negotiating the tls connection.  After than, TB zips
 through my 100 folders and 14,000 stored messages zoomily.  Much
 faster since I moved to a wider broadband connection.

 This is completely different than my experience with TB!. While the
 startup is instantaneous and connecting to IMAP server via TLS is
 very fast (1-2 seconds according to the log), I have to wait several
 seconds until I see new messages in folders with a large number of
 messages in them (some 35k messages but even folders with 5k-10k
 messages take noticable (and irritatingly long) time to update).

 This isn't how it used to work. The question is whether it is
 tunable, client or server side.

-- 
Best regards,
 Robert Tomanek   
mailto:tbb...@mail.robert.tomanek.org



 Current beta is 4.1.9.1 | 'Using TBBETA' information:
http://www.silverstones.com/thebat/TBUDLInfo.html