From c71522f77e725fa352f7a0725c081a0bf50e4f0c Mon Sep 17 00:00:00 2001 From: "Siyu Jiang (See-You John)" <91580504+jsy1218@users.noreply.github.com> Date: Fri, 1 Nov 2024 09:01:17 -0700 Subject: [PATCH] chore: new cached routes percent 30% (#898) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit with 10%, I can see caching routing lambda concurrent executions going up, meanwhile routing lambda concurrent executions going down a bit: ![Screenshot 2024-11-01 at 11.55.07 AM.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/BB54fKe6Y10GvrrdKXQN/e7fd5992-e131-4c66-96b9-3fc23d8aadb6.png) ![Screenshot 2024-11-01 at 11.55.35 AM.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/BB54fKe6Y10GvrrdKXQN/dcbd3113-8457-43b0-9404-52c1cad87cef.png) routing dashboard wise, I haven't see latency improvement yet: ![Screenshot 2024-11-01 at 11.56.20 AM.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/BB54fKe6Y10GvrrdKXQN/b6e91b28-4af7-4aee-8cd2-e44aeaa5d587.png) This motivates me to go higher enough percent, in a hope to see if the quote endpoint latency can show difference. --- lib/util/newCachedRoutesRolloutPercent.ts | 24 +++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/lib/util/newCachedRoutesRolloutPercent.ts b/lib/util/newCachedRoutesRolloutPercent.ts index b28353336..b538cd3eb 100644 --- a/lib/util/newCachedRoutesRolloutPercent.ts +++ b/lib/util/newCachedRoutesRolloutPercent.ts @@ -5,30 +5,30 @@ import { ChainId } from '@uniswap/sdk-core' // production nets depending on revenue/quote traffic volume, if it's medium/high 1%, otherwise super low traffic (< 100 quotes per 5 minutes) 100% // so zora and blast go to 100% directly. rootstock is not supported by uniswap labs product or protocol layer, go to 100% directly. export const NEW_CACHED_ROUTES_ROLLOUT_PERCENT: { [chain in ChainId]: number } = { - [ChainId.MAINNET]: 10, + [ChainId.MAINNET]: 30, [ChainId.GOERLI]: 100, [ChainId.SEPOLIA]: 100, - [ChainId.OPTIMISM]: 10, + [ChainId.OPTIMISM]: 30, [ChainId.OPTIMISM_GOERLI]: 100, [ChainId.OPTIMISM_SEPOLIA]: 100, - [ChainId.ARBITRUM_ONE]: 10, + [ChainId.ARBITRUM_ONE]: 30, [ChainId.ARBITRUM_GOERLI]: 100, [ChainId.ARBITRUM_SEPOLIA]: 100, - [ChainId.POLYGON]: 10, + [ChainId.POLYGON]: 30, [ChainId.POLYGON_MUMBAI]: 100, - [ChainId.CELO]: 10, + [ChainId.CELO]: 30, [ChainId.CELO_ALFAJORES]: 100, - [ChainId.GNOSIS]: 10, - [ChainId.MOONBEAM]: 10, - [ChainId.BNB]: 10, - [ChainId.AVALANCHE]: 10, + [ChainId.GNOSIS]: 30, + [ChainId.MOONBEAM]: 30, + [ChainId.BNB]: 30, + [ChainId.AVALANCHE]: 30, [ChainId.BASE_GOERLI]: 100, - [ChainId.BASE]: 10, + [ChainId.BASE]: 30, [ChainId.ZORA]: 100, [ChainId.ZORA_SEPOLIA]: 100, [ChainId.ROOTSTOCK]: 100, [ChainId.BLAST]: 100, - [ChainId.ZKSYNC]: 10, - [ChainId.WORLDCHAIN]: 10, + [ChainId.ZKSYNC]: 30, + [ChainId.WORLDCHAIN]: 30, [ChainId.ASTROCHAIN_SEPOLIA]: 100, }