A common scenario is two or more services behind a reverse proxy, typically each deployed in a container:
| service 1 | | service 2 | \ / \ / \ / | Proxy |
Now the two services want to talk to each other. What are the pros/cons of:
- Talking directly to each other?
- Going through the reverse proxy?
Is there any standard best practice? Any potential security concerns?