[Tickets #162] RESOLVED: VFS Quota

bugs@bugs.horde.org bugs at bugs.horde.org
Thu Sep 22 09:41:55 PDT 2005


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

Ticket URL: http://bugs.horde.org/ticket/?id=162
-----------------------------------------------------------------------
 Ticket             | 162
 Updated By         | Michael Slusarz <slusarz at mail.curecanti.org>
 Summary            | VFS Quota
 Queue              | Horde Framework Packages
 State              | Resolved
 Priority           | 2. Medium
 Type               | Enhancement
 Owners             | Michael Slusarz
-----------------------------------------------------------------------


Michael Slusarz <slusarz at mail.curecanti.org> (2005-09-22 09:41) wrote:

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