> Howdy memcached, > I've been thinking about how to cancel an in-flight pipelined request to > memcached. I'm using an RPC stack called finagle, and it typically cancels > RPCs in a single, standardized way, by closing the connection. However, if > requests are pipelined, I could > accidentally cancel many requests this way, instead of just one. > > Is there any other good way of signaling to the server to not try to send > back data, or to stop trying to do the computation, or do you think it's > wiser to keep the connection open and just discard the data on arrival? > > What do other memcached clients do today? > Thanks, > Moses
If you're using binary protocol, it's trivial enough to just ignore the response. Nothing you send to memcached should be a waste of resources other than bandwidth for the response. Probably the same for ASCII, but I don't think it pipelines very well. -- --- You received this message because you are subscribed to the Google Groups "memcached" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
