Open dph5199278 opened 2 years ago
indeed, we have not implement memcached binary support yet.
indeed, we have not implement memcached binary support yet.
Are there any plan to support binary protocols? thanks
Yes, we have plans. Pls dm me at discord or send me an email - I would like to understand your use case better before prioritizing this task.
Yes, we have plans. Pls dm me at discord or send me an email - I would like to understand your use case better before prioritizing this task.
This is my complete use case. Thanks.
I am not talking about a reproducible test, I am talking about your system in general. Why do you use memcache in 2022 when writing a new code and cetera.
I am not talking about a reproducible test, I am talking about your system in general. Why do you use memcache in 2022 when writing a new code and cetera.
: ) In my case
Thanks.
Ok, so it's actually an interesting use-case for us and this is why I wanted to chat with you. You prefer talking here? Discord is faster...
Ok, so it's actually an interesting use-case for us and this is why I wanted to chat with you. You prefer talking here? Discord is faster...
Yes, I never used Discord, so this is better : )
ok,
what's the size of your memcached cluster? are you throughput constrained? memory bounded? what would be the decisive factor for you to switch to DF i.e. what's the cost difference that would cause the flip?
Can you check with text-based protocol and decide whether it's more cost efficient for you without binary protocol support? And then if yes, we can prioritize the feature?
my email is roman -at- dragonflydb.io - feel free to reach out there (I hope you used email before 😉 )
what's the size of your memcached cluster? are you throughput constrained? memory bounded? what would be the decisive factor for you to switch to DF i.e. what's the cost difference that would cause the flip?
Can you check with text-based protocol and decide whether it's more cost efficient for you without binary protocol support? And then if yes, we can prioritize the feature?
Prioritize other features, because the old system has been running for a long time. For performance, stability is the priority, so we can wait for your binary protocol support.
: ) Thanks! I send same email too.
(I think) we're looking for support of binary protocols too.
This is an example get request,
Memcache Protocol, Get Key Request
Magic: Request (128)
Opcode: Get Key (12)
Key Length: 35
Extras length: 0
Data type: Raw bytes (0)
Reserved: 0
[Value length: 0]
Total body length: 35
Opaque: 65536
CAS: 0
Key: my-modified-key-name
Memcached responds with a normal result / key not found response, but dragonfly there is only a tcp ack, and then nothing else is sent - causing the client to log error 31 (timeout), and send the fin/rst after the configured timeout (5s in our case).
It would be helpful for the server to respond with something more helpful, maybe 28 = MEMCACHED_NOT_SUPPORTED
?
how can I send a binary request easily?
Describe the bug When I use text protocols, everything is ok. But when I use binary mode, the program will report an error.
To Reproduce
Expected behavior work to ok.
Screenshots
Environment (please complete the following information):
Reproducible Code Snippet