mdelete and Cache::Memcached::delete_multi()
brian at tangent.org
Thu Nov 15 18:31:23 UTC 2007
On Nov 13, 2007, at 7:12 PM, Tomash Brechko wrote:
> I have no doubts it will outperform single deletes because of the
> latency of waiting the reply before sending the next command. More
> interesting would be to compare it to streamed delete, like the one
> that Marc is willing to share, but not yet.
libmemcached can stream deletes when running asynchronously, so it is
possible to test the performance.
James Day and Domas have been complaining about Wikipedia having
issues with Memcached being too chatty. I suspect the real advantage
in multi-delete will be that it saves in having to process, or drop,
multiple responses to deletes.
Adding multi-delete sounds like a good idea.
Brian "Krow" Aker, brian at tangent.org
http://krow.net/ <-- Me
http://tangent.org/ <-- Software
http://exploitseattle.com/ <-- Fun
You can't grep a dead tree.
More information about the memcached