feat: live switch optimism quote for 100 percent #639
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
We check the following metrics before we decide to increase traffic switch on Optimism:
Is Optimism live traffic switched at 1%?
![Screenshot 2024-04-25 at 10.17.15 AM.png](https://camo.githubusercontent.com/78d508e05ba549a6917b97a389dde5495eb738e5269284914b4433e6a2bce508/68747470733a2f2f67726170686974652d757365722d75706c6f616465642d6173736574732d70726f642e73332e616d617a6f6e6177732e636f6d2f42423534664b653659313047767272644b58514e2f64383139613635382d616437322d343064352d396366392d6438666661303462306332322e706e67)
Based on the metrics, this appears to be the same:
Is the success rate on the Optimism endpoint?
![Screenshot 2024-04-25 at 10.17.58 AM.png](https://camo.githubusercontent.com/3f9324b2445f65e0796da604122e2829b729acb927849a912e4f20baaf7050cb/68747470733a2f2f67726170686974652d757365722d75706c6f616465642d6173736574732d70726f642e73332e616d617a6f6e6177732e636f6d2f42423534664b653659313047767272644b58514e2f64663532666464662d373466392d343131322d383333662d6434336461653733393364622e706e67)
Optimism endpoint shows the consistently high success rate:
Is the latency on the Optimism endpoint consistent?
![Screenshot 2024-04-25 at 10.27.25 AM.png](https://camo.githubusercontent.com/a070633d902f68752bd10a3248896dd1571bc1a872dfc03a53457784e44aa331/68747470733a2f2f67726170686974652d757365722d75706c6f616465642d6173736574732d70726f642e73332e616d617a6f6e6177732e636f6d2f42423534664b653659313047767272644b58514e2f38363766663161362d333732302d346430352d383366642d3733373935613936663632352e706e67)
Optimism latency actually went down a while after live switch, but I think this is due to the RPC call latency improvement:
Is the RPC call volume only slightly up after quote shadow sampling on Optimism?
![Screenshot 2024-04-25 at 10.28.18 AM.png](https://camo.githubusercontent.com/ea9a741dcd7e4c0293a937567a8a4287bc166aaf600431e74539c9bdfacd0e3b/68747470733a2f2f67726170686974652d757365722d75706c6f616465642d6173736574732d70726f642e73332e616d617a6f6e6177732e636f6d2f42423534664b653659313047767272644b58514e2f30356633376664312d393437612d346364382d396364632d6238646362343664613532392e706e67)
Optimism 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: