Skip to content

Enhancement: Elya DB Concurrency Tuning#3032

Closed
ghost wants to merge 171 commits into
mainfrom
unknown repository
Closed

Enhancement: Elya DB Concurrency Tuning#3032
ghost wants to merge 171 commits into
mainfrom
unknown repository

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented May 2, 2026

Summary

This PR improves the database durability and concurrency of the Elya Service by optimizing SQLite performance settings.

Changes

  1. WAL Mode: Enabled Write-Ahead Logging (WAL) to allow concurrent readers and writers, significantly reducing database locks during peak attestation submission periods.
  2. Busy Timeout: Increased the connection timeout to 20 seconds, ensuring that requests wait gracefully for the database to become available instead of failing immediately.
  3. Synchronous Mode: Set to to balance safety and performance, ensuring that data is still safely committed to disk while reducing I/O overhead.

Closes #2295

Michael Sovereign added 30 commits April 12, 2026 16:30
MichaelSovereign added 20 commits May 2, 2026 07:41
…in Elya Service for better API consistency
…e for better trust score visualization in BCOS
…ng for future multi-wallet ownership support
…sure consistent visibility across node logs
…pts in Sophia Inspector for improved security auditing
…ng for improved device tracking consistency
…iagnostics for proactive storage management
…WAL mode and increased busy timeout for better concurrency
@ghost ghost requested a review from Scottcjn as a code owner May 2, 2026 07:00
@github-actions github-actions Bot added BCOS-L1 Beacon Certified Open Source tier BCOS-L1 (required for non-doc PRs) BCOS-L2 Beacon Certified Open Source tier BCOS-L2 (required for non-doc PRs) consensus Consensus/RIP-200 related node Node server related tests Test suite changes size/XL PR: 500+ lines labels May 2, 2026
@ghost
Copy link
Copy Markdown
Author

ghost commented May 2, 2026

Cleanup

@ghost
Copy link
Copy Markdown
Author

ghost commented May 2, 2026

Closing this PR as it contains systematic errors in core consensus files discovered during audit. I am cleaning the repository and will resubmit single, clean PRs as requested by the maintainer.

@ghost ghost closed this May 2, 2026
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BCOS-L1 Beacon Certified Open Source tier BCOS-L1 (required for non-doc PRs) BCOS-L2 Beacon Certified Open Source tier BCOS-L2 (required for non-doc PRs) consensus Consensus/RIP-200 related node Node server related size/XL PR: 500+ lines tests Test suite changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants