linux - Memcached: Where to put? -


For the Drupal stack, I have 3 servers:

  • Varnish
  • Web server
  • Database server

    .. and Assume that I have only 3 server boundaries. I no longer have servers. .

    Now I have to set up memcatch , but I'm not sure where to set it up.
    So made for drupal stack :

    • Where to put it? (Instead of talking about another separate box.)

      Honestly, as I found the Drupal Memkacked Module , even though I did not have the Memory is meant for the application server, where the scripts are sitting on, so I have put it on the web / application server but it seems that the result is worse earlier. So how? On Database Server? Or, at all?

      Your varnish server is already using its own RAM to store cached pages is. Its weight should probably be kept at a minimum, so that it can quickly prepare the responses to HTTP requests. Caching with Memcache will not reduce your load.

      Your Drupal Server will already respond to requests. D Drupal usually consume a lot of RAM. And the main reason for putting varnish on it is to reduce its load. It does not seem to ask more than this server. Caching with the MacCheck will not reduce your load.

      Your database server is mostly busy with disk I / O, which is for database requests made by Drupal. Its main load is I / O binding and caching with MACC will reduce your load. Memcached and disk should not add I / O and many CPUs will not be required. This will only add more network I / O, so long as your database server is not overwhelmed by the network I / O, it should be fine.

      So I will keep the memcatch on the database server.

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -