mecached - text protocol?

Brad Fitzpatrick brad@danga.com
Fri, 16 Jul 2004 12:12:39 -0700 (PDT)


On Fri, 16 Jul 2004, Andy Bakun wrote:

> Does anyone have any stats on how often memcached is waiting for network
> activity?  Does gigabit ethernet make a difference?

With GigE, the win is more latency than bandwidth, but most GigE drivers
are set by default to coalesce interrupts, resulting in a latency almost
equivalent to FastE.

Of course, applications shouldn't serialize many memcached requests in the
first place.  That's why most (at least the Perl module) support
parallel/pipelined gets.

> Does FreeBSD, for example, perform better as a memcached server than
> Linux or HP-UX (although, at this point, unless there was something
> seriously wrong with the performance under a certain OS, would it be
> wise to switch host OSes for memcached for a reason other than to
> squeeze that last bit of performance out of it?).

FreeBSD and Linux 2.6 seem equally good.  (kqueue and epoll, respectively)

> Is there a list of currently pending bottlenecks that will eventually be
> taken care of? Is "does too many string comparisons" on this list?

None known.  (to me at least)

- Brad