Activities of "ageiter"

And how is this statement supposed to help me solve the problem?

I am not familiar with Redis. Is there any way I can take measurements to test the performance? So that I can find out why it is running so slowly? Can I make changes to the configuration? Is it due to Docker Desktop?

The mail was unfortunately rejected... I'll make you a OneDrive share and try again.

hi

Can you share your test code? I will test it locally.

Thanks.

liming.ma@volosoft.com

I have sent you an e-mail. Thanks for taking a look.

These are the results when I start the application directly from Visual Studio (debug mode). Redis runs in a container in Docker Desktop.

Please focus on sorting in the list. Not on loading for the first time. The difference there is huge.

Without Redis: 75 ms With Redis: 2s 81 ms

Sorry, that was an interpretation mistake on my part. Here again, when I restart the application and then load the list for the first time -> 4 seconds:

2024-01-26 10:15:06.202 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:a638ebb7-ca2f-d603-48b8-3a10573449ae,n:MyProject.Optionen 2024-01-26 10:15:06.204 +01:00 [DBG] Found in the cache: pn:U,pk:a638ebb7-ca2f-d603-48b8-3a10573449ae,n:MyProject.Optionen 2024-01-26 10:15:06.205 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:MyProject.Optionen 2024-01-26 10:15:06.206 +01:00 [DBG] Found in the cache: pn:R,pk:admin,n:MyProject.Optionen 2024-01-26 10:15:06.464 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:a638ebb7-ca2f-d603-48b8-3a10573449ae,n:MyProject.Optionen.Create 2024-01-26 10:15:06.466 +01:00 [DBG] Found in the cache: pn:U,pk:a638ebb7-ca2f-d603-48b8-3a10573449ae,n:MyProject.Optionen.Create 2024-01-26 10:15:06.466 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:MyProject.Optionen.Create 2024-01-26 10:15:06.468 +01:00 [DBG] Found in the cache: pn:R,pk:admin,n:MyProject.Optionen.Create 2024-01-26 10:15:06.484 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:a638ebb7-ca2f-d603-48b8-3a10573449ae,n:MyProject.Optionen.Create 2024-01-26 10:15:06.487 +01:00 [DBG] Found in the cache: pn:U,pk:a638ebb7-ca2f-d603-48b8-3a10573449ae,n:MyProject.Optionen.Create 2024-01-26 10:15:06.487 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:MyProject.Optionen.Create 2024-01-26 10:15:06.489 +01:00 [DBG] Found in the cache: pn:R,pk:admin,n:MyProject.Optionen.Create 2024-01-26 10:15:06.944 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:a638ebb7-ca2f-d603-48b8-3a10573449ae,n:MyProject.Optionen.Edit 2024-01-26 10:15:06.946 +01:00 [DBG] Found in the cache: pn:U,pk:a638ebb7-ca2f-d603-48b8-3a10573449ae,n:MyProject.Optionen.Edit 2024-01-26 10:15:06.946 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:MyProject.Optionen.Edit 2024-01-26 10:15:06.948 +01:00 [DBG] Found in the cache: pn:R,pk:admin,n:MyProject.Optionen.Edit 2024-01-26 10:15:06.954 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:a638ebb7-ca2f-d603-48b8-3a10573449ae,n:MyProject.Optionen.Delete 2024-01-26 10:15:06.957 +01:00 [DBG] Found in the cache: pn:U,pk:a638ebb7-ca2f-d603-48b8-3a10573449ae,n:MyProject.Optionen.Delete 2024-01-26 10:15:06.957 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:MyProject.Optionen.Delete 2024-01-26 10:15:06.960 +01:00 [DBG] Found in the cache: pn:R,pk:admin,n:MyProject.Optionen.Delete 2024-01-26 10:15:07.274 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:a638ebb7-ca2f-d603-48b8-3a10573449ae,n:MyProject.Optionen.Create 2024-01-26 10:15:07.275 +01:00 [DBG] Found in the cache: pn:U,pk:a638ebb7-ca2f-d603-48b8-3a10573449ae,n:MyProject.Optionen.Create 2024-01-26 10:15:07.276 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:MyProject.Optionen.Create 2024-01-26 10:15:07.278 +01:00 [DBG] Found in the cache: pn:R,pk:admin,n:MyProject.Optionen.Create 2024-01-26 10:15:07.627 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:a638ebb7-ca2f-d603-48b8-3a10573449ae,n:MyProject.Optionen 2024-01-26 10:15:07.629 +01:00 [DBG] Found in the cache: pn:U,pk:a638ebb7-ca2f-d603-48b8-3a10573449ae,n:MyProject.Optionen 2024-01-26 10:15:07.629 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:MyProject.Optionen 2024-01-26 10:15:07.631 +01:00 [DBG] Found in the cache: pn:R,pk:admin,n:MyProject.Optionen 2024-01-26 10:15:07.646 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:a638ebb7-ca2f-d603-48b8-3a10573449ae,n:MyProject.Optionen.Create 2024-01-26 10:15:07.647 +01:00 [DBG] Found in the cache: pn:U,pk:a638ebb7-ca2f-d603-48b8-3a10573449ae,n:MyProject.Optionen.Create 2024-01-26 10:15:07.648 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:MyProject.Optionen.Create 2024-01-26 10:15:07.650 +01:00 [DBG] Found in the cache: pn:R,pk:admin,n:MyProject.Optionen.Create 2024-01-26 10:15:09.485 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:a638ebb7-ca2f-d603-48b8-3a10573449ae,n:MyProject.Optionen.Create 2024-01-26 10:15:09.487 +01:00 [DBG] Found in the cache: pn:U,pk:a638ebb7-ca2f-d603-48b8-3a10573449ae,n:MyProject.Optionen.Create 2024-01-26 10:15:09.488 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:MyProject.Optionen.Create 2024-01-26 10:15:09.490 +01:00 [DBG] Found in the cache: pn:R,pk:admin,n:MyProject.Optionen.Create 2024-01-26 10:15:10.152 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:a638ebb7-ca2f-d603-48b8-3a10573449ae,n:MyProject.Optionen.Create 2024-01-26 10:15:10.153 +01:00 [DBG] Found in the cache: pn:U,pk:a638ebb7-ca2f-d603-48b8-3a10573449ae,n:MyProject.Optionen.Create 2024-01-26 10:15:10.154 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:MyProject.Optionen.Create 2024-01-26 10:15:10.156 +01:00 [DBG] Found in the cache: pn:R,pk:admin,n:MyProject.Optionen.Create

I have this list with 13 entries and click on "Type" for sorting. This generates the following log entries:

2024-01-26 09:18:12.941 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:199f43f1-e471-80c9-a6de-3a10538f797c,n:MyProject.Optionen 2024-01-26 09:18:12.943 +01:00 [DBG] Found in the cache: pn:U,pk:199f43f1-e471-80c9-a6de-3a10538f797c,n:MyProject.Optionen 2024-01-26 09:18:12.944 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:MyProject.Optionen 2024-01-26 09:18:12.947 +01:00 [DBG] Found in the cache: pn:R,pk:admin,n:MyProject.Optionen 2024-01-26 09:18:12.954 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:199f43f1-e471-80c9-a6de-3a10538f797c,n:MyProject.Optionen.Create 2024-01-26 09:18:12.956 +01:00 [DBG] Found in the cache: pn:U,pk:199f43f1-e471-80c9-a6de-3a10538f797c,n:MyProject.Optionen.Create 2024-01-26 09:18:12.956 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:MyProject.Optionen.Create 2024-01-26 09:18:12.958 +01:00 [DBG] Found in the cache: pn:R,pk:admin,n:MyProject.Optionen.Create 2024-01-26 09:18:13.370 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:199f43f1-e471-80c9-a6de-3a10538f797c,n:MyProject.Optionen.Create 2024-01-26 09:18:13.372 +01:00 [DBG] Found in the cache: pn:U,pk:199f43f1-e471-80c9-a6de-3a10538f797c,n:MyProject.Optionen.Create 2024-01-26 09:18:13.372 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:MyProject.Optionen.Create 2024-01-26 09:18:13.374 +01:00 [DBG] Found in the cache: pn:R,pk:admin,n:MyProject.Optionen.Create 2024-01-26 09:18:14.016 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:199f43f1-e471-80c9-a6de-3a10538f797c,n:MyProject.Optionen.Create 2024-01-26 09:18:14.018 +01:00 [DBG] Found in the cache: pn:U,pk:199f43f1-e471-80c9-a6de-3a10538f797c,n:MyProject.Optionen.Create 2024-01-26 09:18:14.019 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:MyProject.Optionen.Create 2024-01-26 09:18:14.022 +01:00 [DBG] Found in the cache: pn:R,pk:admin,n:MyProject.Optionen.Create

When I open this list for the first time after starting the application, it takes about 12 seconds:

2024-01-26 09:17:37.837 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:199f43f1-e471-80c9-a6de-3a10538f797c,n:MyProject.Optionen 2024-01-26 09:17:37.841 +01:00 [DBG] Found in the cache: pn:U,pk:199f43f1-e471-80c9-a6de-3a10538f797c,n:MyProject.Optionen 2024-01-26 09:17:37.841 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:MyProject.Optionen 2024-01-26 09:17:37.843 +01:00 [DBG] Found in the cache: pn:R,pk:admin,n:MyProject.Optionen 2024-01-26 09:17:38.175 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:199f43f1-e471-80c9-a6de-3a10538f797c,n:MyProject.Optionen.Create 2024-01-26 09:17:38.178 +01:00 [DBG] Found in the cache: pn:U,pk:199f43f1-e471-80c9-a6de-3a10538f797c,n:MyProject.Optionen.Create 2024-01-26 09:17:38.178 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:MyProject.Optionen.Create 2024-01-26 09:17:38.180 +01:00 [DBG] Found in the cache: pn:R,pk:admin,n:MyProject.Optionen.Create 2024-01-26 09:17:38.201 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:199f43f1-e471-80c9-a6de-3a10538f797c,n:MyProject.Optionen.Create 2024-01-26 09:17:38.204 +01:00 [DBG] Found in the cache: pn:U,pk:199f43f1-e471-80c9-a6de-3a10538f797c,n:MyProject.Optionen.Create 2024-01-26 09:17:38.204 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:MyProject.Optionen.Create 2024-01-26 09:17:38.206 +01:00 [DBG] Found in the cache: pn:R,pk:admin,n:MyProject.Optionen.Create 2024-01-26 09:17:38.899 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:199f43f1-e471-80c9-a6de-3a10538f797c,n:MyProject.Optionen.Edit 2024-01-26 09:17:38.903 +01:00 [DBG] Found in the cache: pn:U,pk:199f43f1-e471-80c9-a6de-3a10538f797c,n:MyProject.Optionen.Edit 2024-01-26 09:17:38.903 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:MyProject.Optionen.Edit 2024-01-26 09:17:38.906 +01:00 [DBG] Found in the cache: pn:R,pk:admin,n:MyProject.Optionen.Edit 2024-01-26 09:17:39.387 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:199f43f1-e471-80c9-a6de-3a10538f797c,n:MyProject.Optionen.Delete 2024-01-26 09:17:39.392 +01:00 [DBG] Found in the cache: pn:U,pk:199f43f1-e471-80c9-a6de-3a10538f797c,n:MyProject.Optionen.Delete 2024-01-26 09:17:39.393 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:MyProject.Optionen.Delete 2024-01-26 09:17:39.395 +01:00 [DBG] Found in the cache: pn:R,pk:admin,n:MyProject.Optionen.Delete 2024-01-26 09:17:39.448 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:199f43f1-e471-80c9-a6de-3a10538f797c,n:MyProject.Optionen.Create 2024-01-26 09:17:39.452 +01:00 [DBG] Found in the cache: pn:U,pk:199f43f1-e471-80c9-a6de-3a10538f797c,n:MyProject.Optionen.Create 2024-01-26 09:17:39.453 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:MyProject.Optionen.Create 2024-01-26 09:17:39.456 +01:00 [DBG] Found in the cache: pn:R,pk:admin,n:MyProject.Optionen.Create 2024-01-26 09:17:39.973 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:199f43f1-e471-80c9-a6de-3a10538f797c,n:MyProject.Optionen 2024-01-26 09:17:39.978 +01:00 [DBG] Found in the cache: pn:U,pk:199f43f1-e471-80c9-a6de-3a10538f797c,n:MyProject.Optionen 2024-01-26 09:17:39.978 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:MyProject.Optionen 2024-01-26 09:17:39.980 +01:00 [DBG] Found in the cache: pn:R,pk:admin,n:MyProject.Optionen 2024-01-26 09:17:40.001 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:199f43f1-e471-80c9-a6de-3a10538f797c,n:MyProject.Optionen.Create 2024-01-26 09:17:40.005 +01:00 [DBG] Found in the cache: pn:U,pk:199f43f1-e471-80c9-a6de-3a10538f797c,n:MyProject.Optionen.Create 2024-01-26 09:17:40.006 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:MyProject.Optionen.Create 2024-01-26 09:17:40.008 +01:00 [DBG] Found in the cache: pn:R,pk:admin,n:MyProject.Optionen.Create 2024-01-26 09:17:48.565 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:199f43f1-e471-80c9-a6de-3a10538f797c,n:MyProject.Optionen.Create 2024-01-26 09:17:48.567 +01:00 [DBG] Found in the cache: pn:U,pk:199f43f1-e471-80c9-a6de-3a10538f797c,n:MyProject.Optionen.Create 2024-01-26 09:17:48.569 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:MyProject.Optionen.Create 2024-01-26 09:17:48.571 +01:00 [DBG] Found in the cache: pn:R,pk:admin,n:MyProject.Optionen.Create 2024-01-26 09:17:49.505 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:199f43f1-e471-80c9-a6de-3a10538f797c,n:MyProject.Optionen.Create 2024-01-26 09:17:49.509 +01:00 [DBG] Found in the cache: pn:U,pk:199f43f1-e471-80c9-a6de-3a10538f797c,n:MyProject.Optionen.Create 2024-01-26 09:17:49.510 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:MyProject.Optionen.Create 2024-01-26 09:17:49.512 +01:00 [DBG] Found in the cache: pn:R,pk:admin,n:MyProject.Optionen.Create

