Base solution for your next web application
Open Closed

Too many calls to REDIS getting the AbpZeroTenantCache #9751


User avatar
0
shipserv created

Prerequisites

  • What is your product version? V7.0.0
  • What is your product type (Angular or MVC)? Angular
  • What is product framework type (.net framework or .net core)? .net core 2.2

If issue related with ABP Framework

  • What is ABP Framework version? 4.6

Hi Support,

We are having this issue where we are seeing a lot of calls to redis querying the AbpZeroTenantCache for all Tenants in the system.

We can't figure out where these calls are triggered, may you please help?

Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

6 Answer(s)
  • User Avatar
    0
    shipserv created

    Hi Support,

    Just a gentle followup on this :) Any update?

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    We recently made an enahancement about this problem, see https://github.com/aspnetboilerplate/aspnetboilerplate/issues/5551. You can upgrade your ABP NuGet package version to ABP 4.16 or to latest 4.x version and see if it helps.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    shipserv created

    Thank you. We did upgrade ABP to 4.16 but still seeing the a lot of calls. For every endpoint, there's multiple redis get calls AbpTenantCache, is this expected?

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    shipserv created

    Hi Support, any update on this? After upgrading to the suggested Abp version, we are still seeing a lot of redis get calls. Do you have other suggestions that could help minimize the calls? Will upgrading to the latest version of AspNet Zero help?

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    zony created
    Support Team

    Hi shipserv, The problem is that every HTTP request needs to obtain tenant information from Redis. I think the second level cache (memory) should be added to alleviate this situation. I think this is an enhancement issue.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    shipserv created

    Hi zony, thank you for your response and apologies for the delay.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)