Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 13th May 2016, 06:11 PM   #1
HyperActive Warrior
 
silveraden's Avatar
 
Join Date: 2007
Location: City of Smiles
Posts: 100
Thanks: 22
Thanked 24 Times in 15 Posts
Default
Site Optimization?
Share on: 
fb share twitter share gplus share more share

I have VPS hosting account in namecheap and bluehost but the problem seem to be how my site is built. Supports said I have to optimize my site because it has a lot of php processes.

I tried disabling all plugins but my site is still breaking down every time it reaches 800 real time visitors. Support said that the server can handle more traffic if my site is well optimized.

I am no programmer but I can do some manual and basic optimization like what their support and FAQ page suggested, but beyond these, I have no idea. Disabling plugins seems not working, and my site is running on wordpress. I even removed all images from my single pages.

I don't know.

Is there any tool to use to check which codes are slowing my site?

I plan to hire someone who can do this to my site, but I am also willing to learn so that next time, I will do it myself...

Any input is highly appreciated. My site cannot get more than 900 real time visitors because of this problem, and I am losing a lot of $$.


Thank you
silver
silveraden is offline  
Unread 14th May 2016, 05:48 PM   #2
www.deeptenger.com
Registered Member
 
Joe Ray's Avatar
 
Join Date: 2013
Posts: 518
Thanks: 211
Thanked 91 Times in 77 Posts
Blog Entries: 1
Default
Re: Site Optimization?
Share on: 
fb share twitter share gplus share more share

You should get a real site. Don't use Wordpress.

My feeling is that if you pay someone to optimize your current site, it might work if you get the right developer but, you may have to do it again when you have 1,200 visitors. Then, again when you have 2,000 visitors.

Joe Ray is offline  
Unread 15th May 2016, 03:56 AM   #3
HyperActive Warrior
 
silveraden's Avatar
 
Join Date: 2007
Location: City of Smiles
Posts: 100
Thanks: 22
Thanked 24 Times in 15 Posts
Default
Re: Site Optimization?
Share on: 
fb share twitter share gplus share more share

Originally Posted by Joe Ray View Post

You should get a real site. Don't use Wordpress.

My feeling is that if you pay someone to optimize your current site, it might work if you get the right developer but, you may have to do it again when you have 1,200 visitors. Then, again when you have 2,000 visitors.
Is html pages better than php? Do you recommend using other scripts, or hire a programmer to start from scratch?
silveraden is offline  
Unread 17th May 2016, 03:17 PM   #4
Active Warrior
 
Join Date: 2014
Posts: 84
Thanks: 5
Thanked 11 Times in 10 Posts
Default
Re: Site Optimization?
Share on: 
fb share twitter share gplus share more share

Do you have 1000 visitors at the same time ?
How long single user session takes?
Can you answer these questions by i.e. looking at google analytics ?

First I must say - I'm not wordpress expert, I just don't like it as I'm a programmer, and it's really not very developer friendly environment, not saying that it's bad or it cannot be optimized - I'm sure it can.

It would be helpful if you shared your URL, but if you don't want to then
I can give you some basics you should understand if you want to solve this yourself.

1. Check how much your page weights with all your resources. Maybe you have a lot of heavy resources like big images etc - you can try moving everything into CDN like Amazon cloud or anything else so images and all external resources (images, css, js ) can be served by different server .
That's first thing and the easiest, there are many user friendly cdn-s - i.e. maxcdn, amazon etc , just google - any big player should work fine .

if that doesn't help see if you don't have a bottle neck, which can be a database query or some long running server side operation . You would need to google how to find and monitor database queries, I don't know your site if it's database heavy or whatever . if you're on vps and using mysql you can type show processlist from mysql console and monitor it in realtime or setup logs for long queries.
Also see if your mysql is tuned

Next or even step before - see if your web server is optimised - if it's apache
btw. what's your VPS CPU /RAM / HDD ?

1000 simultaneus visitors is really quite a lot for not programmer to solve the problem .
But anyway I'll continue ..

So if you don't have enough CPU/RAM/HDD - try the 'hammer' method - just increase CPU and RAM.
It's not solving the problem of course but might buy you some time .
If IO is a problem try SSD drives if possible .

If you still have problems - try load balancing - if it's possible for your website.
That means hosting your site on more than single server... but it has quite few issues that have to be solved ..


