0

If I have a client that creates a TCP connection, and send multiple commands to the memcached server, will server guarantee to respond to these commands in the same order?

performanceuser
  • 2,793
  • 5
  • 34
  • 44

1 Answers1

0

Memcached always sends responses in order.

mikewied
  • 5,273
  • 1
  • 20
  • 32
  • Thanks for your response. Could you tell me where I can find this information? Some wiki, documents, etc? I think it depends on the implementation of memcached server right? – performanceuser Oct 23 '14 at 20:11
  • Well, there's should only be one implementation of the server and the server will only process one command at a time per connection. I'm not aware of any documentation that explains this, but I've worked on the memcached code pretty extensively. You should be able to examine any of the clients or the server to see that this is the case. – mikewied Oct 28 '14 at 03:40