roc230 / spymemcached

Automatically exported from code.google.com/p/spymemcached
0 stars 0 forks source link

setMulti method #39

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It would be helpful to improve performance if we had a putMulti(keys)
function (similar to the getMulti(keys) method that exists already ;)

Original issue reported on code.google.com by Raid...@gmail.com on 19 Nov 2008 at 9:27

GoogleCodeExporter commented 9 years ago
I don't think this will increase performance over the current packetization 
over the
current items.

There's specifically designed functionality in the protocol for creating
high-performance multi-gets, but not so much in sets.  Sets should also be
considerably less frequent, so I think it's less of an issue.

If you want to write one and demonstrate how it helps, I'd be happy to look at 
it,
though.  :)

Original comment by dsalli...@gmail.com on 19 Dec 2008 at 3:56

GoogleCodeExporter commented 9 years ago
Due to some binary protocol changes, it might be possible to create a better
performing multi-set.  Still won't be great in the text protocol, but it'll do
something interesting, anyway.

Original comment by dsalli...@gmail.com on 8 Mar 2009 at 1:39

GoogleCodeExporter commented 9 years ago

Original comment by dsalli...@gmail.com on 8 Mar 2009 at 1:42

GoogleCodeExporter commented 9 years ago

Original comment by dsalli...@gmail.com on 8 Mar 2009 at 1:43

GoogleCodeExporter commented 9 years ago
I'm closing this with 2.4 because of two additions:

CacheLoader is a higher-level cache load thing.

Binary sets are automatically batched just like multigets.

Original comment by dsalli...@gmail.com on 22 Oct 2009 at 4:28