Hi, On Mon, Mar 9, 2009 at 6:02 PM, Paco Avila <[email protected]> wrote: > The real question should be "Do I need to call the garbage collection in my > app" ? :P > > And the answer seems to be "YES"!
Well, it depends. If your usage patterns permit, you could also just ignore garbage collection entirely. If you don't have lots of short-lived files (or binary properties) in the repository, then the cost of keeping some extra unused binaries in the data store may well be smaller than the cost of getting rid of them. It's worth estimating the rate at which you remove binary data from the repository, and using the result to calculate the best garbage collection intervals. The low (and declining) cost of storage and the typical usage patterns of many content applications (especially ones with versioning) may well suggest that the most economic alternative is to never run the garbage collector. BR, Jukka Zitting
