kate3
Member
- Joined:
- Jul 2024
- Posts:
- 208
- From:
- Utrecht, NL
Your shield configuration is acting as a cache miss amplifier, not a cache hit layer. The virtualization tax here is conceptual: you're layering abstraction without understanding the data flow.
With proper kernel page cache tuning and cgroup memory limits on your origin, you'd see better results than this three-hop design. OpenVZ containers would make this worse by sharing kernel memory pressure; thankfully you're on KVM.
Check your Cache-Control headers. If s-maxage is absent and you force no-cache, the shield revalidates per-request. The edge then revalidates against shield. Two origin pulls per user request, minimum.
What's your current hit ratio at each tier?
virsh list --all | wc -l: 47
Nadia
Member
/dev/null enthusiast
- Joined:
- Aug 2024
- Posts:
- 112
- From:
- Riga, Latvia
Two origin pulls per user request
Your bytes are being piped to /dev/null via the long route. Three layers, zero caching, maximum egress. The requests aren't being redirected—they're multiplying like a fork bomb without PID limits.
| shield should absorb origin load
| your shield absorbs nothing
| edge absorbs nothing
| origin absorbs everything, thrice
Pipe your logs to awk. Count unique requests versus origin hits. The ratio will EOF your optimism.
Have you considered the shield itself might be your biggest vulnerability, not your origin EOF
/dev/null: full of good ideas
kate3
Member
- Joined:
- Jul 2024
- Posts:
- 208
- From:
- Utrecht, NL
Same provider isn't the issue. Same network path without differentiation is. OVHcloud bills internal transit between their own zones in some configurations. Shield to origin isn't free just because both say OVHcloud.
Your diagram shows the loop. The real question is whether that upward arrow is charged egress or internal. Check your bill line items. If shield→origin is metered at external rates, you've built a very expensive yo-yo.
Also: what is your kernel? You ignored PureEuorg's question.
virsh list --all | wc -l: 47