-
-
Notifications
You must be signed in to change notification settings - Fork 4
Conversation
Run two postgrest process behind nginx while using PGRBENCH_PGRST_NGNIX_LBS option Signed-off-by: Lakshmipathi Ganapathi <[email protected]>
91abae6
to
ee30cbf
Compare
Looks good! Even on the I've added a commit to DRY the systemd services(ideally we'd use systemd template units but NixOS doesn't support them yet NixOS/nixpkgs#80933). Not sure if necessary but I'm thinking we should divide the pool size by half and also limit the number of cores a postgREST instance uses with -maxN. |
The throughput is noticeable improved with this change. Starting from |
| Perhaps it makes sense to try with more postgrest services from this instance? |
@steve-chavez I compared
So I think we can stick with |
m5a.4xlarge results for 2pgrest:
|
m5a.4xlarge results for 4pgrest:
|
m5a.4xlarge results for 8pgrest:
|
@Lakshmipathi Cool. Then I think this would be good to merge. |
Btw, I also tried with 4 pgrest and my conclusions where the same - 2 pgrest is better. |
Run two postgrest process behind nginx while using
PGRBENCH_PGRST_NGNIX_LBS option
Signed-off-by: Lakshmipathi Ganapathi [email protected]