> I would like your thoughts on the cache management concept of the > service. I'm looking at MLDBM::Sync as the mechanism for managing the > filesystem representation of the in-memory hash content. What to manage > the in-memory structure itself in terms of accessing its content?
MLDBM::Sync includes an option for using an in-memory cache in front of the dbm cache. This is fine for read-only data. > Is a Tie structure too expensive? Tied variables are slower than calling methods on objects, but if you have a class implemented as a TIE, you can always just call the STORE, FETCH, etc. methods directly. - Perrin