On 8/7/07, Mark Torrance <[EMAIL PROTECTED]> wrote:
> Here's another alternative you might consider: If you are looking for a way
> to have the lookup be fast (faster than you could get from a database) but
> you don't want to let each Apache process grow as large as this data
> structure, you could store it in Memcached.

For something small that only lives on one machine, a dbm file will be
faster and easier to use.  You can just SDBM_File to get started.

I would also point out that if you use MySQL it caches quick lookups
like this so they are extremely fast.  You might want to try it before
you bother adding another storage mechanism.

- Perrin

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to