You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(This is more of a feature request / performance optimization thing than an actual bug report.)
Zinnia seems to perform no caching of the markup rendering for blog entries. This rendering can be quite expensive especially with:
Large articles (5K+ words)
Syndication feeds, which end up re-rendering many articles on each request (and AFAICT there is no django caching happening at the view layer either).
We've been using Zinnia for the development blog on dolphin-emu.org for quite a while, but recently we've started hitting more and more performance issues due to this behavior. We've had at least one outage caused by multiple clients requesting syndication feeds around the same time and hogging all of the CPU converting markdown to HTML.
Expected behavior
It would probably make sense to keep a cached version of the rendering inside the entry model. This would increase database size, but greatly improve rendering time (basically free).
Steps to reproduce the issue
Add 10+ large blog entries in markdown or any other markup language
Send a lot of requests to /feeds/
Notice the high amount of CPU time wasted.
Specifications
Zinnia version: 0.20
Django version: 2.2.6
Python version: 3.6
Operating system: Debian testing
Disclaimer
Before submitting an issue make sure you have:
Read the guidelines for contributing.
Checked for duplicate issues.
Not a support request.
The text was updated successfully, but these errors were encountered:
Actual behavior
(This is more of a feature request / performance optimization thing than an actual bug report.)
Zinnia seems to perform no caching of the markup rendering for blog entries. This rendering can be quite expensive especially with:
We've been using Zinnia for the development blog on dolphin-emu.org for quite a while, but recently we've started hitting more and more performance issues due to this behavior. We've had at least one outage caused by multiple clients requesting syndication feeds around the same time and hogging all of the CPU converting markdown to HTML.
Expected behavior
It would probably make sense to keep a cached version of the rendering inside the entry model. This would increase database size, but greatly improve rendering time (basically free).
Steps to reproduce the issue
Specifications
Disclaimer
Before submitting an issue make sure you have:
The text was updated successfully, but these errors were encountered: