By Pushkar Gaikwad on
Ok, I feels that my drupal site loads very slow[from my browsing experience] now this can be because I am on shared hosting with 92 more sites on it and may be becasue drupal is completely database driven so it can not be fast(really?)
What options I have other than cutting down my lunch to pay for a dedicated sever
Comments
A number of reasons
This may have little or nothing to do with Drupal, per se. There are so many factors involved.
I am on a server with even more accounts. But it does matter what kind of accounts. Do you know who they are? Are they high volume sites?
Much more likely is your site itself. I'm assuming your real complaint is about the front page. How big and busy is it? How many pictures are on it, and what size are they? How many nodes are you allowing it to display (this is configurable).
What kind of internet connection do you have? How fast/reliable is your ISP? (I find my ISP frequently takes "breaks" and I get no traffic for up to several minutes.)
In my experience, complaints of slowness are almost always a result of the site design itself, and not the host or CMS.
Nancy W.
proudly running 3½ sites on Drupal so far
NancyDru
Hi, do you have a link to
Hi,
do you have a link to your site??
I wouldn't go for a new server just yet, try running it through this http://www.websiteoptimization.com/services/analyze/ it'll analyze your site performance HTML output-wise.
cheers
Tom
______________________________________________
http://adrenalinehub.com/thomjjames - Action Sports Community
http://www.sustravel.co.uk - Sustainable Travel Magazine
http://edgecreations.co.uk
______________________________________________
https://tomswebstuff.com
Verrrrry Interesting...
Hmm, most of the things that analyzer didn't like about my site ARE Drupal! For the most part they are the result of the many different CSS's that are in 4.7. Hopefully 5.0 will fix some of that.
Nancy W.
proudly running 3½ sites on Drupal so far
NancyDru
Hi, yeah when i first ran
Hi,
yeah when i first ran one my sites through the analyzer it was the HTTP requests (loading CSS + JS files) that seemed to be the problem.
SOLUTIONS? (maybe)
You can reduce file sizes quite significantly just by removing whitespace and linebreaks from HTML, CSS and JS files, also compress any layout images, and most significant is to use HTTP compression (if your server allows). These steps gave one of my sites dramatic speed improvements!
CSS PREPROCESSOR
I've had a go at a CSS preprocessor module and hack for 4.7, i can share it if you are interested?? It seems to wok well for my site but its only had very basic testing.
I'm also working on Javascript preprocessor for 4.7 using the same principles.
I've since decided to move my site to Drupal 5, lots of custom modules to update though!
If anyone wants to test the CSS + JS preprocessors for 4.7, give me a shout.
cheers
Tom
______________________________________________
http://adrenalinehub.com/thomjjames - Action Sports Community
http://www.sustravel.co.uk - Sustainable Travel Magazine
http://edgecreations.co.uk
______________________________________________
https://tomswebstuff.com
CSS Compression in 5.1
I notice that there is something in 5.1 that mentions combining and compressing the CSS's. Is your hack similar? Does anyone have any experience with using this new feature? How much does it help?
I am most interested in how this feature handles the ordering of the CSS elements. I have things in my CSS that override the theme and standard Drupal CSS's. If this feature changes my stuff to being ahead of them, then my overrides would be lost.
I am probably going to change my half site to 5.1 soon, maybe it will provide a bit of a test case.
Nancy W.
proudly running 3½ sites on Drupal so far
NancyDru
Hi, yeah my CSS preprocessor
Hi,
yeah my CSS preprocessor module just takes the work from Drupal 5 and puts it into a Drupal 4.7 module. I've got a lot of custom modules so i wasn't sure if had the time to update them to Drupal 5 so i thought i'd try and bring abit of Drupal 5 to my site.
Heres some stats http://drupal.org/node/100516 that show what the preprocessor can do for preformance.
cheers
Tom
______________________________________________
http://adrenalinehub.com/thomjjames - Action Sports Community
http://www.sustravel.co.uk - Sustainable Travel Magazine
http://edgecreations.co.uk
______________________________________________
https://tomswebstuff.com
I'd really like to test the preprocessor
Hi Tom,
I'd really like to test your CSS & JS preprocessor. I can't upgrade to 5.0 either because of the amount of modules that need updating, and I'd really like to see the performance improvements those features offer. I've shot you an email regarding this also, and I look forward to your reply!
Cheers,
David
I run a high-traffic Drupal
I run a high-traffic Drupal site and after a recent load spike my host kindly switched me to FastCGI. You are likely to be running in ordinary CGI mode, which is probably why performance seems to be sluggish (other than the possibility that your server may be overloaded). Also don't forget to turn your cache on.
There are apache caching modules available too, which may be more efficient than the Drupal cache, although this would probably require installation that your host may not want to do. It sounds like you are not ready for a dedicated server yet - try asking your host to put you on a server that has a better sites/server ratio.
Again, I suggest
Again, I suggest that you attack your own stuff first. Make sure you've taken care of your own performance issues as much as possible before seeking hosting provider remedies. You never know when you'll hit "the last straw" and have them pull the plug on you suddenly. This has happened to me and it took more than a week to get a new host, transfer the domain, and rebuild the site.
And don't forget backups before doing anything major...
Nancy W.
proudly running 3½ sites on Drupal so far
NancyDru
Also try a Virtual Root Server
Forgot to mention that you could rent a virtual root server - this will give you a Linux box with root access on the net for around 20UKP (40USD) per month. This is of course a much better cost than a dedicated box, with the freedom to configure FastCGI, mod_php, caching systems, mod_proxy to other servers etc. Plus of course you can tune your own database server too.
=-=
I'd highly suggest taking a look at the Drupal Server Optimization pages in the hand book http://drupal.org/node/2601
in perticular the mysql optimization pages at the bottom, in the child pages that are linked.
I'd also suggest installing the devel.module to see what querries are taking a long time, This module provides quite a few tools to help you figure out whats going on within Drupal.
I also wouldn't worry too much about a "last straw effect".
Did you find a solution?
Hi,
Did you find a solution?
Drupal websites on Dreamhost shared and private servers hosting are super slow, so I am looking for a super fast MySql server, any idea ?
Thanks.
=-=
VPS or Dedicated box is the only way to get any kind of guarantees. A server that is fast now may not be fast a month from now. It depends on too many variables. ie: how many other sites, what their traffic levels are and so forth.
yes I moved to VPS. :) and
yes I moved to VPS. :) and things are pretty good. Hosting is pretty cheap nowdays and I think everyone should move to VPS if you have a decent traffic drupal site.
Where do you host your sites?
Where do you host your sites?
Is MySql server fast ?
Thanks.