Skip to content

Instantly share code, notes, and snippets.

@dunnock
Last active March 1, 2020 10:28
Show Gist options
  • Save dunnock/bc6aeff0af99f7b8ee65ae82c05e115b to your computer and use it in GitHub Desktop.
Save dunnock/bc6aeff0af99f7b8ee65ae82c05e115b to your computer and use it in GitHub Desktop.
actix-node-benchmark: run 2: /tasks with concurrency =1..1024, pool of 30 connections and 4 threads
Actix workers Concurrency PSQL cpu mem Actix cpu mem lat ms rps
1 2 0.89 126 0.42 5 0.98 2022
4 2 0.91 380 0.73 6 0.97 2042
1 4 2.01 183 0.80 5 0.88 4520
4 4 1.94 408 1.34 6 0.89 4432
1 8 3.42 298 0.99 6 1.06 7525
4 8 3.83 508 2.15 6 0.95 8300
1 16 3.89 469 1.00 6 1.98 8076
4 16 6.69 708 3.00 7 1.11 14257
1 32 3.61 498 1.00 7 4.01 7963
4 32 9.13 917 3.53 8 1.67 19140
1 64 3.54 498 1.00 9 7.97 7894
4 64 9.62 917 3.76 10 3.12 20079
4 128 9.35 917 3.73 13 5.98 19518
1 256 3.56 498 1.00 18 30.18 7742
4 256 8.99 917 3.65 20 12.39 18861
4 512 8.42 917 3.53 32 26.49 17645
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment