Hacker News new | ask | show | jobs
by from-nibly 673 days ago
I don't think thats what they meant by namespaced deploys. I think they meant an entire copy of the environemnt contained in separate namespaces.

How do you handle requests going from service A to B and then to database C vs A2 -> B -> C2?. How does service B know to route to a different database based on the version of A thats different?

1 comments

service B doesn't actually know that - it happens at the level of the service mesh (you have to have a service mesh installed, right now just supporting istio but we plan on making that configurable)

we use trace headers to keep track of where the request originally came from to route it to the right database. it's transparent to service B as long as service B is properly propagating the request context from incoming request to outgoing requests

Is that at the TCP level or the http level?