Skip to content
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

Creating Kanban is slow #139

Open
marshall-2004 opened this issue Nov 30, 2020 · 22 comments
Open

Creating Kanban is slow #139

marshall-2004 opened this issue Nov 30, 2020 · 22 comments

Comments

@marshall-2004
Copy link

After using it for a week, a new Kanban can not be created immediately. It needs to wait for a few minutes for the forced refresh to succeed. Refresh immediately, Kanban creation failed.
The foreground page is always in the refresh state and no results are returned.

@xet7
Copy link
Member

xet7 commented Nov 30, 2020

@marshall-2004

Do you mean creating a new board?

How much RAM Wekan server has? Is it swapping? You see with free -h

@marshall-2004
Copy link
Author

marshall-2004 commented Dec 1, 2020 via email

@xet7
Copy link
Member

xet7 commented Dec 1, 2020

@marshall-2004

Hi,
you did not add any RAM information.

Wekan is SPA (Single Page Application). That means, when first loading Wekan webpage, you need to wait for Javascript, HTML, and board data to load, and after that you should not reload page, you should use navigation at Wekan. That Javascript contains all the huge amount of features Wekan has, and Wekan really needs all that to load to work, and that loading time is really required, it's not a bug. After loading Wekan usually works fast.

So the question is, after loading Wekan board once, after that, does Wekan work fast?

@marshall-2004
Copy link
Author

marshall-2004 commented Dec 2, 2020 via email

@xet7
Copy link
Member

xet7 commented Dec 2, 2020

@marshall-2004

What webbrowser are you using? What webbrowser version?

What operating system are you using? And operating system version?

How much RAM you have in your computer?

I'll try is really Chinese language selection causing 5 minutes for creating a new board.

@marshall-2004
Copy link
Author

marshall-2004 commented Dec 2, 2020 via email

@xet7
Copy link
Member

xet7 commented Dec 2, 2020

In Wekan, using webbrowser and Chinese in Wekan, try:

  1. Right click webpage / Inspect / Console
  2. Copy all text from there (could be errors etc) to your reply, if there is any text.

@xet7
Copy link
Member

xet7 commented Dec 2, 2020

You could try clear browser history or cache, like images, etc temporary files, and close extra tabs if you have many tabs open. There is no need to remove cookies. Maybe that browser history slows down browser?

@marshall-2004
Copy link
Author

marshall-2004 commented Dec 2, 2020 via email

@xet7
Copy link
Member

xet7 commented Dec 2, 2020

How many boards you have at All Boards page?

In my own Wekan, I have about 300 boards. Opening All Boards page takes 3 seconds. Creating new board takes 2 seconds.

@xet7
Copy link
Member

xet7 commented Dec 2, 2020

I am running Wekan server on my computer that has SSD disk.

@marshall-2004
Copy link
Author

marshall-2004 commented Dec 2, 2020 via email

@xet7
Copy link
Member

xet7 commented Dec 2, 2020

There is huge speed difference between SSD disk and normal SCSI disk. SSD is much faster.

@marshall-2004
Copy link
Author

marshall-2004 commented Dec 2, 2020 via email

@marshall-2004
Copy link
Author

marshall-2004 commented Dec 2, 2020 via email

@xet7 xet7 closed this as completed Dec 2, 2020
@marshall-2004
Copy link
Author

marshall-2004 commented Dec 2, 2020 via email

@xet7 xet7 reopened this Dec 2, 2020
@xet7
Copy link
Member

xet7 commented Dec 2, 2020

@marshall-2004

I currently use bare metal servers for Wekan installs. I have not used esxi. Virtualization is slower than bare metal.

@niconori
Copy link

niconori commented Dec 2, 2020

We use wekan-Snap on esxi with netappstorage (hybrid aggregate with sas and ssd drives) and it runs verry smoooth like forever. Dont think that this is your Problem.

@xet7
Copy link
Member

xet7 commented Dec 2, 2020

It would be nice if someone could do performance profiling on Wekan, about what part is slow, and maybe even provide pull requests for fixes. For example, if Wekan loads too much data at once, limit amount of data requested, etc. Or add/remove indexes. I don't yet have ideas about what part of Wekan is slow.

@marshall-2004
Copy link
Author

marshall-2004 commented Dec 8, 2020 via email

@xet7
Copy link
Member

xet7 commented Dec 8, 2020

@marshall-2004

Yes I can do verification test.

For sending securely, I recommend you create free email account to https://protonmail.com that does automatically encrypt email and attachments to [email protected] , that is my support address at Protonmail.

Because max file size per email is 25 MB, here is how to create attachments in 20 MB pieces:

sudo su

cd /var/snap/wekan

sudo apt install p7zip-full

sudo snap stop wekan

7z -v20m a common.7z common/

sudo snap start wekan

And then send those common*.7z files at /var/snap/wekan/ with Protonmail email to [email protected]

@xet7
Copy link
Member

xet7 commented Dec 9, 2020

Ok it seems that feature Admin Panel / Global Webhooks makes creating new board very slow. That Global Webhooks feature sends all boards actions to some URL. I will think would it be possible to make that feature faster. When Global Webhook is removed, creating new board works fast.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants