https://bugs.kde.org/show_bug.cgi?id=232198

           Summary: Parallelization of the IMAP connections to fetch mails
                    faster
           Product: kmail
           Version: unspecified
          Platform: Mandriva RPMs
        OS/Version: unspecified
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs@kde.org
        ReportedBy: k...@ap2c.org


Version:            (using KDE 4.4.0)
Installed from:    Mandriva RPMs

In comparison with the mail MacOS X client, KMail retrieve mails very slowly.
When the IMAP protocol is sniffed in order to understand why is there a such
important difference between these two clients I found that Mail parallelizes
the IMAP connection and each connection retrieves the mails from the newest to
the lowest by group of 200 or 500 mails (I don't remember the number exactly).

Thus it would be very interesting to have the same thing under kmail. In other
words, next is how it could looks like:

- connection to IMAP server
- How many mails in the directory ? (for instance 1253)
- Create one new connection to the IMAP server to fetch the mail headers from
753 to 1253
- Create a new connection to the IMAP server to fetch the mail headers from 253
- 752
- Create a new connection to the IMAP server to fetch the mail headers from 1 -
252

Of course a limit on the number of simultaneous connection have to be applied
(for instance 5 seems to be a good choice?)

And if the previously mail headers are stored in cache on the disk
(independently of the off-line IMAP connection option), the directory content
could be drawn very quickly in the GUI and the latest mails would appear at
first. Then the other new mails could appear whereas the user is showing the
directory content!

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs

Reply via email to