Commit 69f7470
committed
Say plainly that raising the worker count is the wrong way to scale
The setting is documented as a last resort rather than an option alongside running more containers. Extra workers require everything extra replicas require, a client-server vector database, Redis, PostgreSQL and a single instance running migrations, and give none of what replicas give back: they share one container, so they share its memory limit and its fate, cannot be restarted one at a time and cannot be spread across machines.
The warning sits on the variable's own entry, on the scaling guide where it was presented as a simpler alternative, and in the Redis guide beside the multi-worker example, since that is where someone reads the value and copies it.1 parent f3a75fe commit 69f7470
3 files changed
Lines changed: 18 additions & 8 deletions
File tree
- docs
- getting-started/advanced-topics
- reference
- tutorials/integrations
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
| 138 | + | |
139 | 139 | | |
140 | | - | |
| 140 | + | |
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
147 | 151 | | |
148 | | - | |
149 | | - | |
150 | 152 | | |
151 | 153 | | |
152 | 154 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8246 | 8246 | | |
8247 | 8247 | | |
8248 | 8248 | | |
8249 | | - | |
| 8249 | + | |
| 8250 | + | |
| 8251 | + | |
8250 | 8252 | | |
8251 | | - | |
| 8253 | + | |
8252 | 8254 | | |
8253 | | - | |
| 8255 | + | |
8254 | 8256 | | |
8255 | 8257 | | |
8256 | 8258 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
516 | 516 | | |
517 | 517 | | |
518 | 518 | | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
519 | 525 | | |
520 | 526 | | |
521 | 527 | | |
| |||
0 commit comments