- ABP Framework version: v8.0.1
- UI Type: Blazor Server
- Database System: EF Core (SQL Server)
- Tiered (for MVC) or Auth Server Separated (for Angular): no
We have already made several ABP applications with Blazor Server (without Redis Cache). But never with the "Public Website" so far. Now we would like to integrate it and were surprised that the Redis cache is necessary here. We do not have a distributed / tiered application.
I know that this is a prerequisite for the CRM module.
I would be interested to know why the cache is absolutely necessary? What are the reasons for this? Does it have to do with the fact that the Blazor app and the public website share certain things?
I also have the question of how large the cache needs to be if I host the application on Azure... that costs extra money again...
Thanks, Adrian
59 Answer(s)
-
0
For 4 entries in the list 823 ms instead of 61 ms is not nothing and from my point of view not usable. You can see this in the behavior of the UI (see video with the delay and the "flickering" of the buttons). The user experience suffers greatly as a result. I can still do tests to see how it looks with large lists...
With 20 items it already takes 1315 ms... I don't want to know how long you have to wait with many more items.
-
0
hi
https://streamable.com/o7d2wv?src=player-page-share
There is no problem in my local environment.
-
0
Ok... strange... but yes, it runs smoothly in your video. Redis is really enabled? ;-)
-
0
-
0
Thank you for taking the time to do the test.
I have now installed Redis directly in Ubuntu with WSL2 (without Docker). And it's already running twice as fast. It's not perfect yet, but it's much better.
I'm looking forward to seeing how fast it runs in an Azure deployment.
Do you run Redis the same way? (Ubuntu) or are you running it in Docker?
-
0
-
0
Ok... hm... these are my stats:
But something is still completely unclear to me. Why do I NOT notice these delays in the admin views? (e.g. language management texts or security logs)? These are loaded very quickly, although there are many more entries there.
The most annoying thing is that the buttons in the toolbar are reloaded with every click in the grid. Why is this the situation? Permissions only need to be checked when the page is loaded.
-
0
hi
I don't have much experience with this.
But I'm sure it's not about the code. It is about the environment.