GithubHelp home page GithubHelp logo

redis fpc + varnish about docker-magento2 HOT 3 CLOSED

fballiano avatar fballiano commented on July 17, 2024
redis fpc + varnish

from docker-magento2.

Comments (3)

fballiano avatar fballiano commented on July 17, 2024
  1. Every "backend" cache is on redis, i would't store FPC on file (it's a cluster, must be shared) or DB (really a bad idea to me), redis is the perfect place to store the FPC along all other caches, also if varnish serves everything (so it's kinda a copy)
  2. Fixed the probe
  3. AFAIK it's only for docker-compose >=2.2 so I wouldn't change it at the moment, I'll leave the issue open for when I'll have more time to update and test all docker-compose files
  4. I could never test a real swarm but it should work on swarm (new docker is almost always a swarm) without problems (which is the thing that makes sense, scaling on a single host is more a proof-of-concept than a useful thing)

thanks for the notes!

from docker-magento2.

gaiterjones avatar gaiterjones commented on July 17, 2024

You might be interested in my implementation of the varnish load balancer, I blogged about it here.

http://blog.gaiterjones.com/docker-mono-host-magento-2-service-scaling-and-dynamic-load-balancing-with-varnish/

Inspired by your example my manager container queries docker directly to dynamically update the varnish vcl config.

from docker-magento2.

fballiano avatar fballiano commented on July 17, 2024

interesting but at the moment I really have no time to study/rewrite and test your solution, did you notice any improvement managing it that way?

from docker-magento2.

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.