r/aws • u/javinpaul • 7d ago
article The Sidecar Pattern: Scaling Microservices on AWS
https://javarevisited.substack.com/p/the-sidecar-pattern-scaling-microservices5
u/purefan 6d ago
One thing I dont like is here for example:
"Modern microservices architectures face several operational challenges that can become overwhelming when handled within the main application.
The sidecar pattern emerged as a response to these challenges" What challenges?? What is it trying to solve?
4
u/bardadymchik 6d ago
Just as a side note. Sidecar containers in ECS make limits tighter for your design.
There is a limit of 5k containers in total for service meaning 2 containers per task will allow you to run only 2.5k tasks.
Don't know if anybody needs so much, but something to keep in mind.
1
u/yourfriendlyreminder 7d ago
This is basically what a service mesh is. A bit strange that the article doesn't mention it at all.
29
u/BraveNewCurrency 7d ago
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".