Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
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?


6 Answer(s)
  • User Avatar
    0
    shipserv created

    Hi Support,

    Just a gentle followup on this :) Any update?

  • 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.

  • 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?

  • 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?

  • 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.

  • User Avatar
    0
    shipserv created

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