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

Loading dashboard is slow when MySQL server is running in a remote site. #362

Closed
sunxiaoguang opened this issue Apr 25, 2024 · 3 comments · Fixed by #361
Closed

Loading dashboard is slow when MySQL server is running in a remote site. #362

sunxiaoguang opened this issue Apr 25, 2024 · 3 comments · Fixed by #361
Assignees
Labels
Reduce technical debt Facilitates long-term thinking

Comments

@sunxiaoguang
Copy link
Contributor

sunxiaoguang commented Apr 25, 2024

Is your feature request related to a problem? Please describe.
Loading dashboard is slow when MySQL server is running in a remote site. The extra latency introduced when accessing MySQL from public internet made loading dashboard slower than usual.

Describe the solution you'd like
It would be nice to optimize roundtrips between app server and MySQL server to make it less sensitive to slow network.

I realized FactoryServiceProvider can be optimized to load the first factory once per request. See PR #361 for reference.

@sunxiaoguang sunxiaoguang changed the title Loading dashboard is slow when MySQL server is running in a remote IDC. Loading dashboard is slow when MySQL server is running in a remote site. Apr 25, 2024
@SMEWebify
Copy link
Owner

I think the dashboard deserves to be redone anyway, with things in vuejs or something else.

I will still try to reduce the requests in the controller

thank you for your work, being only an amateur, it is valuable for the project to be able to optimize

@SMEWebify SMEWebify self-assigned this Apr 25, 2024
@SMEWebify SMEWebify added the Reduce technical debt Facilitates long-term thinking label Apr 25, 2024
@sunxiaoguang
Copy link
Contributor Author

sunxiaoguang commented Apr 25, 2024

I think the dashboard deserves to be redone anyway, with things in vuejs or something else.

I will still try to reduce the requests in the controller

thank you for your work, being only an amateur, it is valuable for the project to be able to optimize

Cool, I found the project to be very easy to use and it works well for my scenarios. Thank you for creating this project; it has really helped me, and I believe it will help more and more people in the future.

If possible, I would like to contribute more to this project as I continue to use it. :)

@SMEWebify
Copy link
Owner

That's what I tried to do, lest go, if you're not sure, let's have a discussion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Reduce technical debt Facilitates long-term thinking
Projects
None yet
2 participants