Apache, OLS and Nginx-Custom Benchmarks
-
@marcusquinn said in Apache, OLS and Nginx-Custom Benchmarks:
Nice work!
Ty!
@marcusquinn said in Apache, OLS and Nginx-Custom Benchmarks:
uncached benchmark
Yes we have already done it, we have a 20% on the complete page (whit all the css, js, pics, ...) tanks to the better resources management by Nginx on static content, we will provide more details later this week.
But no big improvement on just php-fpm (nignx) or fastcgi (apache) performance, apache is pretty much the best in just php content.@marcusquinn said in Apache, OLS and Nginx-Custom Benchmarks:
Woocommerce
WC will be supported just on the Redis Full-Page Cache (Redis FPC) cache for now, we plan to support it on fastcgi early next year, with the support for tmpfs on Cloudron APP.
Btw on Redis FPC we will support partial cache soon, so wp-admin will be cached to, but partially.
-
@moocloud_matt Cool, happy to help with some A/B testing on our WP stack which is rather bulky but quite well optimised on the app level. Eg, this site is running on Cloudron now:
Something like 200 plugins, including Woocommerce.
We use WP Super Cache for fragment caching, and happy to recommend it. Although, caching is the number one cause of issues with relatively new WP devs, so I always recommend optimising the app without any caching first, especially slow queries and php warnings before getting involved with caching.
The blessing and curse of WP plugins eh, anyone can publish them
-
@MooCloud_Matt This is huge. Those gains are insane with not that difficult of an infrastructure change.
Curious, did you ever test an OLS implementation with their official OLS Caching plugin? The subject implied you were going to but maybe I misinterpreted the acronym (Open Lightspeed?).
-
@lonk
we pause the OLS development, (is in beta and is stable) to focus on Nginx Setup.
Now our focus is to create a open beta soon, then post those app on the Cloudron store.
and early next year make a some image intercompatible, so you can change from FastCGI + PageSpeed to only FastCGI, or From RedisFPC to FastCGI, ...But we don't know for now what we will able to do, we are focusing to prepare open beta for now.
-
@moocloud_matt said in Apache, OLS and Nginx-Custom Benchmarks:
@lonk
we pause the OLS development, (is in beta and is stable) to focus on Nginx Setup.
Now our focus is to create a open beta soon, then post those app on the Cloudron store.
and early next year make a some image intercompatible, so you can change from FastCGI + PageSpeed to only FastCGI, or From RedisFPC to FastCGI, ...But we don't know for now what we will able to do, we are focusing to prepare open beta for now.
I would love to be part of the Open Beta since I don't use my Cloudron for anything production, just dev.
-
Update on WAF:
We have disable the WAF features for now, that we had plan due to instability in TTFB timings.
Maybe we will add a CDN to host blacklists and information repository that WAF module need to work.
Because now it take from .9 to 2 seconds to check the ip/browser and our objective is to have mostly all normal page load in 3 or less seconds.update on redis full Page cache (fpc)
We are working on the partial page cache, or sr-cache module.
But we are not shore if this will improve performance even more.
Is just a better management of the cache.WordPress nginx helper
We are using nginx-helper plugin to let you clear your cache from WordPress, but due to how we are implementing stuff, we will create a fork to better sweet our nginx stack.
prestashop php-fpm + cache
We are working on prestashop for cloudron too.
This is a test to see how much flexible is our FPM+fastcgi cache setup(No redis cache possibile, due to license on plugin to support it)
-
@moocloud_matt Thanks for the update on your work! I love this stuff and it's going to be so beneficial to the community as a whole.
-
@moocloud_matt After all of this development, what was your final stack after all of this research?
No redis cache possibile, due to license on plugin to support it
What kind of plugin, WP is mandatorily GPL for all themes and plugin code.
-
@moocloud_matt said in Apache, OLS and Nginx-Custom Benchmarks:
@lonk
it's only mandatory to be on wp.org repoLooks like if it's a Wordpress plugin, then the code automatically falls under GLP no matter the repo: https://kinsta.com/learn/wordpress-gpl/ - that's why Wordpress premium plugins can be distributed freely.
But a plugin can implement license protections to protect their code technically, it still doesn't take away the right of the user to use it in any way they see fit EXCEPT for graphic assets.
-
@lonk
btw the all section is for prestashop:@moocloud_matt said in Apache, OLS and Nginx-Custom Benchmarks:
prestashop php-fpm + cache
We are working on prestashop for cloudron too.
This is a test to see how much flexible is our FPM+fastcgi cache setup
(No redis cache possibile, due to license on plugin to support it)But a tweek for closed source plugin in WP.
GPL in WP is applied to ALL folder inside the ROOT folder of WP.That mean that all function that call script in other section of the server are not included, an exemple is the ESI part for LS cache for wordpress, is the module that manage the "Edge Side Includes" feature inside WP and WooCommerce.
-
@lonk said in Apache, OLS and Nginx-Custom Benchmarks:
redis is already apart of Cloudron
Yes & no,
Yes is part of the cloudron addon, but it can be integrated in different way.-
You can use it for dynamic cache (as cloudron use in there apps), behind the php, db lvl.
-
You can use it as a Full Page Cache (similar to what Cache Enebler do but in RAM and not in local disc). php lvl
-
You can use it for partial page caching, in this case is at webserver/proxy lvl.
Redis is just a "database" in RAM, you can use it to store what you want, Redis is not a cache, but you can use it as it was one.
-