Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re^5: learning memcached

by Anonymous Monk
on May 21, 2011 at 03:18 UTC ( #906029=note: print w/replies, xml ) Need Help??

in reply to Re^4: learning memcached
in thread learning memcached

However, retrieving even the simplest of results from memory should be faster than opening a file on disk, preparing a db handle, querying, and then returning the result.

I don't think SQLite uses sockets. memcached does use socket. That might explain the difference, maybe benchmark against a database which uses sockets.

Or maybe opening "foo.txt" is skewing the results (unlikely, but it could happen)

At worst, it should be about the same, not 30% worse

I literally don't know about that, you might wish to ask the mailing list (amusing story about that).

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://906029]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2017-11-24 04:10 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (344 votes). Check out past polls.