Comments (6)
I'm not very knowledgeable with Caddy, but it sounds like an elegant solution
from dogvscat.
I'll be very curious to see the architecture you have in mind. There is an issue on Traefik's GitHub but it goes nowhere at this point.
from dogvscat.
I was assuming a cache container in front of Ghost node container. So traffic would be:
client --> cloud LB-->swarm ingress-->traefik-->proxy overlay-->cache-->ghost overlay-->ghost
I'm normally a nginx guy, and have done reverse proxy caching with it before, but thought it would be fun to try varnish in this project, which I haven't used.
Hopefully, we can use one of these images:
-
This one requires a varnish config file added as a swarm config, but looks flexible and up to date.
-
This one is ENVVAR heavy, which I like (very 12factor.net!) No configs needed hopefully.
from dogvscat.
If I understand well, in a case where I have 5 Ghost instances, I would need 5 varnish instances.
client—>cloud LB—>swarm ingress—>traefik—>proxy overlay—>Varnish_Caching_1—>Ghost overlay—>Ghost_1
—>Varnish_Caching_2—>Ghost overlay—>Ghost_2
—>Varnish_Caching_n—>Ghost overlay—>Ghost_n
I actually like this. Not all my clients needs to have a caching instance :-p
from dogvscat.
Yes, it would be a 1-to-1. The other option would be to replace layer 7 reverse proxy (Traefik) with something that can do both DNS routing and caching... like nginx... but I feel like that's harder to get right.
from dogvscat.
Thanks for your input on this :)
BTW, I'll will not replace Traefik anytime soon :-p
from dogvscat.
Related Issues (20)
- screenshot
- New Feature: use sticky sessions for one app
- add service autoscaling example with orbiter HOT 1
- Support Traefik multi-node HA HOT 1
- Add rolling update defaults to all services HOT 3
- Add terraform example for creating cluster HOT 1
- New Traefik/Consul doesn't work well with Portainer HOT 2
- Create servers script has invalid virtualbox memory value HOT 1
- PR: create labels HOT 2
- PR: create node in parallel (instead of one after the other) HOT 4
- RexRay doesn't work on Docker latest (19) HOT 2
- Thank you HOT 7
- Step to create rexray secrets HOT 1
- Update swarmprom HOT 4
- Does it use the internal network? HOT 2
- Add Swarm secrets support to Ghost Blog HOT 3
- Add socat support to traefik proxy stack HOT 4
- Make Ghost HA with GlusterFS "shared nothing" option rather then shared storage limitation HOT 4
- Create example of traefik on host network for obtaining ingress source IP's HOT 1
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 dogvscat.