|
|
| go ahead... be a heretic | |
| PerlMonks |
Comment on |
| ( #3333=superdoc: print w/ replies, xml ) | Need Help?? |
|
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). In reply to Re^5: learning memcached
by Anonymous Monk
|
|