If your site works and it's complicated rewriting might not be the best idea.
If it's simple enough - better to keep it as simple as possible - meaning - no wordpress .

ping me on priv if you need help .

good luck
robomedia is offline  
Unread 17th May 2016, 11:26 PM   #5
Warrior Member
 
Join Date: 2010
Posts: 18
Thanks: 0
Thanked 4 Times in 4 Posts
Default
Re: Site Optimization?
Share on: 
fb share twitter share gplus share more share

Send me a link to your site . I can check and tell you what is holding your site from running fast.

WORDPRESS EXPERT FOR HIRE
shsaad is offline  
Unread 18th May 2016, 11:15 AM   #6
usefulsurvivaltools.com
 
Join Date: 2016
Posts: 213
Thanks: 28
Thanked 49 Times in 40 Posts
Default
Re: Site Optimization?
Share on: 
fb share twitter share gplus share more share

A link to your site would be helpful so we can run a diagnosis

The ultimate site for your camping, survival, outdoor, adventure and travel needs.
>> Get your survival and outdoor freebies here <<
Useful Survival Tools is offline  
Unread 19th May 2016, 02:20 AM   #7
HyperActive Warrior
 
silveraden's Avatar
 
Join Date: 2007
Location: City of Smiles
Posts: 100
Thanks: 22
Thanked 24 Times in 15 Posts
Default
Re: Site Optimization?
Share on: 
fb share twitter share gplus share more share

Originally Posted by robomedia View Post

Do you have 1000 visitors at the same time ?
How long single user session takes?
Can you answer these questions by i.e. looking at google analytics ?

First I must say - I'm not wordpress expert, I just don't like it as I'm a programmer, and it's really not very developer friendly environment, not saying that it's bad or it cannot be optimized - I'm sure it can.

It would be helpful if you shared your URL, but if you don't want to then
I can give you some basics you should understand if you want to solve this yourself.

1. Check how much your page weights with all your resources. Maybe you have a lot of heavy resources like big images etc - you can try moving everything into CDN like Amazon cloud or anything else so images and all external resources (images, css, js ) can be served by different server .
That's first thing and the easiest, there are many user friendly cdn-s - i.e. maxcdn, amazon etc , just google - any big player should work fine .

if that doesn't help see if you don't have a bottle neck, which can be a database query or some long running server side operation . You would need to google how to find and monitor database queries, I don't know your site if it's database heavy or whatever . if you're on vps and using mysql you can type show processlist from mysql console and monitor it in realtime or setup logs for long queries.
Also see if your mysql is tuned

Next or even step before - see if your web server is optimised - if it's apache
btw. what's your VPS CPU /RAM / HDD ?

1000 simultaneus visitors is really quite a lot for not programmer to solve the problem .
But anyway I'll continue ..

So if you don't have enough CPU/RAM/HDD - try the 'hammer' method - just increase CPU and RAM.
It's not solving the problem of course but might buy you some time .
If IO is a problem try SSD drives if possible .

If you still have problems - try load balancing - if it's possible for your website.
That means hosting your site on more than single server... but it has quite few issues that have to be solved ..


If your site works and it's complicated rewriting might not be the best idea.
If it's simple enough - better to keep it as simple as possible - meaning - no wordpress .

ping me on priv if you need help .

good luck
1. My site is averaging 800 to 1300 from 5pm to 10pm (Philippine time) and traffic settles at 500 to 700 before and after the mentioned time frame.

2. Average user duration tine is 1 minute and 42 seconds

3. 42% returning visitors

4. I am using cloudflare

5. My site has no single image in all articles. Only profile images.

6. It is under VPS...

My link: okd2.com

Thanks
silveraden is offline  
Unread 19th May 2016, 04:56 AM   #8
Active Warrior
 
Join Date: 2014
Posts: 84
Thanks: 5
Thanked 11 Times in 10 Posts
Default
Re: Site Optimization?
Share on: 
fb share twitter share gplus share more share

Like I said - I would first try moving every external resource to CDN ( js, css, images ), I'm no wordpress expert but maybe there are some plugins for that.

Can you also post your VPS RAM and CPU details ?

