Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 25 Jul 2014, 10:45
dutchbb dutchbb is offline
 
Join Date: Dec 2003
How to set up caching

We recently moved to a new server with more memory (128GB), now we want to optimize the caching to make optimal use of this.

Currenly I'm running Xcache, but I've read a lot of good stuff about PHP 5.5's Opcache , APC, Igbinary, Memcached ...

What combination should I use and I there a good tut out there?

Thanks

PS: server runs on nginx and ubuntu FYI
Reply With Quote
  #2  
Old 29 Jul 2014, 15:45
dutchbb dutchbb is offline
 
Join Date: Dec 2003
anyone?
Reply With Quote
  #3  
Old 29 Jul 2014, 15:52
Dave Dave is online now
 
Join Date: Jun 2010
Real name: Dave
I believe APC is developed by the contributors of PHP and is officially supported(?), that would be a good option to choose. I don't think there's a huge difference between the PHP caching modules.

You can do aggressive complete page caching with Varnish, but you must configure it so it will only cache content with users who are not logged in (check if cookie set for example). Users who are logged in obviously get shown different phrases and things on their screen.

Using MariaDB instead of MySQL will also show a nice improvement, MariaDB also has very nice caching features.
It's a matter of installing MariaDB and moving over your db files, no need to change any PHP settings since MariaDB works with all of the existing MySQL modules.
__________________
https://technidev.com - security, development, exploits, vBulletin
dave[at]technidev[dot]com

Contact me for custom vBulletin 3/4 work & server/website management.
Reply With Quote
  #4  
Old 02 Apr 2015, 23:30
thetechgenius's Avatar
thetechgenius thetechgenius is offline
 
Join Date: Jun 2014
My Web Server that is running vBulletin is running on Windows Server 2008, so I decided to try out Wincache. And it has been running really well, I have it running as a PHP Extension, and I set it up with vBulletin. Like I said, its been running really well.
__________________
TheTechGenius.Net Official IRC Network (ONLINE)
Host: irc.thetechgenius.net
Port: 6667
TTG IRC Web Client - http://thetechgenius.net/irc.html
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 20:34.

Layout Options | Width: Wide Color: