emcache / emcache

A high performance asynchronous Python client for Memcached with full batteries included
MIT License
35 stars 14 forks source link

expediency autobatching before get* some values by memcached protocol #167

Open ArtemIsmagilov opened 3 weeks ago

ArtemIsmagilov commented 3 weeks ago

Why should we use Autbathing? To do this, we can send a get command with several keys and the server will return all the values. Maybe I didn’t understand this feature correctly, please correct me. https://github.com/memcached/memcached/blob/b1aefcdf8a265f8a5126e8aa107a50988fa1ec35/doc/protocol.txt#L296

Moreover, you have autobatching for the get command with one key, but there is no get* for several keys

Do you think this feature is needed as such?

ArtemIsmagilov commented 3 weeks ago

It seems that before memcached did not have such an opportunity to receive several keys at once.