Blue/Green (Canary) Deployments with module federation and SSR #2383
Unanswered
sir-captainmorgan21
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I was hoping to get thoughts from the module federation team on how you'd go about architecting a blue/green deployment of federated modules when using SSR. We are specifically using Angular and Angular Universal. The issue I see is this:
With Angular Universal, the app is bootstrapped and run on the server and the browser. This means that the server and the browser would both be making the request for the federated modules. With blue/green deployments, the logic to place a request to the blue or green server is behind the request. The host app has no awareness of blue or green. It is just fetching the remote module. This introduces a scenario where the server could receive the blue remote module and the browser could receive the green remote module and visa versa. Would love to know if webpack and the module federation team has thought through this.
Beta Was this translation helpful? Give feedback.
All reactions