❔ API Call really slow (6+ seconds) on first call, then fast (100ms) afterwards
Website (may or may not be slow): https://delightful-hill-04904a303.2.azurestaticapps.net/
The method GetList() at line 138 is the API call: https://github.com/dzenis-zigo/Frizerski-Salon-ML/blob/main/SalonML/SalonML_API/Controllers/DynamicContentController.cs
Frizerski Salon ML
Frizerski Salon ML is ... TODO
GitHub
Frizerski-Salon-ML/DynamicContentController.cs at main · dzenis-zig...
Contribute to dzenis-zigo/Frizerski-Salon-ML development by creating an account on GitHub.
6 Replies
without looking it up, i asume you are using entity framework. EF is doing magic on first call, which takes some time.
https://stackoverflow.com/questions/13250679/how-to-warm-up-entity-framework-when-does-it-get-cold
its a bit old but you could read through it anyways
Stack Overflow
How to "warm-up" Entity Framework? When does it get "cold"?
No, the answer to my second question is not the winter.
Preface:
I've been doing a lot of research on Entity Framework recently and something that keeps bothering me is its performance when the q...
the issue was happening every 15-30 mins but i think it's because Azure App was doing funny stuff
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.