alexandruantochi / cardnado

1 stars 0 forks source link

Cache the data in the function instead of querying the database every time #9

Closed alexandruantochi closed 1 month ago

alexandruantochi commented 2 months ago

In-memory cache in Azure Functions is tied to the lifecycle of the function instance. When an instance is idle for a certain period or scales down, the in-memory cache is lost. We can leverage this in cases of multiple calls in the same timespan.