You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We ask the same prices from the Pragma API over & over.
Expected Behavior
We should implement a small cache (probably 1min life) so that it goes a lot faster for the checks.
NOTE: One idea hanging maybe worth exploring:
Have a parallel service responsible of querying all the Pragma API USD prices every X seconds and fill a hashmap ASSET <=> PRICE accessible by the monitoring service, which will only read it and does not care about querying the API.
The text was updated successfully, but these errors were encountered:
Current Behavior
We ask the same prices from the Pragma API over & over.
Expected Behavior
We should implement a small cache (probably 1min life) so that it goes a lot faster for the checks.
NOTE: One idea hanging maybe worth exploring:
Have a parallel service responsible of querying all the Pragma API USD prices every X seconds and fill a hashmap
ASSET <=> PRICE
accessible by the monitoring service, which will only read it and does not care about querying the API.The text was updated successfully, but these errors were encountered: