Tricks to fasten up your server?

Discussion in 'Site & Server Administration' started by sanyi007, Dec 13, 2010.

  1. #1
    Hi all!

    I'm looking for advices server side tricks to fasten up your side. Ok, i already heard about - optimize coding, cache, etc. etc, i'm using most of them as i learned them to use on shared hostings.

    I'm now hosted on a vps (wordpress site) so i have much more possibilyties and permissions over my site.

    I'm using kloxo (so ioncube and zend is installed) and lighttpd with compress and expire headers. My mysql and fastcgi is optimized. The thing i'm looking for is other solutions, like:
    xcache, apc, eaccelerator, memcache

    I installed xcache, but is it automatically working? Or should i insert some code in my wordpress? And is memcache good on a vps (1.0 gb ram burstable to 1.5gb)? Is it good to install both? And memcache works without inserting code in php?
    Are there any other applications which are fasten up php sites?
    Is nginx better than lighttpd (in terms of cpu and memory)?

    Please post me some ideas and advices on this thread regarding performance!

    Thanks for all answers!
     
    sanyi007, Dec 13, 2010 IP
  2. raffo77

    raffo77 Active Member

    Messages:
    234
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #2
    Using Memory Cache system like xCache or memcached need to be add a plugin of wordpress. You find a lor of plugins here http://wordpress.org/extend/plugins/search.php?q=memcached&sort= for memcached.

    I suggest you to disable all logs of access and others logs that you don't need it to save more I/O Wait of the CPU and I/O of Disk.
     
    raffo77, Dec 13, 2010 IP
  3. sanyi007

    sanyi007 Peon

    Messages:
    189
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    i see. Thanks (so that is the reason xcache was not fasten up my site, simply because it was not implemented in my code :( )
     
    sanyi007, Dec 14, 2010 IP
  4. Imran

    Imran Notable Member

    Messages:
    2,340
    Likes Received:
    190
    Best Answers:
    0
    Trophy Points:
    230
    #4
    Make sure you have access to xcache admin so that you can check and fine tune the memory allocated.
     
    Imran, Dec 14, 2010 IP
  5. sanyi007

    sanyi007 Peon

    Messages:
    189
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Hi!
    I'm not using xcache admin yet,but i see i will need it in the future. The cache size is properly edited in xcache.ini.
     
    sanyi007, Dec 14, 2010 IP