[elephant-devel] Persistent class slot
wrn.lynn at gmail.com
Sun May 30 15:42:01 UTC 2010
> Why not have a caching get-instance-count function instead?
I doubt that will work well for datasets on which people are adding/deleting
records. If we just cache the count, then we will need to do a recount every
time some one adds/deletes some records, which will halt the site for a
while. I thought it is better to update the persistent count slot when the
records are deleted/added so we won't need to do count at all (unless when
the count is inconsistent with the dataset).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the elephant-devel