Difference between revisions of "Proxyd"

From wikieduonline
Jump to navigation Jump to search
 
(5 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
* https://github.com/ethereum-optimism/infra/tree/main/proxyd
 
* https://github.com/ethereum-optimism/infra/tree/main/proxyd
  
  proxyd /etc/proxyd/[[proxyd.toml]]  
+
  proxyd /etc/proxyd/[[proxyd.toml]]  [[ws_method_whitelist]]
  
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:
* [[Whitelists]] [[RPC methods]]
+
* [[Whitelists]] [[RPC methods]] ([[ws_method_whitelist]])
 
* Routes RPC methods to groups of backend services
 
* Routes RPC methods to groups of backend services
 
* Load balance requests across backend services
 
* Load balance requests across backend services
Line 20: Line 21:
  
  
* 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]])
+
* Applies [[rate limiting]] (<code>[[SenderRateLimitConfig]]</code>) 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 ==
 
== Logs ==
Line 46: Line 47:
 
* <code>[[Updating CA certificates.]]</code>
 
* <code>[[Updating CA certificates.]]</code>
 
* <code>[[Running CMD.]]</code>
 
* <code>[[Running CMD.]]</code>
 +
 +
== Activities ==
 +
* Read [[Optimism Censorship Bug Disclosure]]
  
 
== Related ==
 
== Related ==
Line 52: Line 56:
 
* [[dRPC]]
 
* [[dRPC]]
 
* [[Total number of primary candidates]]
 
* [[Total number of primary candidates]]
* [[Optimism Censorship Bug Disclosure]]
 
  
 
== See also ==
 
== See also ==

Latest revision as of 14:07, 20 September 2024

proxyd is an RPC proxy

proxyd /etc/proxyd/proxyd.toml  ws_method_whitelist

Features:

  • Whitelists RPC methods (ws_method_whitelist)
  • 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


Logs[edit]

ERROR


WARN

INFO

Activities[edit]

Related[edit]

See also[edit]

Advertising: