We're doing a project now that will need to support about 1000 users actively logged in (but only for 1 month out of the year).The application is mostly designed to provide private information so lots of specific permissions, so I'm concerned about doing too much caching.Our plan at the moment looks like this:
- have a dedicated postgres db
- run multiple kotti client instances (possibly on multiple machines)
- benchmark with funkload (because we can simulate logged in users)
I would appreciate comments on my ideas including other things that we should be considering.
--
You received this message because you are subscribed to the Google Groups "Kotti" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kotti+un...@googlegroups.com.
To post to this group, send email to ko...@googlegroups.com.
Visit this group at https://groups.google.com/group/kotti.
To view this discussion on the web visit https://groups.google.com/d/msgid/kotti/3832989e-41df-4705-8bcf-1ba425d4a0ec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
avoid large folders with many items inside: in such case please consider a better balanced content tree or introduce a database index (that might speed up things a lot).
Hi FFFFFFFab,
the Kotti content management site on which Davide has been playing has grown to about 6000 items.
Every item (document, image, file etc.) is based on nodes table.
When frontend system renders a page it queries the database to retrieve all page's items.
Because every item is based on nodes table the system query many times the nodes table, so indexing nodes table speed up the system:
ALTER TABLE nodes ADD INDEX(name); ALTER TABLE nodes ADD INDEX(path);
--
You received this message because you are subscribed to the Google Groups "Kotti" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kotti+un...@googlegroups.com.
To post to this group, send email to ko...@googlegroups.com.
Visit this group at https://groups.google.com/group/kotti.
To view this discussion on the web visit https://groups.google.com/d/msgid/kotti/c4f109f0-61cb-4315-83b8-02b3b07850d7%40googlegroups.com.
Hi
Il 07/giu/2016 08:49, "Andreas Kaiser" <di...@binary-punks.com> ha scritto:
>
> nodes.path has an index by default (unless you're on MySQL, because of its limitations in length). There's also an index on (parent, name), so that another index on name makes little sense, unless your application has lots of where conditions or sorts on name *only*.
Carmelo: first of all thanks a lot for sharing your experience with Kotti!
Yes, Carmelo is talking about a MySQL based installation. He noticed performance problems with standard @@contents view and a speed up after the indexes introduction, but I don't know if it is only a MySQL related problem. Unfortunately I cannot say more because it wasn't my direct experience.
Cheers,
davide
> To view this discussion on the web visit https://groups.google.com/d/msgid/kotti/5bd45a42-5218-4e50-b4ab-545e6c3852e3%40Andreass-iPhone.