Greetings !
I found you via your blog post about Speeding Osclass and make an account here.
I would like to ask some help about my problem. I'm on a limited budget, using a shared hosting plan. I have 10.000+ ads posted BUT a very busy site (adult). By "busy" i mean around 10.000 hits total per day, some weekends maybe 12-13.000.
Lately i'm getting warnings from my provider about hitting limits. I'm still good with them but i think after summer i will be in trouble.
So what do you suggest i do ?
Thanks
Hi,
If you are happy with your hosting provider, then there are some steps you could try. The first is to run under PHP 7.x and the second is to install and activate the caching plugin for Osclass.
If PHP 7.x is not an option for your provider, then switch to an other provider.
Also where exactly does the bottleneck happen ? CPU usage ? Database ?
Thanks for the reply. I'm on a shared hosting plan and i'm actually happy with my provider. BUT it seems that they don't offer PHP 7 as an option for now, it will be availabe sometime this summer.
Is PHP 7 so important ?
Is PHP 7 so important ?
Yes PHP 7 is very important. For two reasons. Memory management (much less) and Much Faster. That means that your script runs faster and your "resources" are released quicker, like for example the entry processes.
So if you have a limit of 10 entry processes, the quicker one process if finished, it will be released back to the pool of 10 and you will be able to server more simultaneous users. Without hitting any limits.
In other words: if your Osclass can server 50 simultaneous users with PHP 5.6 (example # of users, don't take that as real) and with 51 users you hit some limit, with PHP 7 you will be able to serve maybe double the number. Again just an example with number of users, since we don't know your server specs.
And if you add the caching plugin, the database transactions are very limited (if any) and php usage also limited (after the page of an ad is visited once). Because the ads become static html pages and those are extremely light in server resources.
Let us know the results (if any) !!!
Is PHP 7 so important ?
Just make sure you use PHP 7.0.x and not 7.1.x yet.
Why not PHP 7.1 ?
I have only installed the little caching plugin and wait. PHP 7 is not an option right now.
I have set the home page every 1 hour and ads every 30 days.
Is that all right ?