-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Improve wekan performance #837
Comments
@maulal these are pretty good numbers. BTW, what do you mean by 2Go Ram? Is it 2GB Ram. Are you using any cloud deployments or your in-house deployments? So to get this numbers did you create indexes using the mongo shell on the production database without changing the indexes at the application level? |
@nata-g sorry for my english... i did a mistake about unit (put it in french) and the value... after control, it's 4GB Ram but in fact it will work also with 2GB... (wekan database = 400MB) And yes, i create the indexes directly with the mongo shell... that's not the best idea, but sometimes it's better than nothing. |
Hi I will have a look in the code to be sure to have this proper indexes cc @xet7 as I fixed one 4 months ago |
@fmonthel we have a load balancer with 3 node.js in front of one mongodb replica set of 3 databases. @xet7 No problem, i will do that tonight. I'm also actually looking on the meteor framework, to try to understand how it works, and how use it to improve the wekan performance regarding the database. |
Thanks! Just recursive grep the code for word "ensureIndex" to see where it's set. |
@maulal : your database replication is setup with docker-compose ? Really appreciated your docker-compose file if it's the case :)
I can help you with the ensureIndex quite straightforward with meteor
…Sent from my iPhone
On 17 Feb 2017, at 09:31, Lauri Ojansivu ***@***.***> wrote:
@maulal
Thanks! Just recursive grep the code for word "ensureIndex" to see where it's set.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@fmonthel Our wekan install is not in a docker environment. But today, if we have to do this kind of stuff, i should not put the mongodb database into docker (at least now), we think about it, but not before the release of the statefull set (kubernetes). |
Docker has volumes for persistent storage. |
@xet7 Indeed persistent volumes is the right way to do this. But in fact, what should be the goal to put mongodb in a docker ?
As i said, i look on docker with databases... but with some orchestrator tools. What should be the interrest of having a replica set on the same host => spof :'( But if you really want something like that i can help. |
Easy to test and deploy. Wekan was already using MongoDB in Docker when I came to project. Plan is to add more deployment options. There is already Wekan sharding in Docker to both MongoDB and ToroDB => PostgreSQL on: I probably try also using:
Also on Joyent Triton there is datacenter full of Docker containers that can be resized without downtime in both RAM, CPU and disk space usage. |
Hi everybody :)
I will explain shortly what have been done to our wekan deployment to improve greetly the performance. But it should be good to do some work with the datamodel. I will try to add soon, a new issue for that.
Our wekan stats:
2222 users / 1516 boards / 10824 lists / 31854 cards / 23000 card_comment / 148000 activities
Our mongodb servers (1 mongodb replicaset of 3 nodes for High Availability): 2vcpu /
2Go4GB RAMOn mongodb version: 3.2.x
With this configuration, we are always under 20% of cpu.
With the mongo shell, just connect to your mongod, and do:
Maybe there are some indexes that are missing. But those in this issue, are the main one.
Bye ;)
The text was updated successfully, but these errors were encountered: