-
-
Notifications
You must be signed in to change notification settings - Fork 120
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
UI extremely slow #127
Comments
@garanda21 can you log into your container's terminal and run |
Done, result:
But there's no much difference, here is the docker config that I'm using:
Not strange commands or anything else on boot. I'm trying to test with |
The UI is very slow for me too, when I click on the "results" tab it takes anything from 15 - 30 sec to load. Here's my docker-compose.yml (changed volume mapping path and port):
|
can you describe the hw platform? rpi? |
No, it's an Intel NUC 7 i5 (BLKNUC7i5DNHE). |
In the next release I'm going to add some additional debugging tools to see if we can narrow down what's causing the performance issues. Hold tight for a couple days. |
Hey there, just wanted to check back for those debugging tools you were talking about. Is any of that implemented yet? Still having major performance issues on the "results" tab, sometimes even running into timeouts especially when showing more than the default 10 lines per page. |
@mztiq and @garanda21 I forgot to ask, what kind of DB are you using? |
My case is sqlite, mapped folder to "database.sqlite" |
I'm using sqlite too. |
Both on rpi's too right? If so which ones |
Mine is dockerized on Synology NAS DSM7 DS218+ |
No, it's an Intel NUC 7 i5 (BLKNUC7i5DNHE). |
Would you guys be up for testing a different database instead of sqlite? |
Sorry for the late reply, of course I'm up for some testing, just deployed with MariaDB/MySQL. |
Just tested again and I have a feeling that performance got noticably better, not sure if it's related to changing the database or updating to v0.8.0 which happened around the same time. Thanks again for your work and the productive weekend you had :). |
Just deploy with MySQL, first time load take some time and “first” click on any option on left menu takes too long. After this first click loading times are reduced significantly. |
Are you guys using docker compose? I'm starting to think this is filesystem related and we might be able to move the cache into memcached, redis or the database. Since it's build on the Laravel framework we can plug into any of the 1st party solutions. https://laravel.com/docs/9.x/cache#main-content |
Yes, I'm using docker-compose with the |
Let's add a caching system other than the default filesystem. Let's try memcached first, docker-compose details below... First add
Next include the memcached image
Lastly add in the |
Not using a |
The app will have created one for you in the mounted volumes. |
After make all changes, I got this error on log:
Any thoughts ? |
You're going to need to specify where the memcached container is using the |
Not working for me, is there any way to check if php extension is loaded:
|
Can't get it to work either, same error.
I tried without a docker-network and |
In the next release I'm going to introduce a database cache pattern, let's skip memcached for the time being and we'll circle back around to it should this other option not work. |
@garanda21 #296 introduces support for database cache which will be released in v0.10.0. Once that version is released (hopefully later tonight) let me know if this resolves your issue with slowness. |
That's great news, can't wait to test it too (going to take a while though, my little NUC died yesterday and I'm still working on replacing it) |
I saw a pretty drastic improvement event enabling it on wsl so it should be a significant improvement over the file driver |
This should work with sqlite ? or just mysql/postgres? |
Should work with all 3 |
Just as a small heads-up from my side: I replaced my old NUC (NUC7i5) with a much more powerful one (NUC10i7) since the old one died. |
Yeah I'd avoid selecting "show all" that's going to be pretty slow |
This seems to be generally resolved so closing out the issue to keep the backlog clean 🧹 |
Im new and I see the slow UI, on a RPI 4 |
Me too. //cc @alexjustesen |
Describe the bug
From login, to navigate on web application, every click takes to many seconds. Maybe duplicate from issue #92, but he behaviour is exactly the same, loads up to 20 seconds.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Faster load on ms. Actually is taking up to 18 seconds to load some pages
Environment (please complete the following information):
Screenshots
Login screen:
Dashboard:
Logs
Console:
Additional context
I'm using docker with sqlite. Mapped config file and accessing trough mi local IP and HTTPS.
The text was updated successfully, but these errors were encountered: