feat: add rolling update with LB drain and rollout load profile
scripts/rolling-update.sh (make rolling_update) replaces API replicas one by one: build, migrations once, new replica UP in HAProxy, old replica drained and put into maintenance through the LB runtime API on loopback, then stopped and removed; the slot is reset once DNS drops the address. Expand migration adds messages.instance_id with a lock timeout. The bench rollout profile runs the same script under constant load, starting from the image of an older commit built with git archive. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
// Профиль отказа реплик: постоянная интенсивность записи с ключом и чтения
|
||||
// страницы истории через LB, пока оркестратор останавливает и возвращает
|
||||
// реплику (решение 7 design change graceful-failover). Каждый запрос —
|
||||
// Профили отказа и замены реплик: постоянная интенсивность записи с ключом
|
||||
// и чтения страницы истории через LB, пока оркестратор останавливает и
|
||||
// возвращает реплику (решение 7 design change graceful-failover) или
|
||||
// заменяет реплики scripts/rolling-update.sh (решение 8 design change
|
||||
// rolling-update). Каждый запрос —
|
||||
// строка «fo,<w|r>,<n>,<отправка мс>,<длительность мс>,<статус>,
|
||||
// <X-Instance-Id>,<успех>» в вывод k6: из них run.py строит посекундную
|
||||
// шкалу. Время — Date.now() часов ВМ Docker, те же часы, что у журнала LB и
|
||||
|
||||
Reference in New Issue
Block a user