Nar
@nar
Feel like this is super common for me 1. Oh look a shiny API 2. But it’s rate limited 3. Let me just write a script to periodically query the API and persist the data to a DB I can freely query from Is there a better pattern? Otherwise doing something like this for ERC-20 and NFT indexers this week
11 replies
0 recast
0 reaction
Shashank
@0xshash
For static data, this pattern could work. But for time sensitive data you'd have to do additional work to keep the data fresh and ensure you're not serving stale data And say the API adds a new feature, managing backfills etc can get nasty with low rate limits
1 reply
0 recast
0 reaction
Nar
@nar
Yep agreed, for our use case neither of those is a concern though
0 reply
0 recast
0 reaction