-
Notifications
You must be signed in to change notification settings - Fork 34
Description
I’ve been testing Monero LWS back-end and noticed some performance bottlenecks related to LMDB’s write limitations.
Observed Behaviour
LWS workloads involve frequent blockchain rescans and wallet updates across thousands of accounts.
Since LMDB only supports a single writer transaction at a time, high-volume re-scanning causes writes to queue up and slow down significantly.
With ~10,000+ accounts, re-scanning throughput drops drastically compared to expected performance.
Questions
Are there recommended best practices for tuning LWS + LMDB for frequent writes (like re-scanning thousands of accounts)?
Would introducing write batching, delayed commit strategies, or alternative back-ends (e.g., RocksDB/SQLite or any alternatives ) help in practice?
Has there been any bench marking or consideration of LMDB alternatives for high account-count workloads?
Thank in advance