Open linsyking opened 11 months ago
Not yet, sadly. The main problem is that Lua-ML, the Lua interpreter that soupault uses, is not thread-safe, so it will need a global lock and whenever plugins are involved, worker threads will spend a lot of time waiting for their chance to run Lua code.
But maybe my idea is wrong and there are substantial gains from parallelizing the work that can be parallelized (such as loading page source files into element trees). I'll need to experiment with it.
Is it possible to generate pages by using multiple threads to speed up?