Comments (4)
Not sure if this is a redis issue and not enough info to debug but Redis is a complex beast. You can try something simpler like memcached. Redis is not suitable for your stack also. It's recommended to use when you can run multiple instances of redis to bypass it's single threaded nature. Memcached have fewer features but is suitable for most wp sites and can also take benefit of more cores due to multi threaded nature. Wordpress VIP also uses memcached but in multiple clusters. https://docs.wpvip.com/technical-references/caching/object-cache/
from slickstack.
@jessuppi Yes, Memcached is better than Redis for low and high traffic sites. People go with redis as it has much larger featureset compared to Redis. But wordpress sites don't need such features until you are running a lot of custom code and some bypassing WP structure. My memcached config file is less than 10 lines in total. An average redis config file is much bigger due to so many features they provide.
from slickstack.
Thanks @hj-collab
We have discussed Memcached a few times in fact, as I've always felt Redis is too complicated. Most people using SlickStack are running lowend boxes, with the occasional high-traffic site. Regardless of CPU threads, if talking about support for load balancing and clusters, do you think Memcached is better for us all around?
from slickstack.
I'm probably not going to invest time into figuring out why Redis is having occassional issues on Ubuntu 20.04 and will be closing this Issue for now, future comments are welcome.
We are going to proceed with shifting to Memcached, I see Roots Trellis is also using it.
It seems Memcached config/security options have improved in the last few years with more options than before, so that is also encouraging, it was "too" basic before.... I guess a few bad news stories helped push it forward.
@hj-collab if you're willing to comment on our default config, thanks!
https://github.com/littlebizzy/slickstack/blob/master/modules/memcached/memcached-conf.txt
from slickstack.
Related Issues (20)
- Auto restart MySQL service if it went down HOT 2
- Consider replacing Nginx with Caddy HOT 7
- Exiting ss-update-config: There is a version mismatch between this script and public mirrors.. HOT 1
- Migration slickstack between VPS to VPS HOT 1
- change php version and Install ioncube loader HOT 4
- Install freeze on Running ss-install-redis-packages... HOT 3
- Website very slow loading inside apps ios HOT 3
- CERT_AUTHORITY_INVALID After install HOT 1
- SUDO_USER and SFTP_USER validation check to avoid conflicts? HOT 2
- Perform custom tasks during certain SlickStack scripts HOT 1
- Invalid user mysql:mysql error when using remote database
- Ensure more privacy for openssl cert generation. HOT 11
- SS_ADMINER_PUBLIC="false" does not work as intended. HOT 9
- Allow tuning of PHP8 JIT settings (opcache.jit options in php.ini) HOT 4
- Cloudflare real visitor IP support in Nginx config HOT 18
- Option to allow only Cloudflare IPs to connect to origin server HOT 2
- OpenVZ PHP-FPM "Unable to set priority for the master process: Permission denied" HOT 8
- Support for custom Permissions Policy HTTP header in Nginx HOT 6
- Improve WP-Cron robustness for Multisite environments HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slickstack.