[Tickets #2685] NEW: Add Quota Display Page to Gollem

bugs@bugs.horde.org bugs at bugs.horde.org
Mon Sep 26 23:39:05 PDT 2005


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

Ticket URL: http://bugs.horde.org/ticket/?id=2685
-----------------------------------------------------------------------
 Ticket             | 2685
 Created By         | Michael Slusarz <slusarz at mail.curecanti.org>
 Summary            | Add Quota Display Page to Gollem
 Queue              | Gollem
 Version            | HEAD
 State              | Accepted
 Priority           | 1. Low
 Type               | Enhancement
 Owners             | 
-----------------------------------------------------------------------


Michael Slusarz <slusarz at mail.curecanti.org> (2005-09-26 23:39) wrote:

>From Bug #162:
I hesitate to do this because determining the current size of all files in a
VFS backend can be a very time-consuming process (e.g. a ftp account with
hundreds of folders).  The code as it stands right now only calculates the
size when a write process is performed.  This will not happen on the
majority of page loads.  If you are asking to recalculate the filesize on
every page load with some kind of status bar, this will be a terrible
performance issue at this time.

Other options to consider:
1.) Caching filesize - this will only work if we can be sure that the Horde
VFS object in the current session is the only method that can be used to
update the filesystem.  This might be doable if we add an
'exclusivevfsupdate' parameter that indicates this is the case.  In the
default case, however, we can't cache.
2.) Have a separate page in gollem that can be accessed that will show the
VFS quota information - a better option.




More information about the bugs mailing list