Now the comparison when I deactivate Redis: First time loading the list (3 seconds):

2024-01-26 09:27:06.658 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:199f43f1-e471-80c9-a6de-3a10538f797c,n:MyProject.Optionen 2024-01-26 09:27:06.658 +01:00 [DBG] Found in the cache: pn:U,pk:199f43f1-e471-80c9-a6de-3a10538f797c,n:MyProject.Optionen 2024-01-26 09:27:06.658 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:MyProject.Optionen 2024-01-26 09:27:06.658 +01:00 [DBG] Found in the cache: pn:R,pk:admin,n:MyProject.Optionen 2024-01-26 09:27:06.880 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:199f43f1-e471-80c9-a6de-3a10538f797c,n:MyProject.Optionen.Create 2024-01-26 09:27:06.880 +01:00 [DBG] Found in the cache: pn:U,pk:199f43f1-e471-80c9-a6de-3a10538f797c,n:MyProject.Optionen.Create 2024-01-26 09:27:06.881 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:MyProject.Optionen.Create 2024-01-26 09:27:06.881 +01:00 [DBG] Found in the cache: pn:R,pk:admin,n:MyProject.Optionen.Create 2024-01-26 09:27:06.881 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:199f43f1-e471-80c9-a6de-3a10538f797c,n:MyProject.Optionen.Edit 2024-01-26 09:27:06.881 +01:00 [DBG] Found in the cache: pn:U,pk:199f43f1-e471-80c9-a6de-3a10538f797c,n:MyProject.Optionen.Edit 2024-01-26 09:27:06.881 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:MyProject.Optionen.Edit 2024-01-26 09:27:06.881 +01:00 [DBG] Found in the cache: pn:R,pk:admin,n:MyProject.Optionen.Edit 2024-01-26 09:27:06.881 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:199f43f1-e471-80c9-a6de-3a10538f797c,n:MyProject.Optionen.Delete 2024-01-26 09:27:06.881 +01:00 [DBG] Found in the cache: pn:U,pk:199f43f1-e471-80c9-a6de-3a10538f797c,n:MyProject.Optionen.Delete 2024-01-26 09:27:06.881 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:MyProject.Optionen.Delete 2024-01-26 09:27:06.881 +01:00 [DBG] Found in the cache: pn:R,pk:admin,n:MyProject.Optionen.Delete 2024-01-26 09:27:06.891 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:199f43f1-e471-80c9-a6de-3a10538f797c,n:MyProject.Optionen.Create 2024-01-26 09:27:06.892 +01:00 [DBG] Found in the cache: pn:U,pk:199f43f1-e471-80c9-a6de-3a10538f797c,n:MyProject.Optionen.Create 2024-01-26 09:27:06.892 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:MyProject.Optionen.Create 2024-01-26 09:27:06.892 +01:00 [DBG] Found in the cache: pn:R,pk:admin,n:MyProject.Optionen.Create 2024-01-26 09:27:07.022 +01:00 [DBG] Added 0 entity changes to the current audit log 2024-01-26 09:27:07.024 +01:00 [DBG] Added 0 entity changes to the current audit log 2024-01-26 09:27:07.025 +01:00 [DBG] Added 0 entity changes to the current audit log 2024-01-26 09:27:07.036 +01:00 [DBG] Added 0 entity changes to the current audit log 2024-01-26 09:27:07.038 +01:00 [DBG] Added 0 entity changes to the current audit log 2024-01-26 09:27:07.040 +01:00 [DBG] Added 0 entity changes to the current audit log 2024-01-26 09:27:07.042 +01:00 [DBG] Added 0 entity changes to the current audit log 2024-01-26 09:27:07.278 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:199f43f1-e471-80c9-a6de-3a10538f797c,n:MyProject.Optionen 2024-01-26 09:27:07.278 +01:00 [DBG] Found in the cache: pn:U,pk:199f43f1-e471-80c9-a6de-3a10538f797c,n:MyProject.Optionen 2024-01-26 09:27:07.278 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:MyProject.Optionen 2024-01-26 09:27:07.278 +01:00 [DBG] Found in the cache: pn:R,pk:admin,n:MyProject.Optionen 2024-01-26 09:27:07.317 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:199f43f1-e471-80c9-a6de-3a10538f797c,n:MyProject.Optionen.Create 2024-01-26 09:27:07.317 +01:00 [DBG] Found in the cache: pn:U,pk:199f43f1-e471-80c9-a6de-3a10538f797c,n:MyProject.Optionen.Create 2024-01-26 09:27:07.317 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:MyProject.Optionen.Create 2024-01-26 09:27:07.317 +01:00 [DBG] Found in the cache: pn:R,pk:admin,n:MyProject.Optionen.Create 2024-01-26 09:27:08.969 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:199f43f1-e471-80c9-a6de-3a10538f797c,n:MyProject.Optionen.Create 2024-01-26 09:27:08.969 +01:00 [DBG] Found in the cache: pn:U,pk:199f43f1-e471-80c9-a6de-3a10538f797c,n:MyProject.Optionen.Create 2024-01-26 09:27:08.969 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:MyProject.Optionen.Create 2024-01-26 09:27:08.969 +01:00 [DBG] Found in the cache: pn:R,pk:admin,n:MyProject.Optionen.Create 2024-01-26 09:27:09.026 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:199f43f1-e471-80c9-a6de-3a10538f797c,n:MyProject.Optionen.Create 2024-01-26 09:27:09.026 +01:00 [DBG] Found in the cache: pn:U,pk:199f43f1-e471-80c9-a6de-3a10538f797c,n:MyProject.Optionen.Create 2024-01-26 09:27:09.026 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:MyProject.Optionen.Create 2024-01-26 09:27:09.026 +01:00 [DBG] Found in the cache: pn:R,pk:admin,n:MyProject.Optionen.Create

