• Resolved mariusmrs

    (@mariusmrs)


    Hello guys,

    Let me tell you this is the best plugin i used. (better that the paid ones).

    But, i need some help, if you may and want to tell me.

    I am using page cache and db cache, on a dedicated server with 32GB RAM / 4 core i7, for a website with 100k daily unique visitors and aprox 1500-2000 online users.

    So, i’ve set memcached on 2GB cachesize and 2000max connections.

    But is it for the best to use memcached for page cache? For database works well, curently i’m using page cache disk enhanced and database memcached, if i put page cache on memcached the site is faster, but is it ok for that ammount of traffic?

    I mean, if it reaches 2gb cache size it will crash or something?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter mariusmrs

    (@mariusmrs)

    Also, i’ve found a bug.
    When using memcached on page cache, even if i deleted last modifed from the list. It still caches the last modified tag. Can that be resolved somehow?

    Thanks.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @mariusmrs

    Thank you for the inquiry and I am happy to assist you with this.
    AS Memory based caching is more beneficial to use with DB/object caching, it is not necessarily so with Page Cache.
    Memcached is assigned a specific amount of memory. Disk cache, on the other hand, is managed by the OS and uses as much free memory as is available on the server. This is both good and bad, depending on how much memory is available, and how well behaved the applications on that server are. For example, you might give Memcached 2 GB of memory, but the OS might have 26 GB of free memory. The OS will use that 26 GB to cache disk access (read and write), not just of the files in your cache directory, but of all frequently accessed files.
    Either way, you should test bot and see how it works for you.
    Thank you!

    Thread Starter mariusmrs

    (@mariusmrs)

    Hello,

    I’ve testet memcached, and it’s alot faster, alot alot. But i’m afraid to use it because i have big traffic and i don’t know if it’s safe. I gived 4gb to memcached from the RAM.

    But, if you can check that error please, even if i deleted Last-Modified from headers to cache, it still cache that tag.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Page Cache & DB Cache’ is closed to new replies.