This PR integrates blutgang to kurtosis-cdk as an L2 load balancer/cache.
Blutgang caches RPC calls and significantly reduces recurring queries to the RPC nodes.
Before cache
After cache
This PR sets up the blutgang service in front of the RPC endpoints as shown in the blutgang-config.toml file:
[sequencer]
url = "{{.l2_sequencer_url}}"
ws_url = "{{.l2_sequencer_ws_url}}"
# The maximum amount of time we can use this rpc in a row.
max_consecutive = 150
# Max amount of queries per second.
max_per_second = 200
[rpc]
url = "{{.l2_rpc_url}}"
ws_url = "{{.l2_ws_url}}"
# The maximum amount of time we can use this rpc in a row.
max_consecutive = 150
# Max amount of queries per second.
max_per_second = 200
[rpcpless]
url = "{{.l2_rpc_pless_url}}"
ws_url = "{{.l2_ws_pless_url}}"
# The maximum amount of time we can use this rpc in a row.
max_consecutive = 150
# Max amount of queries per second.
max_per_second = 200
The queries/results are cached inside the local db within the blutgang service.
Description
This PR integrates blutgang to kurtosis-cdk as an L2 load balancer/cache.
Blutgang caches RPC calls and significantly reduces recurring queries to the RPC nodes.
Before cache
After cache
This PR sets up the blutgang service in front of the RPC endpoints as shown in the blutgang-config.toml file:
The queries/results are cached inside the local db within the blutgang service.