Sorting the list (very fast):

2024-01-26 09:29:04.470 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:199f43f1-e471-80c9-a6de-3a10538f797c,n:MyProject.Optionen 2024-01-26 09:29:04.470 +01:00 [DBG] Found in the cache: pn:U,pk:199f43f1-e471-80c9-a6de-3a10538f797c,n:MyProject.Optionen 2024-01-26 09:29:04.471 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:MyProject.Optionen 2024-01-26 09:29:04.471 +01:00 [DBG] Found in the cache: pn:R,pk:admin,n:MyProject.Optionen 2024-01-26 09:29:04.478 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:199f43f1-e471-80c9-a6de-3a10538f797c,n:MyProject.Optionen.Create 2024-01-26 09:29:04.478 +01:00 [DBG] Found in the cache: pn:U,pk:199f43f1-e471-80c9-a6de-3a10538f797c,n:MyProject.Optionen.Create 2024-01-26 09:29:04.478 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:MyProject.Optionen.Create 2024-01-26 09:29:04.478 +01:00 [DBG] Found in the cache: pn:R,pk:admin,n:MyProject.Optionen.Create 2024-01-26 09:29:04.505 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:199f43f1-e471-80c9-a6de-3a10538f797c,n:MyProject.Optionen.Create 2024-01-26 09:29:04.505 +01:00 [DBG] Found in the cache: pn:U,pk:199f43f1-e471-80c9-a6de-3a10538f797c,n:MyProject.Optionen.Create 2024-01-26 09:29:04.505 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:MyProject.Optionen.Create 2024-01-26 09:29:04.505 +01:00 [DBG] Found in the cache: pn:R,pk:admin,n:MyProject.Optionen.Create 2024-01-26 09:29:04.545 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:199f43f1-e471-80c9-a6de-3a10538f797c,n:MyProject.Optionen.Create 2024-01-26 09:29:04.545 +01:00 [DBG] Found in the cache: pn:U,pk:199f43f1-e471-80c9-a6de-3a10538f797c,n:MyProject.Optionen.Create 2024-01-26 09:29:04.545 +01:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:MyProject.Optionen.Create 2024-01-26 09:29:04.545 +01:00 [DBG] Found in the cache: pn:R,pk:admin,n:MyProject.Optionen.Create

Note: The solution was created with the Blazor Server template version 8.0.1 and uses tenants.

We have noticed that the application becomes very slow with Redis. If I deactivate Redis (Blazor app), it runs fine. As soon as I activate Redis, there are noticeable delays.

For example, sorting 20 entries in a DataGrid (UI generated via the suite) takes about 2 seconds. This is totally unusable. I think it has to do with checking permissions (I've read the same problem of @maris.vigulis here: https://support.abp.io/QA/Questions/6213/Login-performance-issue#answer-3a0f3769-9e3a-6285-9801-8fd2f987d727). You can also see the buttons (Export to Excel, New ...) "flicker".

Side note: I have Redis running in a Docker container.

What can I do to improve the performance?

The option to make several navigation properties to the same entity.

Classic example: You have a table/entity for dropdown items and want to reference it several times, but with different property names (color, category, gender, ...).

When generating the Blazor DataGrid, the fact that the enums can also be defined as nullable is not taken into account. As with the DateTime, two templates would be required:

  • Frontend.Blazor.Page.Partials.Modal.Field.Enum.DisplayNullable
  • Frontend.Blazor.Page.Partials.Modal.Field.Enum.DisplayNonNullable

It would be ideal for your tests if you could create an entity model with all possible combinations and data types with which you could test the templates. Because with the current templates (8.0.2) I have already had to fix six of them because otherwise the solution would not compile.

Showing 111 to 120 of 208 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 20, 2024, 08:30