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

Re: BerkeleyDB cache for webservice


On 4/5/07, Jeff Pang <suppressed> wrote:
I've used both (DB_File and memcached),but I found memcached was faster than DB_File since memcached used memory as the cache device but DB_File used local filesystem.Am I not right?:)

No, BerkeleyDB is significantly faster than memcached.  It uses a
shared memory cache.  The calls to it are in-process calls with no
network overhead while memcached makes all calls over TCP sockets.

Note that DB_File is not the one I'm talking about here.  I mean the
BerkeleyDB module.

- Perrin


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