Перенесите реализацию ЛР 4 на стенд ЛР 5
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
# Series A: the same API budget, 2 CPU and 1 GiB, cut into 1, 2 or 4 replicas;
|
||||
# the pool stays 10 per replica, so the total grows with the replicas.
|
||||
# name replicas cpus memory gomemlimit pool maxconn pg_cpus
|
||||
A1 1 2.0 1024M 920MiB 10 0 1.0
|
||||
A2 2 1.0 512M 460MiB 10 0 1.0
|
||||
A4 4 0.5 256M 230MiB 10 0 1.0
|
||||
@@ -0,0 +1,5 @@
|
||||
# Series A': the budget of series A with the total pool fixed at 20 connections;
|
||||
# A'2 equals A2.
|
||||
# name replicas cpus memory gomemlimit pool maxconn pg_cpus
|
||||
Ap1 1 2.0 1024M 920MiB 20 0 1.0
|
||||
Ap4 4 0.5 256M 230MiB 5 0 1.0
|
||||
@@ -0,0 +1,5 @@
|
||||
# Series B: replicas of 1 CPU, 512 MiB and pool 10 added one by one; B2 equals A2.
|
||||
# name replicas cpus memory gomemlimit pool maxconn pg_cpus
|
||||
B1 1 1.0 512M 460MiB 10 0 1.0
|
||||
B3 3 1.0 512M 460MiB 10 0 1.0
|
||||
B4 4 1.0 512M 460MiB 10 0 1.0
|
||||
@@ -0,0 +1,10 @@
|
||||
# Improvement C: maxconn per replica on the balancer, before (0, no limit) and
|
||||
# after (20) on 1 and 4 replicas, under an overload ladder (STOP_ON_FAIL=0);
|
||||
# 10 and 40 show how much the value matters.
|
||||
# name replicas cpus memory gomemlimit pool maxconn pg_cpus
|
||||
R1m0 1 1.0 512M 460MiB 10 0 1.0
|
||||
R1m20 1 1.0 512M 460MiB 10 20 1.0
|
||||
R4m0 4 1.0 512M 460MiB 10 0 1.0
|
||||
R4m20 4 1.0 512M 460MiB 10 20 1.0
|
||||
R1m10 1 1.0 512M 460MiB 10 10 1.0
|
||||
R1m40 1 1.0 512M 460MiB 10 40 1.0
|
||||
@@ -0,0 +1,6 @@
|
||||
# Control: A2 next to A2 with twice the database CPU, interleaved, run with
|
||||
# STOP_ON_FAIL=0 so that one noisy step does not end a ladder. If the database
|
||||
# is the bottleneck, the capacity rises.
|
||||
# name replicas cpus memory gomemlimit pool maxconn pg_cpus
|
||||
A2 2 1.0 512M 460MiB 10 0 1.0
|
||||
A2pg2 2 1.0 512M 460MiB 10 0 2.0
|
||||
Reference in New Issue
Block a user