Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support meta commands #156

Open
lixuanbin opened this issue Aug 25, 2022 · 2 comments
Open

Support meta commands #156

lixuanbin opened this issue Aug 25, 2022 · 2 comments

Comments

@lixuanbin
Copy link

Memcached offered meta commands since version 1.6, any plan to implement this?

@TysonAndre
Copy link

https://github.com/memcached/memcached/wiki/MetaCommands#memcached-text-protocol-meta-commands as of 2021, it's also no longer experimental (I'd been looking into this for different memcached clients)

NOTE: These commands are new. Please let us know if you run into any trouble with the API or the documentation! The meta protocol is no longer considered experimental, please give it a shot!

@QuangTung97
Copy link

QuangTung97 commented Nov 8, 2022

May be you should try my implementation of memcache client:
https://github.com/QuangTung97/go-memcache
It uses TCP Pipelining & Batching + Connection Round Robin to connect to the memcached server.
It support mostly Meta Commands but missing some features, e.g memcached flags

Sorry for the currently poor documentation, but examples are in the test files:
https://github.com/QuangTung97/go-memcache/blob/master/memcache/pipeline_test.go#L80

Please share with me the results if you do benchmarking

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants