Difference between revisions of "Proxyd"
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
* Changelog: https://github.com/ethereum-optimism/infra/blob/main/proxyd/CHANGELOG.md | * Changelog: https://github.com/ethereum-optimism/infra/blob/main/proxyd/CHANGELOG.md | ||
+ | * Config: https://github.com/ethereum-optimism/infra/blob/main/proxyd/config.go | ||
Features: | Features: |
Revision as of 07:11, 12 September 2024
proxyd /etc/proxyd/proxyd.toml
- Changelog: https://github.com/ethereum-optimism/infra/blob/main/proxyd/CHANGELOG.md
- Config: https://github.com/ethereum-optimism/infra/blob/main/proxyd/config.go
Features:
- Whitelists RPC methods
- Routes RPC methods to groups of backend services
- Load balance requests across backend services
- Automatically retries failed backend requests
- Cache immutable responses from backends
- Provides metrics to measure request latency, error rates
Consensus related:
- Track backend consensus (latest, safe, finalized blocks), peer count and sync state
- Re-write requests and responses to enforce consensus
- Applies rate limiting on a per-sender basis to avoid being bombarded with signed transactions causing a DOS (Denial of Service) of the sequencer (Optimism Censorship Bug Disclosure)
Logs
ERROR
error forwarding request to backend
Error forwarding RPC batch
error serving requests
error proxying websocket
error writing clientConn message
WARN
backend request failed, trying again
backend banned - not healthy
backend banned - unexpected block tags
proxied requests' XFF header will not contain the proxyd ip address
peer count responded with 200 and 0 peers
failed request
error updating backend
backend broke consensus
INFO
Related
- Consensus
- Emerald Dshackle load balancer
- dRPC
- Total number of primary candidates
- Optimism Censorship Bug Disclosure
See also
proxyd, proxyd logs, config, routing_strategy, consensus_aware (deprecated), SenderRateLimitConfig
, Consensus awareness,ws_method_whitelist
, backend healthy, Proxyd logs- OP Stack:
op-, op-geth, op-node, op-proposer, op-batcher, op-contracts, op-challenger, op-heartbeat, op-ufm, op-service, op-deployer
, Snap Sync, op-conductor, op-dispute-mon
Advertising: