Commit 2a89dff
authored
Support processing more resources per replica (#2871)
* Process fleets in batches
* Increase offers_cache
* Cache redundant AWS API calls
* Set MIN_PROCESSING_INTERVAL
* Prevent concurrent quotas requests
* Increase MIN_PROCESSING_INTERVAL
* Make runs stopping async
* Introduce SERVER_BACKGROUND_PROCESSING_RATE
* Use dummy locking on Postgres
* Process submitted jobs in one steps if no instance lock
* Fix missing cache lock
* Configure custom executor
* Fix typo
* Increase process_submitted_jobs max_instances
* Implement offers cache warm up trick
* Replace DSTACK_SERVER_BACKGROUND_PROCESSING_RATE with DSTACK_SERVER_BACKGROUND_PROCESSING_FACTOR
* Document DSTACK_SERVER_BACKGROUND_PROCESSING_FACTOR
* Do not create clusters from burstable AWS instances
Fixes #2872
* Set MIN_PROCESSING_INTERVAL for process_fleets
* Add TODO1 parent 17a8e22 commit 2a89dff
File tree
26 files changed
+603
-172
lines changed- docs/docs
- guides
- reference
- src
- dstack/_internal
- core
- backends
- aws
- base
- server
- background
- tasks
- services
- gateways
- jobs/configurators
- testing
- tests/_internal/server
- background/tasks
- routers
26 files changed
+603
-172
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
381 | 381 | | |
382 | 382 | | |
383 | 383 | | |
384 | | - | |
| 384 | + | |
385 | 385 | | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
386 | 398 | | |
387 | 399 | | |
388 | 400 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
| 119 | + | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
123 | 126 | | |
124 | 127 | | |
125 | 128 | | |
| |||
0 commit comments