Giter Club home page Giter Club logo

Comments (4)

hj-collab avatar hj-collab commented on May 28, 2024 1

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.

hj-collab avatar hj-collab commented on May 28, 2024 1

@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.

jessuppi avatar jessuppi commented on May 28, 2024

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.

jessuppi avatar jessuppi commented on May 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.