Welcome to Centmin Mod Community
Become a Member

Memcache for the forum and APC for other requests?

Discussion in 'Forum software usage' started by pamamolf, Jul 7, 2014.

  1. pamamolf

    pamamolf Well-Known Member

    2,498
    229
    63
    May 31, 2014
    Ratings:
    +390
    Local Time:
    4:12 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    Hi

    On a forum i was wondering if the best solution is to use at the forum configs the memcache and leave the APC to cache the rest?

    Thank you
     
  2. eva2000

    eva2000 Administrator Staff Member

    28,972
    6,575
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,759
    Local Time:
    11:12 PM
    Nginx 1.13.x
    MariaDB 5.5
    yes APC Cache or Zend OpCache for PHP files and for forum data caching memcached
     
  3. RoldanLT

    RoldanLT Well-Known Member

    3,829
    929
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,258
    Local Time:
    9:12 PM
    1.11
    10.2
    It thought APC also work for data caching?
     
  4. eva2000

    eva2000 Administrator Staff Member

    28,972
    6,575
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,759
    Local Time:
    11:12 PM
    Nginx 1.13.x
    MariaDB 5.5
    yeah it does but APC Cache for data caching has high fragmentation of cache unlike Memcached for data caching
     
  5. pamamolf

    pamamolf Well-Known Member

    2,498
    229
    63
    May 31, 2014
    Ratings:
    +390
    Local Time:
    4:12 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    Memcached always using less than 1 mb on a forum and yes i have been activated on the config file as ips wants ...

    I don't know if this is normal but seems to law if you compare it with APC usage at 70mb about :)

    Ok it is not too active forum but only 700kb about?
     
  6. eva2000

    eva2000 Administrator Staff Member

    28,972
    6,575
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,759
    Local Time:
    11:12 PM
    Nginx 1.13.x
    MariaDB 5.5
    yes because most forums don't utilise alot of data caching so memcached usage is low

    APC memory usage includes both php opcode cache + data cache, so opcode cached memory usage makes up majority for usage
     
  7. RoldanLT

    RoldanLT Well-Known Member

    3,829
    929
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,258
    Local Time:
    9:12 PM
    1.11
    10.2
    My forum is consuming data caching of memcached from 400mb to 1gb.
     
  8. pamamolf

    pamamolf Well-Known Member

    2,498
    229
    63
    May 31, 2014
    Ratings:
    +390
    Local Time:
    4:12 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    Xenforo or vbulletin?
     
  9. eva2000

    eva2000 Administrator Staff Member

    28,972
    6,575
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,759
    Local Time:
    11:12 PM
    Nginx 1.13.x
    MariaDB 5.5
    i believe @RoldanLT is talking about his Xenforo forums

    really depends on forum software and it's plugins/addons

    For vBulletin + vB Optimise Pro I have clients doing nearly 4,000 memcached requests/second and 10 billion cache hits per month with 200-600MB of cached data i.e. http://vbtechsupport.com/1526/

    [​IMG]
     
    • Like Like x 2
  10. RoldanLT

    RoldanLT Well-Known Member

    3,829
    929
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,258
    Local Time:
    9:12 PM
    1.11
    10.2
    Yes on my XenForo Forum.
    XenForo alone takes 300mb to 500MB of the cache and the rest is from ngx_pagespeed :)