[英]Use of MemoryCache in .net core mvc 2.1 and application will be deployed on azure WebApp
https://docs.microsoft.com/en-us/aspnet/core/performance/caching/memory?view=aspnetcore-2.1 https://docs.microsoft.com/zh-cn/aspnet/core/performance/caching/memory?view=aspnetcore-2.1
I am creating a .net core MVC 2.1 application. 我正在创建一个.net核心MVC 2.1应用程序。 I am thinking of caching master data , using details mentioned in above link.
我正在考虑使用上面链接中提到的详细信息缓存主数据。 My application would be deployed on Win WebApp on azure.
我的应用程序将在Azure上部署在Win WebApp上。 WebApp scales itself based on load.
WebApp可根据负载进行扩展。 No idea how caching will behave in this case.
不知道在这种情况下缓存将如何表现。 Any any moment if multiple webservers are running, each would maintain its own cache?
如果有多个Web服务器正在运行,则每个时刻都会维护自己的缓存吗? If this fails, is Managed Redis is the only choice on azure?
如果失败,是Azure的唯一选择是Managed Redis吗?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.