whynot-cli 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -9
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -111,10 +111,10 @@ This creates `.decisions/` and adds `*.md text eol=lf` to `.gitattributes`.
|
|
|
111
111
|
|
|
112
112
|
```bash
|
|
113
113
|
npx whynot-cli add \
|
|
114
|
-
--title "
|
|
115
|
-
--why "us-east
|
|
114
|
+
--title "Sessions do not go in Redis" \
|
|
115
|
+
--why "Single-writer Redis took 8s to read during a us-east outage; the SLO requires p99 < 500ms" \
|
|
116
116
|
--type rejected \
|
|
117
|
-
--revisit "Redis
|
|
117
|
+
--revisit "Redis supports cross-region strong consistency" \
|
|
118
118
|
--evidence pr:412 \
|
|
119
119
|
--tags infra,session
|
|
120
120
|
```
|
|
@@ -122,22 +122,24 @@ npx whynot-cli add \
|
|
|
122
122
|
```markdown
|
|
123
123
|
---
|
|
124
124
|
id: 0001
|
|
125
|
-
title:
|
|
125
|
+
title: Sessions do not go in Redis
|
|
126
126
|
type: rejected
|
|
127
127
|
status: live
|
|
128
128
|
created: 2026-09-21
|
|
129
129
|
expires_on: 2026-12-20
|
|
130
|
-
revisit_when: "Redis
|
|
130
|
+
revisit_when: "Redis supports cross-region strong consistency"
|
|
131
131
|
evidence:
|
|
132
132
|
- "pr:412"
|
|
133
133
|
tags: [infra, session]
|
|
134
134
|
---
|
|
135
135
|
|
|
136
|
-
##
|
|
137
|
-
|
|
136
|
+
## Conclusion
|
|
137
|
+
Sessions must not be stored in Redis.
|
|
138
138
|
|
|
139
|
-
##
|
|
140
|
-
|
|
139
|
+
## Why
|
|
140
|
+
We tried Redis with a single writer region. During a us-east outage, reads took
|
|
141
|
+
8 seconds; the SLO requires p99 < 500ms. The Postgres table approach was
|
|
142
|
+
selected instead.
|
|
141
143
|
```
|
|
142
144
|
|
|
143
145
|
### 4. Give it to your agent
|