Dnn.Platform icon indicating copy to clipboard operation
Dnn.Platform copied to clipboard

[Enhancement]: various enhancements from a large installation with external cache

Open skamphuis opened this issue 2 years ago • 0 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Description of problem

I have been working in with a rather large DNN installation in a quite specific environment. This single DNN instance has approximately 3000 portals with about 10 languages is running in a webfarm, using Redis as an external cache.

In this environment we ran into some issues we needed to address to improve performance.

Description of solution

I'm creating 3 PR's related to this, by grouping the issues into 3 areas:

  • Logging: we needed to use logging a lot to find issues related to the external cache. We found there are some log messages being added a lot, that don't really help for anything.
  • Caching: using an external cache adds some overhead to using the cache. That way we found a few places where caching could be improved
  • Fixes: we found a few places where exceptions could be prevented, and we ran into a few smaller issues (small to DNN, big impact for us, mostly).

Description of alternatives considered

No response

Anything else?

No response

Do you be plan to contribute code for this enhancement?

  • [X] Yes

Would you be interested in sponsoring this enhancement?

  • [ ] Yes

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

skamphuis avatar Sep 22 '23 08:09 skamphuis