-
-
Notifications
You must be signed in to change notification settings - Fork 315
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AlchemyCMS can become extremly unresponsive with thousands of pages. #894
Comments
Hey, yes, this is already discussed and the solution would be to separate the navigation tree from the pages. If we do that, then lots of these issues will be gone IMO. Especially the performance issues of the nested set. I presume, that, if you don't have all these thousand of pages in the navigation, right? And even then, we could change that to an eager loading tree. Having the pages a normal resource, we can load them paginated and in chunks and we could add real search/autocomplete. I published the branch, where the feature is almost finished (https://github.com/AlchemyCMS/alchemy_cms/tree/4.0/nodes). Some specs are failing and need to be rewritten for the new implementation. And we need some nice upgrade path. We would be super happy to address these issues! |
And here is the Trello Board: https://trello.com/b/EDoGFAul/alchemy-4 |
@nicolai86 please PM me, so I can add you to the Trello Board. |
Thanks for sharing your experiences @nicolai86. Thomas already mentioned the node branch (best thing since sliced bread, at least for Alchemy) ;). Thomas was working on it last year but there was no time to finish it. So, you could also hire us to finish it, I think it makes sense because Thomas knows all the details. |
@tvdeyen we do not use the alchemy navigation at all - we just use the sitemap & many stand alone pages. @robinboening at this point we've a "stablish" fork of alchemy 3.2 which contains fixes for all the above issues and more, so waiting for alchemy 4 is no option for us. Hopefully, given time, we'll be able to contribute some of the changes back. |
Just stumbled upon http://mceachen.github.io/closure_tree/ @nicolai86 thanks. Would be great if you could invest the time to contribute back. |
@tvdeyen |
Hey,
this is more a (re-)collection of problems we're facing, preparing our installation of alchemy (= 3.2.0) for production, and our mitigations to these problems. Hopefully they might be useful for others when evaluating alchemy as a CMS.
background:
We decided to use alchemy as a replacement for a medium sized CMS setup with ~100k pages. Our setup is completely hosted in AWS, using postgreSQL as database.
problems:
alchemy_pages
table. Easy to catch /w the appropriate monitoring in place.awesome_nested_set
on page insertion, deletion & reordering. We did not look into improvingawesome_nested_set
but are actively looking into removing it from alchemy all together. This means binding yourself to a specific version of alchemy, with high costs of migrating to newer, maybe better versions.closure_tree
looks like an interesting contender to solve this issue.To summarize:
alchemy_cms
seems to only work well with some hundred pages. If you have more pages you need to fallback to monkey patching, or even worse, a private fork.However, YMMV.
related:
The text was updated successfully, but these errors were encountered: