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

[BUG] Optimize the number of messages received #1131

Closed
ysfscream opened this issue Nov 7, 2022 · 4 comments
Closed

[BUG] Optimize the number of messages received #1131

ysfscream opened this issue Nov 7, 2022 · 4 comments
Assignees
Labels
bug Something isn't working desktop MQTTX Desktop performance Improve some performance

Comments

@ysfscream
Copy link
Member

    Not sure the issue is fixed. At least, I'm running v1.8.3 and for some reason, got the history filled with more than 44000 entries. Now the MQTTX.db weight 14MB (only), and the app is absolutely unusable. It's so unresponsive that it will disconnect before I can clear the history. BTW, clearing while disconnected won't work.

My only workaround is to delete MQTTX.db and start from scratch, not cool :(

Originally posted by @Tazintosh in #533 (comment)

@ysfscream ysfscream self-assigned this Nov 7, 2022
@ysfscream ysfscream added desktop MQTTX Desktop bug Something isn't working performance Improve some performance labels Nov 7, 2022
@xpunch
Copy link

xpunch commented Nov 9, 2022

Could we use a virtualize list to display history messages?

@ysfscream
Copy link
Member Author

@xpunch Hi! Actually, it is currently used. But it doesn't solve the main problem, we have too many synchronous rendering tasks, message events are piling up and the rendering process is lagging, database read/write is not synchronized, etc.

So there are actually many places to adjust, thank you for your suggestions.

@xpunch
Copy link

xpunch commented Nov 9, 2022

Thanks for your patient explanation.

@ysfscream
Copy link
Member Author

Apologies for the long wait, welcome to https://github.com/emqx/MQTTX/releases/tag/v1.9.1, that should solve the problem and I will close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working desktop MQTTX Desktop performance Improve some performance
Projects
None yet
Development

No branches or pull requests

2 participants