Create / Update pages slow performance? #4422
-
Hey guys, im new to wikijs and i like it so far but im facing a problem(?) about updating / saving pages and the performance. Container log after clicking "save page": Loading configuration from /wiki/config.yml... OK CPU increases while saving the page + ~20% Current wikijs stats Current env stats |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
This is also something I immediately wondered, editing pages is pretty sluggish at the moment, even on an install with just a few pages.... |
Beta Was this translation helpful? Give feedback.
-
Ahhh, it looks like tasks like rendering pages fork a child process per request. This is a lot of overhead for a web request (which ideally should complete in under 250ms), and something that can be resolved by doing the forking on initialization and submitting to a pool. See https://www.alexanderlolis.com/node-js-fork-is-slow-deal-with-it |
Beta Was this translation helpful? Give feedback.
-
This is being addressed in the upcoming 3.0 version. |
Beta Was this translation helpful? Give feedback.
This is being addressed in the upcoming 3.0 version.