Skip to content

Performance Spike: caching? db? #5

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

Open
steezeburger opened this issue Feb 8, 2025 · 1 comment
Open

Performance Spike: caching? db? #5

steezeburger opened this issue Feb 8, 2025 · 1 comment
Assignees

Comments

@steezeburger
Copy link
Member

Requests are quite slow.

What does uniswap do to improve performance? Cache the results? https://github.com/Uniswap/routing-api

AWS Lambda + Middy middleware
I see some references to Dynamo. GCP has Spanner
Looks like they might be caching some pool data as well as caching some api routes.

Libs used:

@steezeburger steezeburger self-assigned this Feb 8, 2025
@steezeburger
Copy link
Member Author

There are also some areas where we have N+1 calls to get USDC prices and/or conversion rates. Would be helpful to have this all in one call.
Also a scenario where we make a 2nd quote call when we first have an exactOut quote. The return values for exactOut have correct quote value, but the gas estimate quote is wrong I think

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

No branches or pull requests

1 participant