Forum Discussion

Nate_Amsden_450's avatar
Nate_Amsden_450
Icon for Nimbostratus rankNimbostratus
Dec 05, 2007

load balancing memcached

Was wondering if anyone out there is load balancing memcached? I found this post a while back but it seems the thread hit a dead end with regards to persistence and the restarting of servers.

 

 

http://lists.danga.com/pipermail/memcached/2006-June/002287.html

 

 

thanks

 

 

nate

3 Replies

  • Patrick_Chang_7's avatar
    Patrick_Chang_7
    Historic F5 Account
    Actually crc32 is not a good hash as it results in the requests not being distributed evenly between the memcached servers. md5 provides superior results, but at the cost of more CPU. This works best with 9.4.2 or later as there is a new function (active_members -list) which makes the iRule much simpler to write/manage.
  • thanks! I'll check it out. We'll be getting some new BigIPs next month which I plan to run a newer rev of code on, currently on 9.1.