Hi,
I'm currently working on an application that has an interface to create a configuration for various projects, and then a set of libraries to read that configuration for each project. Each project needs to be extremely reliable, and preferably as effecient as possible. The configuration consists of a set of complex data structures.
To achieve this, I'm currently using Storable to write the config to disk, then reading it from each project. This was chosen over a database driven approach for reliabilty reasons (some sort of replication is probably a little too complicated for this application).
I'm concerned, however, that this approach may be inefficient. The application is likely to generate high traffic, so caching the config is probably not a real option (it's running under mod_perl, so memory usage could well become an issue), although the config is unlikely to get updated very often.
Does anyone have any other solutions that will still be as reliable, but possibly more efficient?
In reply to Configuration Files by Mutant
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |