[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Global question


On 5/7/07, Jonathan Vanasco <suppressed> wrote:
IIRC, Wouldn't the fastest method possible be using Storable and a
simple local file on the server ?

        Building a perl var from a storable has almost no overhead.

Storable is fast, but not using it is considerably faster.  There's no
need to use it for storing simple strings.  BerkeleyDB does shared
memory caching, so commonly accessed data doesn't need to go to disk.

        Unless you're already using mysql in your app ,  I wouldn't add it
in -- you'll introduce a new potential performance bottleneck.

Primary key lookups in MySQL over local sockets are very fast --
faster than memcached.

- Perrin


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.