You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Drips App, Event Processor and API shouldn't go down if our main RPC provider, Infura, goes down. We should implement some RPC redundancy with a secondary RPC provider on a cheap plan with auto-scaling enabled.
The changes below are described for the app specifically, but similar logic should be put in place for Event Processor and API.
Outline:
Sign up for a paid account with an alternative provider (e.g. Alchemy), choose a low-tier plan, but enable auto-scaling in case the fallback goes into effect during a time of elevated traffic.
Create a generic RPC API endpoint that we direct all RPC traffic from the app to, e.g. /api/rpc.
Any RPC hitting the endpoint should first go to Infura. If Infura returns an error or times out (low timeout threshold), it should retry the same request with the backup RPC.
Return response of backup RPC or error for good if the backup is also faulty.
Important is that we should catch and forward RPC errors from main to Sentry, even if the backup saved the request, so that we get notified.
The Drips App, Event Processor and API shouldn't go down if our main RPC provider, Infura, goes down. We should implement some RPC redundancy with a secondary RPC provider on a cheap plan with auto-scaling enabled.
The changes below are described for the app specifically, but similar logic should be put in place for Event Processor and API.
Outline:
/api/rpc
.Important is that we should catch and forward RPC errors from main to Sentry, even if the backup saved the request, so that we get notified.
Status:
The text was updated successfully, but these errors were encountered: