Skip to content

[WIP] GXS: Improve GXS DB access#223

Closed
jolavillette wants to merge 8 commits into
RetroShare:masterfrom
jolavillette:OptimGxsDatabaseAccess
Closed

[WIP] GXS: Improve GXS DB access#223
jolavillette wants to merge 8 commits into
RetroShare:masterfrom
jolavillette:OptimGxsDatabaseAccess

Conversation

@jolavillette

@jolavillette jolavillette commented Dec 24, 2025

Copy link
Copy Markdown
Contributor

This PR was entirely created by Gemini

At the moment this PR is for testing purpose only

  • Performance: Implemented updateMessageMetaData batching with single SQL transaction and in-memory cache updates, making mass updates instant.
  • Stability: Added SQLITE_BUSY retry loop in RetroDb read operations to prevent failures during concurrent writes.
  • UI Fix: Grouped mass update notifications in RsGenExchange to prevent event loop starvation and UI freezes.

Code by Gemini

@csoler csoler changed the title GXS: Fix "Mark all as read" lag & UI freezes [WIP] GXS: Fix "Mark all as read" lag & UI freezes Dec 29, 2025
@jolavillette jolavillette changed the title [WIP] GXS: Fix "Mark all as read" lag & UI freezes [WIP] GXS: Improve GXS DB access Jan 15, 2026
@jolavillette

Copy link
Copy Markdown
Contributor Author

Need more work, the performance issue when loading big Channels/Forums/Board is more complicated than DB access

@jolavillette jolavillette deleted the OptimGxsDatabaseAccess branch January 24, 2026 08:14
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

Successfully merging this pull request may close these issues.

1 participant