My application monitors the status of about 1000 objects. These objects are read and written to persistent storage (serialized) without any special order.
Currently, the application uses the registry to store each state of the object. This is nice because:
It's simple
It's very fast
The state of an individual object can be read / written without having to read a larger object (for example, pulling a fragment from a large XML file)
There is a decent editor (RegEdit) that makes it easy to manipulate individual elements
Having said that, I wonder if there is a better way. SQLite seems like an opportunity, but you do not have the same level of multiple reading / multiple writer that you get with the registry, and there is no easy way to edit existing records.
Any best deals? A bunch of flat files?
c ++ windows caching data-structures registry
DougN Sep 25 '08 at 21:12 2008-09-25 21:12
source share