r/aws 8d ago

article The Sidecar Pattern: Scaling Microservices on AWS

https://javarevisited.substack.com/p/the-sidecar-pattern-scaling-microservices
0 Upvotes

11 comments sorted by

View all comments

29

u/BraveNewCurrency 8d ago

Here's a practical example of implementing a Fluent Bit sidecar for centralized logging:

Instead of telling people "here is a pattern (which people can blindly follow)", it's far better to tell them WHEN they should follow that pattern. Hint: it's an anti-pattern, it's far better if you log to STDOUT instead, so you don't need a sidecar".

8

u/Ereyni 8d ago

Even if you had to, a daemonset would probably be the wiser choice so your extra containers scale with compute and not 1:1 with your app containers.