0
Siyeza created
Prerequisites
- What is your product version? 8.6
- What is your product type (Angular or MVC)? Angular
- What is product framework type (.net framework or .net core)? .NET Core
If issue related with ABP Framework
- What is ABP Framework version? 5.6
If issue is about UI
- Which theme are you using? Default theme
- What are the theme settings? Default settings
Hi,
We're performing load tests on our application using JMeter, and we've noticed a lot of DB queries to get the current tenant details. I'm assuming it's for correctly configuring the Unit Of Work.for each API service call etc.
We're investigating caching the Tenant details, as it's unlikey the Tenant details are likely to change that often, in order to reduce the numbers of queries to the DB.
My questions are, does the ABP framework already cache tenant details? If not, does the framework use TenantManager or IRepository<Tenant> to perform these queries? What's the simplest way to cache Tenant details?
Thanks,
1 Answer(s)
-
0
hi Siyeza
We usually use
ITenantCache
to get tenant info. It's will use cache inside.