Skip to content

Instantly share code, notes, and snippets.

@blazejkrzak
Last active February 4, 2021 09:21
Show Gist options
  • Save blazejkrzak/51e58e0a7a86c1e596591651d346fc5d to your computer and use it in GitHub Desktop.
Save blazejkrzak/51e58e0a7a86c1e596591651d346fc5d to your computer and use it in GitHub Desktop.
Casper 12m Gas Limit with 4 nodes
## This is the result of Chainhammer.
### 1k Transactions, all successful.
All of the transactions were sent to 1 node (teku-catalyst-1).
Date of experiment: 03.02.2021r.
Setup of experiment in each:
- Catalyst at least 1000M of RAM and 1 CPU unit
- Teku at least 1000M of RAM and 1 CPU unit
- Ethstats client 100mCpu (0.1 of CPU)
GKE: e2-standard-4 (4 CPU, 16 GB)
### Chainhammer result diagram
https://swarm-gateways.net/bzz:/b7ffac946690ee74da96f5c737145ee82645df1b45430ad78517d24b0dcf6cd7/Geth_20210203-2049_txs1000.html
https://swarm-gateways.net/bzz:/457dafdc2e7c2c52c390c314c3010a827fb28bacf6af08349d5d0a2edd484596/Geth_20210203-2049_txs1000.md
https://swarm-gateways.net/bzz:/659e70c794e61d3eaeaccf96f9c30d4fad8f0a1af7261421272254d09eca1d80/multinet-TestRPC-20210203-2049_blks305-311.png
### Metrics:
Teku-catalyst-1 (the one that was exposed to hammers), most methods: `eth_getTransactionReceipt, eth_sendTransaction`
https://swarm-gateways.net/bzz:/2380e518b77abedc04670a28c33b5a4e8e5f46b174decc6817842bffcf91e15f/Screenshot%20from%202021-02-04%2009-52-05.png
https://swarm-gateways.net/bzz:/b73d7923c58ea4af1cc44ec192c7f70be590a5a590aab7845ef8ade31e8ab8f3/Screenshot%20from%202021-02-04%2009-51-34.png
https://swarm-gateways.net/bzz:/ead3fdf20a7e577ec271b332334e5603c411fd23feff7ce71b583f1d82444bfc/Screenshot%20from%202021-02-04%2009-50-44.png
Teku-catalyst-0 (was handling only txPool received from other nodes)
### Resource summary:
https://swarm-gateways.net/bzz:/62aa5598857f89eb1fa187d213aa55e2b00c564ce7d054896352026d21d27c2c/Screenshot%20from%202021-02-04%2009-48-50.png
### Recommendation for each pod:
At least 3 GB of ram and 1 CPU. Ram goes way up when serving methods
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment