In-memory caching in Azure function

There is a need to cache objects to improve the function of my Azure. I tried .NET ObjectCache (System.Runtime.Caching) and it worked well in my testing (tested with a cache storage period of up to 10 minutes).

To take this decision forward, I have a few quick questions:

  • What is the Azure recycling policy. Is there a default? Can I customize?

  • What is implied in the cost?

  • Is my approach right or are there any better solutions?

Any questions you may know, please help.

Thank.

+1
source share
2 answers

Javed

, Redis ( , ).

, , , ( ) , .

, , " ", - . , , , .

, !

+7

-, . D:\HOME ( %HOME%) . , Azure , -, 1 , 10 , 50 .

.NET ObjectCache . ( ). , , .

, , , DNS. , .

, , , , . DocumentDB, , . Redis, , , /.

+1

Source: https://habr.com/ru/post/1690463/


All Articles