Upgrade to PHP 7.2 - success story of performance-wise move
Posted by Esvon Support on 22 December 2017 08:17 AM
One of our customers got a good deal on a new VPS with EasyApache4. Before he had VPS with EasyApache3 where switching to PHP 7 was complicated.
We were asked to make sure pages serving is as fast as possible and that task included migration from PHP 5.6 to PHP 7.2.
Initial configuration included Apache 2.4 + mod_mpm_prefork + PHP 5.6 (suEXEC).
Website's index page is very rich with PHP-generated content so all speed tests were made on it using Apache bench command:
ab -n 500 -c 10 https://www.domain.com/
PHP 5.6 (suEXEC) results: 16 requests per second in average. Very slow. By the way suEXEC is making things slow too comparing to php-fpm.
New configuration included Apache 2.4 + mod_mpm_worker + PHP 7.2 (php-fpm).
PHP 7.2 (php-fpm) results: 83-101 requests per second. The difference can be amazing (6x faster). With EasyApache4 it is easy to switch between PHP versions so we tested the same configuration on PHP 7.1 and got 75-88 requests per second.
What contributed to this performance increase? At least 3 things:
1/ PHP 7.2 is the fastest in PHP line
Merry Christmas !
Read more »
Learning to create or modify responsive Bootstrap-based layouts ?
Posted by Esvon Support on 14 January 2015 07:15 PM
# The Ultimate Guide to Bootstrap:
Read more »
Web software challenges 2014
Posted by Esvon Support on 01 May 2014 11:35 PM
Greetings all, |
Recently we were focusing on turning problems into tasks and finding solutions.
Of course this process can be lifelong but if you're interested to see a short list
of completed tasks we experienced in web software area, here they are.
We used plain text format using these signs: * Problem / # Solution
* Website is not good for mobile devices
# New responsive Bootstrap-based website template:
If you want something different or would like to see what are other options with Bootstrap,
here are some already developed template examples:
* Need more than the same header/footer for all pages, multiple header/footer files
for different pages, difficult to maintain, etc.
# Improved individual pages layout customization:
Examples where this functionality is already used - User Menu and Refine Search at the left sidebar.
* Website performance issues when accessed by many visitors.
# Sessions started only when they are actually used.
The same thing is mentioned as YII 2 framework new feature by the way.
Possibility for caching of dynamic HTTP content by HTTP reverse proxy like Varnish or nginx for significant performance increase.
Story from real life : https://www.rfxn.com/nginx-caching-proxy/
* Large images upload takes too long for remote users or on slow connections
# Plupload support integrated with ability to have images resized on client side before sending to the server
* Banning spamers using banned_ips.txt file not always working
# Fixed code in admin/spam.php which is updating banned_ips.txt automatically
when you select "ban user IP address" link in "Modify Listing" page in Admin Area.
In your existing install you may want to make sure your banned_ips.txt file has
one IP address per line without any brackets, just digits and dots and/or request
code update from us.
These are some of the changes in Esvon Classifieds 4.0.15.
This message is sent just to keep you informed.
We'll be happy to read your thoughts if you have any to share.
Read more »