Hi!This is a multi-interface patch. It allows memcached to bind to multiple interfaces (and per Tomash wish'es you can do this via DNS entries... buyer beware). If you are actually saturating your ethernet card, this will allow you to throw more at it.
What does it not do? I setup the patch to allow for the unix_socket code to be aligned with the TCP code. This would allow memcached to both serve TCP connections and UNIX socket connections at the same time (for those of you putting nodes on web heads this will offer a nice performance boost). I'll create that patch once this patch is accepted (its not a lot of effort... I just hate patches that do multiple things at once... harder to review).
If it looks good to others (feedback encouraged!) I'll merge it back into my tree if non-programmers want to try it.
Cheers,
-Brian
multi_interface.patch
Description: Binary data
-- _______________________________________________________ Brian "Krow" Aker, brian at tangent.org Seattle, Washington http://krow.net/ <-- Me http://tangent.org/ <-- Software http://exploitseattle.com/ <-- Fun _______________________________________________________ You can't grep a dead tree.
