Skip to content

Commit 0ef8e9f

Browse files
committed
Adjust advanced doc
1 parent 0d8f6b1 commit 0ef8e9f

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

docs/advanced.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,22 @@
1-
The standard SuperStack replaces the stack in place.
1+
The standard SuperStack has a single app, and it's upgraded in place.
22

3-
- There's some downtime while upgrading.
3+
- There's potentially some downtime while upgrading.
4+
- Once an app is upgraded, you can't rollback.
45
- You can't test one app while another is live (blue/green)
5-
- Once an app is upgrade, you can't rollback.
66

7-
Once your app is ready for production, consider adding a traffic-switcher in
7+
When your app is ready for production, consider adding a traffic-switcher in
88
front of your app.
99

1010
Here's how it works:
1111

1212
- We stop exposing ports in the `app` project.
13-
- A new `proxy` service is added, with ports open.
13+
- A new `proxy` service is added with ports open.
1414
- It's purpose is to direct traffic to the right application. (it also takes
15-
over TLS termination from the app layer).
16-
- Rather than upgrading the one app, apps are deployed separate to the live
17-
one. A fresh app every time.
15+
over TLS termination)
16+
- Rather than upgrading the single app, new apps containers are brought up,
17+
separate to the live one, and they connect to the proxy's network.
18+
- Test the new app before it goes live.
19+
- Finally traffic is flipped to the new app.
1820

1921
This way, environments are _ephemeral, immutable and idempotent_.
2022

0 commit comments

Comments
 (0)