{ "method": "closed loop 8 workers under rolling replacement: start N new replicas of the new build, wait until healthy and routed by LB, then stop+remove old replicas one at a time", "replicas_before": [ "0a88ad74a16f", "d47dafe15036" ], "replicas_after": [ "3de2fdb570eb", "945116f913cc" ], "new_replicas": [ "3de2fdb570eb", "945116f913cc" ], "old_image_ids": { "0a88ad74a16f": "sha256:5188aa6e7392cab4e9fbcf712a04a24e7f6e7f0e610676633cbaf67efc39cfc5", "d47dafe15036": "sha256:5188aa6e7392cab4e9fbcf712a04a24e7f6e7f0e610676633cbaf67efc39cfc5" }, "new_image_ids": { "3de2fdb570eb": "sha256:35f4b43a6b981783ec1342221ba5f066f8e630dddc7ab2c424c8cbe208fa9921", "945116f913cc": "sha256:35f4b43a6b981783ec1342221ba5f066f8e630dddc7ab2c424c8cbe208fa9921" }, "app_version_build_arg": "rolling-104629", "update_seconds": 137.13, "steps": [ { "replaced": "0a88ad74a16f", "seconds_into_update": 118.09 }, { "replaced": "d47dafe15036", "seconds_into_update": 126.86 } ], "before_update": { "seconds": 5.29, "successful_requests": 183, "failed_requests": 0, "error_reasons": {}, "error_ratio": 0.0, "successful_rps": 34.6, "latency_ms": { "p50": 139.4, "p95": 509.9, "p99": 716.6 } }, "during_update": { "seconds": 137.13, "successful_requests": 5641, "failed_requests": 0, "error_reasons": {}, "error_ratio": 0.0, "successful_rps": 41.1, "latency_ms": { "p50": 134.9, "p95": 542.3, "p99": 696.1 } }, "after_update": { "seconds": 8.25, "successful_requests": 384, "failed_requests": 0, "error_reasons": {}, "error_ratio": 0.0, "successful_rps": 46.5, "latency_ms": { "p50": 165.1, "p95": 409.6, "p99": 603.4 } }, "first_new_replica_response_seconds_into_update": 115.74, "last_old_replica_response_seconds_into_update": 128.45, "migrate_output_tail": [ " Container mtusi-lab3-migrate-run-b1814ed4ca5d Created ", "INFO [alembic.runtime.migration] Context impl PostgresqlImpl.", "INFO [alembic.runtime.migration] Will assume transactional DDL." ], "timeline_per_second": [ { "t": 0, "ok": 32, "errors": 0 }, { "t": 1, "ok": 33, "errors": 0 }, { "t": 2, "ok": 35, "errors": 0 }, { "t": 3, "ok": 45, "errors": 0 }, { "t": 4, "ok": 32, "errors": 0 }, { "t": 5, "ok": 26, "errors": 0 }, { "t": 6, "ok": 44, "errors": 0 }, { "t": 7, "ok": 48, "errors": 0 }, { "t": 8, "ok": 40, "errors": 0 }, { "t": 9, "ok": 28, "errors": 0 }, { "t": 10, "ok": 32, "errors": 0 }, { "t": 11, "ok": 44, "errors": 0 }, { "t": 12, "ok": 27, "errors": 0 }, { "t": 13, "ok": 30, "errors": 0 }, { "t": 14, "ok": 49, "errors": 0 }, { "t": 15, "ok": 50, "errors": 0 }, { "t": 16, "ok": 35, "errors": 0 }, { "t": 17, "ok": 30, "errors": 0 }, { "t": 18, "ok": 43, "errors": 0 }, { "t": 19, "ok": 34, "errors": 0 }, { "t": 20, "ok": 30, "errors": 0 }, { "t": 21, "ok": 43, "errors": 0 }, { "t": 22, "ok": 58, "errors": 0 }, { "t": 23, "ok": 45, "errors": 0 }, { "t": 24, "ok": 33, "errors": 0 }, { "t": 25, "ok": 37, "errors": 0 }, { "t": 26, "ok": 52, "errors": 0 }, { "t": 27, "ok": 29, "errors": 0 }, { "t": 28, "ok": 34, "errors": 0 }, { "t": 29, "ok": 55, "errors": 0 }, { "t": 30, "ok": 55, "errors": 0 }, { "t": 31, "ok": 36, "errors": 0 }, { "t": 32, "ok": 31, "errors": 0 }, { "t": 33, "ok": 54, "errors": 0 }, { "t": 34, "ok": 40, "errors": 0 }, { "t": 35, "ok": 30, "errors": 0 }, { "t": 36, "ok": 49, "errors": 0 }, { "t": 37, "ok": 59, "errors": 0 }, { "t": 38, "ok": 42, "errors": 0 }, { "t": 39, "ok": 31, "errors": 0 }, { "t": 40, "ok": 31, "errors": 0 }, { "t": 41, "ok": 36, "errors": 0 }, { "t": 42, "ok": 28, "errors": 0 }, { "t": 43, "ok": 34, "errors": 0 }, { "t": 44, "ok": 49, "errors": 0 }, { "t": 45, "ok": 48, "errors": 0 }, { "t": 46, "ok": 30, "errors": 0 }, { "t": 47, "ok": 32, "errors": 0 }, { "t": 48, "ok": 40, "errors": 0 }, { "t": 49, "ok": 36, "errors": 0 }, { "t": 50, "ok": 27, "errors": 0 }, { "t": 51, "ok": 49, "errors": 0 }, { "t": 52, "ok": 54, "errors": 0 }, { "t": 53, "ok": 38, "errors": 0 }, { "t": 54, "ok": 30, "errors": 0 }, { "t": 55, "ok": 37, "errors": 0 }, { "t": 56, "ok": 41, "errors": 0 }, { "t": 57, "ok": 33, "errors": 0 }, { "t": 58, "ok": 46, "errors": 0 }, { "t": 59, "ok": 53, "errors": 0 }, { "t": 60, "ok": 57, "errors": 0 }, { "t": 61, "ok": 34, "errors": 0 }, { "t": 62, "ok": 35, "errors": 0 }, { "t": 63, "ok": 50, "errors": 0 }, { "t": 64, "ok": 31, "errors": 0 }, { "t": 65, "ok": 45, "errors": 0 }, { "t": 66, "ok": 58, "errors": 0 }, { "t": 67, "ok": 55, "errors": 0 }, { "t": 68, "ok": 40, "errors": 0 }, { "t": 69, "ok": 28, "errors": 0 }, { "t": 70, "ok": 50, "errors": 0 }, { "t": 71, "ok": 28, "errors": 0 }, { "t": 72, "ok": 40, "errors": 0 }, { "t": 73, "ok": 60, "errors": 0 }, { "t": 74, "ok": 57, "errors": 0 }, { "t": 75, "ok": 41, "errors": 0 }, { "t": 76, "ok": 33, "errors": 0 }, { "t": 77, "ok": 31, "errors": 0 }, { "t": 78, "ok": 29, "errors": 0 }, { "t": 79, "ok": 26, "errors": 0 }, { "t": 80, "ok": 53, "errors": 0 }, { "t": 81, "ok": 43, "errors": 0 }, { "t": 82, "ok": 54, "errors": 0 }, { "t": 83, "ok": 29, "errors": 0 }, { "t": 84, "ok": 35, "errors": 0 }, { "t": 85, "ok": 30, "errors": 0 }, { "t": 86, "ok": 35, "errors": 0 }, { "t": 87, "ok": 46, "errors": 0 }, { "t": 88, "ok": 48, "errors": 0 }, { "t": 89, "ok": 54, "errors": 0 }, { "t": 90, "ok": 32, "errors": 0 }, { "t": 91, "ok": 31, "errors": 0 }, { "t": 92, "ok": 49, "errors": 0 }, { "t": 93, "ok": 31, "errors": 0 }, { "t": 94, "ok": 41, "errors": 0 }, { "t": 95, "ok": 57, "errors": 0 }, { "t": 96, "ok": 56, "errors": 0 }, { "t": 97, "ok": 41, "errors": 0 }, { "t": 98, "ok": 28, "errors": 0 }, { "t": 99, "ok": 42, "errors": 0 }, { "t": 100, "ok": 30, "errors": 0 }, { "t": 101, "ok": 30, "errors": 0 }, { "t": 102, "ok": 46, "errors": 0 }, { "t": 103, "ok": 56, "errors": 0 }, { "t": 104, "ok": 51, "errors": 0 }, { "t": 105, "ok": 25, "errors": 0 }, { "t": 106, "ok": 31, "errors": 0 }, { "t": 107, "ok": 49, "errors": 0 }, { "t": 108, "ok": 30, "errors": 0 }, { "t": 109, "ok": 40, "errors": 0 }, { "t": 110, "ok": 49, "errors": 0 }, { "t": 111, "ok": 46, "errors": 0 }, { "t": 112, "ok": 33, "errors": 0 }, { "t": 113, "ok": 29, "errors": 0 }, { "t": 114, "ok": 21, "errors": 0 }, { "t": 115, "ok": 31, "errors": 0 }, { "t": 116, "ok": 30, "errors": 0 }, { "t": 117, "ok": 43, "errors": 0 }, { "t": 118, "ok": 56, "errors": 0 }, { "t": 119, "ok": 53, "errors": 0 }, { "t": 120, "ok": 31, "errors": 0 }, { "t": 121, "ok": 57, "errors": 0 }, { "t": 122, "ok": 65, "errors": 0 }, { "t": 123, "ok": 51, "errors": 0 }, { "t": 124, "ok": 66, "errors": 0 }, { "t": 125, "ok": 68, "errors": 0 }, { "t": 126, "ok": 36, "errors": 0 }, { "t": 127, "ok": 30, "errors": 0 }, { "t": 128, "ok": 40, "errors": 0 }, { "t": 129, "ok": 34, "errors": 0 }, { "t": 130, "ok": 44, "errors": 0 }, { "t": 131, "ok": 72, "errors": 0 }, { "t": 132, "ok": 48, "errors": 0 }, { "t": 133, "ok": 38, "errors": 0 }, { "t": 134, "ok": 29, "errors": 0 }, { "t": 135, "ok": 42, "errors": 0 }, { "t": 136, "ok": 54, "errors": 0 }, { "t": 137, "ok": 53, "errors": 0 }, { "t": 138, "ok": 47, "errors": 0 }, { "t": 139, "ok": 52, "errors": 0 }, { "t": 140, "ok": 33, "errors": 0 }, { "t": 141, "ok": 29, "errors": 0 }, { "t": 142, "ok": 31, "errors": 0 }, { "t": 143, "ok": 55, "errors": 0 }, { "t": 144, "ok": 57, "errors": 0 }, { "t": 145, "ok": 55, "errors": 0 }, { "t": 146, "ok": 52, "errors": 0 }, { "t": 147, "ok": 40, "errors": 0 }, { "t": 148, "ok": 32, "errors": 0 }, { "t": 149, "ok": 39, "errors": 0 }, { "t": 150, "ok": 34, "errors": 0 } ], "acked_messages": 3104, "messages_in_history": 3104, "lost_acked_messages": 0, "duplicate_messages": 0 }