You don't have any users logged in there right ?
Maybe some caching solution is good for you .
You should cache everything you can - db queries first as they can kill CPU / IO .
Then you can try something like Varnish to serve whole website from cache.

So my road would be :

0. Increase server capaticy if it's not best you can get at the moment already
1. Move resources to CDN
2. Use cache on DB queries (memcached or redis )
3. Varnish
4. Load Balance
robomedia is offline  
Unread 22nd Jun 2016, 04:50 AM   #9
Warrior Member
 
Join Date: 2016
Posts: 7
Thanks: 0
Thanked 1 Time in 1 Post
Default
Re: Site Optimization?
Share on: 
fb share twitter share gplus share more share

My guess: Plugins are the trouble - because they are build for start-up (i.e. 10-20 visitors)
My solution: Go to freelancing site and hire web-designer. It would probably cost between $50 and $100.
crissH is offline  
Unread 29th Sep 2016, 02:59 AM   #10
Thoughtgrid
 
Thoughtgrid's Avatar
 
Join Date: 2016
Location: Bangalore
Posts: 84
Thanks: 0
Thanked 2 Times in 2 Posts
Default
Re: Site Optimization?
Share on: 
fb share twitter share gplus share more share

This is a process of making changes in your website it will appear higher in search engine result page based on the number of factor search engine evaluate your website relevance readability before assigning the position search engine result page.

Thoughtgrid is offline  
Unread 29th Sep 2016, 06:37 AM   #11
http://hellaleadz.com/
 
HellaLeadz's Avatar
 
Join Date: 2016
Posts: 47
Thanks: 1
Thanked 9 Times in 9 Posts
Default
RE: Site Optimization?
Share on: 
fb share twitter share gplus share more share

If this is a VPS server, then you can log in through SSH/PUTTY, enter "htop" command and see what processes weight down your server.

Second thing, it's worth it to look into apache / ngix logs, because often (especially on WordPress) website is weight down by browsers bots, which are indexing your content.

Most often on the server, it is not only PHP that burdens but SQL.
HellaLeadz is offline  
Unread 3rd Oct 2016, 10:07 AM   #12
Active Warrior
 
Hatuko's Avatar
 
Join Date: 2016
Location: Espoo, Finland
Posts: 51
Thanks: 0
Thanked 7 Times in 7 Posts
Default
Re: Site Optimization?
Share on: 
fb share twitter share gplus share more share

Since it's on a VPS you can optimise things a bit.

- Use a caching plugin so you mostly serve static pages but don't use too many other plugins
- If you use plugins that simply output static content such as plugins for Google Analytics just add the code snippets directly in the templates
- Use a CDN/CloudFlare
- Use APC if you use PHP5 or a more recent version of PHP
- If you use Apache, switch to Nginx with FastCGI
- If you can, move the database to another VPS

These are the basics....

Hatuko is offline  
Unread 7th Oct 2016, 01:55 PM   #13
HyperActive Warrior
War Room Member
 
Nochek's Avatar
 
Join Date: 2012
Posts: 168
Thanks: 0
Thanked 55 Times in 36 Posts
Default
Re: Site Optimization?
Share on: 
fb share twitter share gplus share more share

Your site is very small overall, running it on wordpress is not worth the amount of processing power you are using. It's not the plugins, it's the framework itself. You are loading a ton of external files, running imports, checking permissions, all to load up a couple images and some text with a menu. It would be far less resource intensive to build the site into several static webpages, turn on gzip compression, and update by hand instead of using a database system to store and retrieve stories. Even on a shared VPS you would be able to handle 2-3k concurrent users like that, rather than a couple hundred using Wordpress.

With the size of your site, and the need for an easy way to add stories (I'm assuming you do it manually?) I would do a full rebuild with optimization as well as a build page for about $500. I wouldn't pay any more than that to have it done, but I would make the change away from Wordpress if you want to go forward with more users at one time.

Consider going with a VPS otherwise, and getting away from a shared hosting provider. A great one would be: http://dirl.org/server.php. It'll cost a bit more, but it'll run with m0r power, which makes all the difference when your pushing a full CMS with it to thousands of people.

Nochek Solutions Presents:
The Hydrurga WSO - Rank Your Site #1 And Score Over The Penguin Updates!
Nochek is offline  
Closed Thread


Bookmarks

Tags
optimization, site


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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 01:50 PM.