On Jun 10, 2013, at 9:06 PM, Devlin McGregor <
devlin...@gmail.com> wrote:
> We deploy memcached on our app servers nodes and use localhost:11211 for access. I understand there's some overhead with tcp/ip despite requests being routed on the local network interface, but I read using UNIX sockets for talking to memcached is a performance booster and reduces response time latency. Does spy support unix socket type connections?
spymemcached doesn't support this, no.
Generally speaking, people use memcached because it distributes easily, and UDS doesn't distribute at all.
While it is probably measurable… probably in terms of CPU usage and maybe on latency at something like the max 99th percentile, you're talking about probably a microsecond or two of latency difference.
If a couple of µsec and the CPU usage are noticeable in your deployment, then you've already tuned the heck out of the JVM for your app, probably wrote your own transcoder, and are operating something like an ad targeting network. Well, the last one isn't very likely on one system. :) Or more likely, you'll put everything in one process.
Hope that helps,
Matt