Issues with convene/dendrite on AAMD64 build #5
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
butter/churn#5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
related tickets:
https://github.com/matrix-org/matrix-rust-sdk/issues/5362
https://github.com/NixOS/nixpkgs/issues/243621
acute referenced this issue2026-03-24 12:43:40 +00:00
postgresql seems to be the answer
this is for Echo project work/timeline so can happen in early April
Good news is that the problem only happens with low quality "USB Flash" drives that have slow, blocking read/write times. On faster external SSD drives, it is fine.
Still, we should investigate switching out postgres for sqlite in the Dendrite install
The default sqlite config in dendrite is to have a 1 single connection due to a bug where enabling more leads to the server becoming unresponsive:
github.com/element-hq/dendrite@08cac1ccf0/roomserver/storage/sqlite3/storage.go (L39)I also see that WAL is disabled there, I wonder if enabling it might still make a difference to a very slow disk? It would reduce the number of disk operations for a write, but adds an extra file lookup for a read, not ideal for a chat app.
I expect postgres to have more more disk i/o and RAM overhead, but it will be beneficial for RPI builds and faster USB drives.