Skip to content

Instantly share code, notes, and snippets.

Last active May 26, 2022 05:26
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?

5% migration of S0 RPC traffic to getlogs

idea of the task is to redirect 5% of our RPC traffic to the offchain getlogs endpoint and measure the impacts it has on our harmony ecosystem

current DNS configuration and are currently configured as latency based split into different region/data center

when a region goes down, traffic will be redirected to another region/data center

proposed work

Latency based routing will be updated to CNANEs to the region/DC (not the actual endpoint)

ie : for region : Europe (Frankfurt) or

2 weighted (5/95) CNAME pointing to the respective endpoint will then be created

risks and potential issue

the current getlogs endpoints backend is only located in the US AWS DC. 5% of the traffic might be responding slower than usual

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment