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
performance drastically deteriorates as task quantity increases #3822
Comments
We also experience the same delay.
Our server (AWS micro linux & AWS RDS Mysql) won’t indicate above 5% CPU
with load <0.04. Network traffic is light.
We suspect it is in the sequence of drawing the board. I have not figured
out how to use one of the web-site performance tools to see the complete
set of requests to draw the board.
When column is hidden it will briefly flash open and be redrawn closed.
Te server simultaneously provides a few other web-based systems and
experiments show they remain very responsive
Experiments were hunting transitory network issues, and whatever to see if
we could isolate a problem in our world.
Dave
--
Dave Hornford
Conexiam. Straightforward answers to complex problems.
Canada +1.403.818.4303 Mobile +1.916.695.3859
On April 17, 2018 at 6:27:32 PM, ChangePlaces (notifications@github.com) wrote:
This issue is:
-
Bug report
-
Please, read the Frequently Asked Questions
<https://docs.kanboard.org/en/latest/developer_guide/faq.html>.
-
Ask questions on the Forum <https://github.com/kanboard/forum/issues>.
Actual behaviour
As the number of tasks in a project grows, releasing after dragging a task
around causes the board to become unusable with the spinner showing in the
bottom right corner as well as the task being greyed out. As more tasks are
present, the delay increases. In one project I have over 500 tasks, and I'm
up to around 3-4 seconds delay.
This is with SQLite database, with approx 2000 tasks across all projects
(mostly all closed)
Expected behaviour
No noticeable delay after dragging and releasing a task.
Steps to reproduce
- add approximately 500 tasks to a project
- drag a task from one col to another
Configuration
- Kanboard version: 1.2.2
- Database type and version: Sqlite 3.11.0
- PHP version: 7.1
- Browser: browser independent
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#3822>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AXbrEo68z4xzi8bNqauCS9BCVEhuhoUqks5tpohxgaJpZM4TZPXq>
.
|
Interesting, I wonder if, when a swimlane / col is hidden, if the tasks can not be loaded into, or removed from the DOM. i've just monitored the network requests in the browser after dragging (f12 in browser to view network) and after dragging just saw a POST request, the response was the ENTIRE page HTML (for all 500 tasks) for redrawing the complete page. That's a little... wrong as each task drag is literally a full page load! |
This issue has been discussed here in the past: #3297 (comment) There are a lot of room for improvements:
All these things are inefficient and slow. In addition to that, technologies used are almost considered legacy nowadays (PHP/jQuery). |
well. some interesting points in the comments. i'd be for just returning a basic ajax response, including success. column task counts can be implemented client side, and would only need to be wrapped in some spans which jquery could target each of on a task drop event. the task count could be stored in a js var, or just counted dynamically. even the least efficient last option there is going to be heaps faster than returning the whole page. as for automatic actions, isn't the page updated every x seconds anyway? as user defined. |
technologies used are almost considered legacy nowadays (PHP/jQuery) ...fguillot what do you mean by that? Do you plan to rewrite kanboard with ruby or python or something else? |
I had the same problem coming with the increasing number of users/tasks/projects. Now, after I’ve migrated to Mysql, no problem at all. All goes as smoothly as it can be. I have around 30+ projects with more than 300 tasks each and all with couverimages and files associated. Cheers |
@amff1704 Interesting - was this from a sqlite database as well? |
Would it not be possible to make changes to the ui w/out rerendering the page? |
@ChangePlaces Yes, I was comming from a sqlite db. |
amff1704: did you tweak MySQL at all? |
@jack1729 I'm on a recent machine, with SSD, xeon (etc) with Linux server 16.04, I did a clean regular MySQL, from the linux repository, install. I had no problems so far, over 60 projects, 20 to 300 tasks each by now... |
Probably b/c you have way more hardware and resources dedicated for it that most of us running on shared web hosts. |
Is this still an issue? Seems that there were recent improvements to this with the compact view vs expanded. I noticed that you can drag individual tasks and it will attempt to change each one w/out doing a page refresh. The popup task edit modal is still slow though. |
Please continue the discussions on the forum as there are so many ways to improve the performances of the application. |
This issue is:
Bug report
Please, read the Frequently Asked Questions.
Ask questions on the Forum.
Actual behaviour
As the number of tasks in a project grows, releasing after dragging a task around causes the board to become unusable with the spinner showing in the bottom right corner as well as the task being greyed out. As more tasks are present, the delay increases. In one project I have over 500 open tasks, and I'm up to around 3-4 seconds delay just after dragging a task.
This is with SQLite database, with approx 2000 tasks across all projects (mostly all closed).
Expected behaviour
No noticeable delay after dragging and releasing a task.
Steps to reproduce
add approximately 500 tasks to a project
drag a task from one col to another
could this be from something as simple as a missing index on the db? I suspect this is the case due to the performance decreasing as row count increases.
Configuration
The text was updated successfully, but these errors were encountered: