Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: live switch bnb quote for 1 percent #620

Merged
merged 1 commit into from
Apr 22, 2024

Conversation

jsy1218
Copy link
Member

@jsy1218 jsy1218 commented Apr 22, 2024

We check the following metrics before we decide to live switch on BNB:

  • Is the success rate on the BNB endpoint and on each BNB RPC call consistent?
    BNB endpoint shows the consistently high success rate:
Screenshot 2024-04-22 at 2 57 52 PM
  • Is the latency on the BNB endpoint consistent?
    BNB latency does not change after the quote shadow sampling:
Screenshot 2024-04-22 at 2 58 53 PM
  • Is the RPC call volume only slightly up after quote shadow sampling on BNB?
    BNB RPC call volume only shows minimum increase, which is important because when we live switch, we don't expect to see any further more RPC calls due to our optimized implementations:
Screenshot 2024-04-22 at 3 00 01 PM

Is the Shadow quoter faster than the current quoter on BNB?
V3 shadow quoter shows consistently better latency then the current v3 quoter on BNB:
Screenshot 2024-04-22 at 3 01 12 PM

Is the quote accuracy always 100% between new v3 quoter and current v3 quoter?
The accuracy comparison shows it's always at 100%:
Screenshot 2024-04-22 at 3 02 50 PM

@jsy1218 jsy1218 self-assigned this Apr 22, 2024
@jsy1218 jsy1218 merged commit 41a3347 into main Apr 22, 2024
5 checks passed
@jsy1218 jsy1218 deleted the jsy1218/live-switch-bnb-quote-for-1-percent branch April 22, 2024 22:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants