performance - memcached over NFS? -


i've been looking @ performance tuning environment , i've setup number of parameters improve nfs performance, simple things setting mount options, advanced setting sysctl parameters , considered enabling jumbo frames on nics , firewall.

i'm running nfs , memcached on same server, , feel possibly gain performance improvement removing memcached networking overhead.

some environment info in order first:

4 load balanced web servers in dsr setup, connected asa 5510. 2 mysql servers in master/master replication. 1 app/file server running memcached , nfs.

adding additional servers not on table discussion.

web servers serve content off of exported nfs mounts. nfs mounts on web servers setup use udp instead of tcp.

web servers run varnish in front of apache/php, varnish setup serve images, css, , javascript, via separate subdomains each.

site loads within 5 seconds of time, occasionally, @ night when traffic low, see take longer load. 10 seconds. sure that's not bad, there's no reason shouldn't able see better performance. files served on nfs. way acquired customer recently, after original tech switched positions.

what thought could/should since server optimized nfs connections, setup memcached run in unix socket mode, disables network functionality, , place unix socket on exported filesystem. way web servers still connect memcached, remove of overhead because have nfs mounts running udp instead of tcp.

a unix socket file on filesystem merely handle 2 processes connect same socket; of communication local, , putting on nfs (if that's possible) won't enable communication across machines. besides, if nfs had mechanism, worse using memcache directly.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -