PHP: optimum configuration storage ?

Posted by Jerome WAGNER on Stack Overflow See other posts from Stack Overflow or by Jerome WAGNER
Published on 2010-04-12T15:01:31Z Indexed on 2010/04/12 15:02 UTC
Read the original article Hit count: 484

Filed under:
|
|

Hello,

My application gets configured via a lot of key/values (let's say 30.000 for instance)

I want to find the best deployment method for these configurations, knowing that I want to avoid DEFINEs to allow for runtime re-configuration.

I have thought of - pre-compiling them into an array via a php file - pre-compiling them into a tmpfs sqlite database - pre-compiling them into a memcached db

what are my options for the best random access time to these configuration (memory is not an issue) ?

Thanks Jerome

© Stack Overflow or respective owner

Related posts about php

Related posts about configuration