Activities of "portx-dev"

I would like to stop using redis to isolate the problem. How can I stop using redis?

Question

Hi,

We found some redis commands are very slow(1~53s), and fails in test environment. We use amazon elasticache(redis) for our test environment.

slow command examples are below.

HMGET t:3a0c1d64-4d96-0ab6-9c31-0a332a2b8a8e,c:Volo.Abp.LanguageManagement.Texts,k:PortX:PortX_ja HMGET t:3a0c1d64-4d96-0ab6-9c31-0a332a2b8a8e,c:Volo.Abp.LanguageManagement.Texts,k:PortX:AbpValidation_en HMGET c:Volo.Saas.Tenants.Tenant,k:PortX:i:3a0c1d64-4d96-0ab6-9c31-0a332a2b8a8e,n:null EXPIRE t:3a0c1d64-4d96-0ab6-9c31-0a332a2b8a8e,c:Volo.Abp.LanguageManagement.Texts,k:PortX:AbpValidation_en EXPIRE t:3a0c1d64-4d96-0ab6-9c31-0a332a2b8a8e,c:Volo.Abp.LanguageManagement.Texts,k:PortX:AbpValidation_ja EXPIRE c:Volo.Saas.Tenants.Tenant,k:PortX:i:3a0c1d64-4d96-0ab6-9c31-0a332a2b8a8e,n:null HMGET t:3a0c1d64-4d96-0ab6-9c31-0a332a2b8a8e,c:Volo.Abp.PermissionManagement.PermissionGrant,k:PortX:pn:R,pk:admin,n:PortX.RegularProjectRequestHistories.Create

We had a lot of time to investigate the reason with Datadog APM and redis insight, but we've not found the exact reason.

[investigation result]

  • the most portion of the commands are fast(12.81ms by 99 percentile). few commands are very slow(1~53s).
  • server resource is enough (cpu/memory utilization is under 40%)
  • redis resource is enough (cpu/memory utilization is under 40%)
  • values returned by slow commands are not so large.
  • we don't customize framework code which execute redis commands.
  • we found the value of the key t:*:Volo.Abp.LanguageManagement.Texts,k:PortX:PortX_ja is almost empty: { "dictionary": {} }

With these slow commands, we couldn't meet our customers needs.

We doubt

  • Amazon Elasticache(redis) have bad compatibility with ABP framework?
  • We use Amazon Elasticache(redis) with default parameters. There is room for customization?
  • Should we customize some configuration in ABP framework?
  • We mis config some setting?

ABP Framework version: Commercial 7.2 UI type: Angular DB provider: EF Core

Thanks.

I have read the content you provided.

Now, I have question about deep implementation in abp application.

When I login in id application, there is no session info(image1). And after authentication redirecting to main application, there is session info(ex. access_token, id_token, ...) in local storage(image2).

My question is, how is the session info passed from id application to main application? Is there any global state?, or the services communicate with in back channel?

Is there any document about authorization or session management in abp commercial? If abp commercial application extends authorization function from asp.net core, I want to know the document about it.

my goal

  • understand how session is managed in abp commercial.
  • how to access backend api with session infos.

background

  • Now, I'm setting up OWASP ZAP client to test abp application.
  • I want OWASP ZAP client to login abp application itself before penetration test.
  • I have to set OWASP ZAP configuration, relating to authorization(ex. authentication method, session management)

Thanks for your support.


ABP Framework version: Commercial 7.2

UI type: Angular

DB provider: EF Core

thx

I plan to embed bi tools like power bi and QuickSight inside ABP Commercial. Does ABP Commercial have a BI library/tool that works well with ABP Commercial? Or do you have a recommended BI library/tool?


ABP Framework version: Commercial 7.2

UI type: Angular

DB provider: EF Core

テナントのクローンを作成するためのサンプルコードはありますか?

thank you.

・Data of all entities. ・I want to copy the user and scope as well. ・I want to keep the timestamp.

Yes, I want to create a new tenant by inheriting all information from the clone source. how do i do that?

Question

I want to clone tenant

How would you go about developing such functionality?

Also, if it is difficult to duplicate the tenant, I would like to create a function to export the data of the copy source and import the data to the tenant of the copy destination. Is this possible?


ABP Framework version: Commercial 7.2

UI type: Angular

DB provider: EF Core

Showing 111 to 120 of 162 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on December 12, 2025, 10:36
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.