Commit Graph

5 Commits

Author SHA1 Message Date
cody-wang-cb
ba221ab80f
Add healthcheck ordering to simple failover mode (#38)
* add healthcheck to simple failover

* update comment

* update comment

* add another test
2024-08-01 16:17:25 -07:00
cody-wang-cb
0fb094feb4
Move base rate rate limit check inside handleBatchRPC() (#37)
* move base rate rate limit check

* fix comment
2024-07-31 13:25:53 -07:00
Jacob Elias
d4382bfa19
feat: add multi call routing strategy (#26)
* feat: add multicall routing strategy
    * Updated proxyd config to accept a routing strategy parameter 
    * Added multicall routing strategies
    * Refactored backendGroup.Forward to handle multiple types of routing strategies
    * Background.ForwardToBackend now will return results via a channel
2024-07-22 16:44:27 -05:00
Jacob Elias
1babca422e
feat: Improve updateBackend error handling and node banning logic (#15)
- Return early on network errors or invalid responses within updateBackend (e.g., zero block height)
- Prevent premature node banning
- Use existing sliding windows for node banning for unexpected tags or excessive network errors
2024-06-26 15:54:53 -05:00
Jacob Elias
c2101a4fbb v1 circle-ci configs for proxyd 2024-06-11 14:17:04 -05:00