[Tickets #13747] Re: Speed up ActiveSync synchronisation handling

noreply at bugs.horde.org noreply at bugs.horde.org
Wed Dec 10 17:32:54 UTC 2014


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: https://bugs.horde.org/ticket/13747
------------------------------------------------------------------------------
  Ticket             | 13747
  Updated By         | Michael Rubinsky <mrubinsk at horde.org>
  Summary            | Speed up ActiveSync synchronisation handling
  Queue              | Synchronization
  Version            | Git master
  Type               | Enhancement
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
-Owners             |
+Owners             | Michael Rubinsky
------------------------------------------------------------------------------


Michael Rubinsky <mrubinsk at horde.org> (2014-12-10 17:32) wrote:

More detail:

Also, this is exacerbated by the fact that OL synchs every folder. So,  
if any email in any folder has had a change in the maillog, the imap  
server must perform a header search for the Message-ID.

Still, something looks screwy:

The cachegrind file shows that Horde_Core_ActiveSync_Driver::get  
ServerChanges() is called 195 times - which should match the number of  
folders that were checked for changes. During those checks, it looks  
like the Horde_Core_ActiveSync_Driver::_getMaillogChanges() method was  
called over 6k times. I seriously doubt there were THAT many changes  
during a single sync cycle.

I would next try to figure out why the maillog is returning so many  
changes since the last sync. Start in  
Horde_Core_ActiveSync_Driver::_getMaillogChanges() and use  
Horde::debug($changes) after line 3234 to see what is returned from  
the maillog.






More information about the bugs mailing list