Dear All I was trying to look t what all steps one need to perform for better Drupal 7 performance. Came across http://friendlymachine.net/posts/2011/5-ways-to-improve-performance-in-drupa....
Almost 5 different ways are mentioned for performance improvement.
1. Druapl cache enabled, css/java script compress
2. Boost module
3. Memcached module + server
4. Varnish cache + server
My question is, can one use all 4 of them, or one need to choose only 1 of them. Or one need to choose few of them, can somebody guide me in this regard.
Thanks
Well, the 4 mentioned should bot be used all together. You should use Drupal's Default cache, CSS and JS aggregation. You should then use Memcache and varnish combo OR Use Boost only.
memcache caches your Db to memory, and varnish(reverse proxy) caches html in memory, thus saving on php processing and apache hits. Boost creates HTML pages of the pages you create, Should be used when you dont have data that changes too frequent, like the news publishing sites where data is published, and changes are not more.
Checkout what kind of site you are building and implement a good caching mechanism.
On Wed, Dec 12, 2012 at 6:46 PM, Austin Einter austin.einter@gmail.comwrote:
My question is, can one use all 4 of them, or one need to choose only 1 of them. Or one need to choose few of them, can somebody guide me in this regard.
Thanks Vaibhav.
So in one dedicated m/c i am planning to run
1. apache web server 2. tomcat (for running apache solr) 3. Tika (for text extraction) 4. MySql server
And now additionally Memcache and Varnish.
I hope for Memcache and Varnish we need to run corresponding server (am I right ? )
so additionally
5. Memcache server 6. Varnish server
In one dedicated m/c running 6 softwares at a time.., just wondering will it increase the performance or reduce...
Any input ?
Thanks Austin
On Wed, Dec 12, 2012 at 6:53 PM, Vaibhav Jain in.vaibhavjain@gmail.comwrote:
Well, the 4 mentioned should bot be used all together. You should use Drupal's Default cache, CSS and JS aggregation. You should then use Memcache and varnish combo OR Use Boost only.
memcache caches your Db to memory, and varnish(reverse proxy) caches html in memory, thus saving on php processing and apache hits. Boost creates HTML pages of the pages you create, Should be used when you dont have data that changes too frequent, like the news publishing sites where data is published, and changes are not more.
Checkout what kind of site you are building and implement a good caching mechanism.
On Wed, Dec 12, 2012 at 6:46 PM, Austin Einter austin.einter@gmail.comwrote:
My question is, can one use all 4 of them, or one need to choose only 1 of them. Or one need to choose few of them, can somebody guide me in this regard.
-- Regards, Vaibhav Jain
-- [ Drupal support list | http://lists.drupal.org/ ]
If this is a dedicated server, Go ahead and install these. Only thing that can be heavy is the Cron, as Apachesolr and Memcache have their mechanisms which might take long to execute. For Apachesolr, You can use jetty, which is much lighter than Tomcat, and a better option for me.
Also, Varnish wont be good to implement if you have authenticated users much more than Anonymous users. Use varnish only in case you see no of hits are more by anonymous users, Like in case of news / blog sites.
Thanks Vaibhav Even I like to use jetty, but apachesolr is flat from security perspective. I read somewhere with tomcat we can set some restriction like tomcat will communicate with only one particular ip address/port (just read need to do more r&d on this), thereby apachesolr would not be vulnerable to outside attacks.
Do you know, with Jetty can I keep my apache solr safe?
Thanks Austin
On Thu, Dec 13, 2012 at 9:25 AM, Vaibhav Jain in.vaibhavjain@gmail.comwrote:
If this is a dedicated server, Go ahead and install these. Only thing that can be heavy is the Cron, as Apachesolr and Memcache have their mechanisms which might take long to execute. For Apachesolr, You can use jetty, which is much lighter than Tomcat, and a better option for me.
Also, Varnish wont be good to implement if you have authenticated users much more than Anonymous users. Use varnish only in case you see no of hits are more by anonymous users, Like in case of news / blog sites.
-- [ Drupal support list | http://lists.drupal.org/ ]
Not very sure on security, but yes, I am running Jetty on various sites I have worked on, and they work good. Till now, no issues of security has been reported.
On Fri, Dec 14, 2012 at 6:30 AM, Austin Einter austin.einter@gmail.comwrote:
Do you know, with Jetty can I keep my apache solr safe?