[imp] disallow Dynamic View

Michael M Slusarz slusarz at horde.org
Fri Jan 18 22:52:10 UTC 2013


Quoting Brendan Oakley <gentux2 at gmail.com>:

> My guess is that the dynamic mode is simply designed for IMAP servers
> with faster responses.

This is simply an inaccurate statment.  There are LESS IMAP calls per  
page load in dynamic view than in basic view, since basic view has to  
recreate all sorts of state that, in dynamic view, can be cached.  Not  
to mention that basic view has to create the entire UI every time the  
user clicks a page (and may have to initialize other Horde  
applications, depending on menu/sidebar settings, which only adds to  
the load).  Dynamic view only requires simple tasks to be completed.

> It
> appeared to me as if it was queuing up commands, and if the one took
> too long, IMP would time out and raise an error talking to the server,
> and then all the subsequent commands that had been waiting their turn
> would throw an error, so the screen peppers itself with red error
> messages. The preview pane was very aggressive in this respect.

This is a *completely* different issue than saying "dynamic view is  
slow".  This is a different use pattern of the UI.  It has nothing to  
do with the design/speed of the underlying code.

If this is unacceptable to you, disable and lock preview mode.

But from a practical standpoint: unless/until you can fix the true  
problem of the "slowness" - the IMAP server - any solution (whether  
IMP or other software) is going to provide unacceptable performance.   
(Without any sort of optimizations, preview AJAX requests should worst  
case scenario take 500-1000ms maximum.)

michael

___________________________________
Michael Slusarz [slusarz at horde.org]



More information about the imp mailing list