Repository navigation
Release v0.2.0 #206
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
Merged
Release v0.2.0 #206
Changes from all commits
Commits
Show all changes
65 commits
Select commit
Hold shift + click to select a range
d8bd658
feat #43: When a Raft leader is elected, it should first send an empt…
JoshuaChi 8fb91b3
Feature/59 benchmark (#72)
JoshuaChi 2f97f6c
chore(ci) #73: prepare release for v0.1.2
JoshuaChi 1756873
Merge branch 'main' into develop
JoshuaChi e53ba82
feat #79: Snapshot feature, Learner join cluster feature and develope…
JoshuaChi 729e100
feat #79: optimize v0.1.3 CHANGELOG
JoshuaChi cebfdbb
Merge branch 'main' into develop
JoshuaChi 0a057c8
fix #133: Example project: File/RocksDB storage engines can fail to s…
JoshuaChi bd44015
fix #133: fix fmt
JoshuaChi 265c250
fix #133: fix fmt
JoshuaChi 2e88aae
fix #133: fix fmt
JoshuaChi 598f011
fix #133: update REAMDE
JoshuaChi 68de4c7
feat #135: Enable tokio via three-nodes-cluster example
JoshuaChi 3fe4cdc
feat #135: Enable tokio_metrics via three-nodes-cluster example
JoshuaChi f7911c1
feat #135: Enable tokio_metrics via three-nodes-cluster example
JoshuaChi 4e30171
feat #138: v0.1.4 - target 100K throughput
JoshuaChi b03a606
fix #145: fix Bytes compatible bugs in examples folder
JoshuaChi f3f3430
fix #150: type issue
JoshuaChi 32cc365
fix #151: fix mmap bug
JoshuaChi 0713943
fix #152: Update README by introduce new feature from v0.1.4
JoshuaChi ff1e251
fix #153: fix code review feedback
JoshuaChi 8659663
fix #154: code review feedback
JoshuaChi 901008f
fix #155: fix code review feedback
JoshuaChi a3c314d
fix #156: fix code review feedback
JoshuaChi 58f97dc
fix #157: fix code review feedback
JoshuaChi f145325
fix #158, #159: fix code review feedback
JoshuaChi 7e0d96e
fix #164: fix code review bug
JoshuaChi b3e119e
fix #161: fix code review feedback
JoshuaChi 9ea5116
fix #164: fix doc issues
JoshuaChi 2169613
Merge branch 'main' into develop
JoshuaChi be93d34
feat #167: workspace structure (#175)
JoshuaChi d9636d1
feat #172: Feature ttl support (#176)
JoshuaChi 2569af0
fix #172: format code to pass rustfmt checks
JoshuaChi e1143d0
fix #172: Replace tokio-tar with astral-tokio-tar to resolve CVE-2025…
JoshuaChi 803400a
fix #172: Resolve Tokio runtime nesting issue in TTL benchmark
JoshuaChi 69279ee
fix #172: Resolve clippy unused_unit warnings and improve Makefile be…
JoshuaChi 56f1410
feat #174: Implement lock-free Watch mechanism for real-time key moni…
JoshuaChi 6c90b57
feat #179: Implement single-node cluster support for dynamic expansio…
JoshuaChi 97fab24
feat #182: Add EmbeddedEngine API with leader election notification &…
JoshuaChi ec736ab
doc #185: Add service discovery pattern guide for DNS/registry use cases
JoshuaChi c653330
doc #187: Restructure examples documentation to match folder structure
JoshuaChi 635b3cd
doc #187: Fix broken benchmark documentation link in three-nodes-clus…
JoshuaChi 5ed3544
docs #192: add comprehensive read consistency documentation
JoshuaChi e0b4142
feat(bench) #193: add --key-space parameter for hot-key testing
JoshuaChi 9220e58
perf(watch) #194: Skip protobuf decoding when no active watchers exist
JoshuaChi 0312010
docs(bench) #195: Update v0.2.0 benchmark report with accurate v0.1.4…
JoshuaChi 208df8b
feat #196: Implement Watch feature with gRPC streaming and examples
JoshuaChi 6d8ce99
docs #204: Prepare v0.2.0 release documentation
JoshuaChi 2381550
fix #204: Suppress rustls-pemfile unmaintained warning in dependency …
JoshuaChi 4163f9a
fix #204: Fix flaky test and update documentation for v0.2.0
JoshuaChi 9123484
fix #205: Enable graceful shutdown during node startup phase
JoshuaChi 0f94d9e
docs #204: Fix documentation links and optimize workspace doc generation
JoshuaChi 52e1e74
doc #204: Simplify feature flags and add use-case guidance
JoshuaChi f7b0418
chore #204: Prepare v0.2.0 release with workspace cleanup
JoshuaChi 793ab4c
style #204: Fix import ordering to comply with rustfmt stable
JoshuaChi faa62b3
fix #204: Address code review feedback for v0.2.0 release
JoshuaChi 1b55a6f
perf #208: eliminate redundant async calls in leader write hot path
JoshuaChi 86a1278
fix #204: update both fields in update_cluster_metadata to prevent st…
JoshuaChi bcf2239
fix #204: Increase election RPC timeout to fix flaky tests
JoshuaChi f601479
ci #204: Support docs as alias for doc in commit message validation
JoshuaChi b8eb206
docs #204: Prepare v0.2.0 for HN launch - simplify docs and set expec…
JoshuaChi 8204c5c
docs #204: Fix documentation links and add integration mode quick sta…
JoshuaChi 6e0c610
refactor(raft) #209: Architecture review - consolidate v0.2.0 improve…
JoshuaChi 84c1539
doc #224: Fix rustdoc links and improve documentation generation
JoshuaChi 40d7c47
doc #224: Fix markdown table formatting and typo in documentation
JoshuaChi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
|
|
||
| node_modules/ | ||
| vendor/ | ||
| .venv/ | ||
| venv/ | ||
|
|
||
|
|
||
| dist/ | ||
| build/ | ||
| out/ | ||
| target/ | ||
|
|
||
|
|
||
| .git/ | ||
| .svn/ | ||
|
|
||
|
|
||
| *.log | ||
| *.zip | ||
| *.tar.gz | ||
| *.mp4 | ||
| *.mp3 | ||
|
|
||
|
|
||
| .DS_Store | ||
| *.pyc | ||
| __pycache__/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| # Nextest configuration for d-engine | ||
|
|
||
| [profile.default] | ||
|
|
||
| # Force serial execution for tests that use /tmp/db | ||
| [[profile.default.overrides]] | ||
| filter = "test(tmp_db) | test(config_path_env)" | ||
| threads-required = 'num-cpus' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,83 @@ | ||
| name: Performance Benchmarks | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| # Run benchmarks on a schedule and manual trigger only | ||
| on: | ||
| # Run weekly on Sunday at 2 AM UTC | ||
| schedule: | ||
| - cron: "0 2 * * 0" | ||
|
|
||
| # Allow manual triggering for on-demand performance testing | ||
| workflow_dispatch: | ||
|
|
||
| env: | ||
| CARGO_TERM_COLOR: always | ||
| RUST_BACKTRACE: full | ||
|
|
||
| jobs: | ||
| benchmark: | ||
| name: Run Performance Benchmarks | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| fetch-depth: 0 # Full history for performance comparison | ||
|
|
||
| - name: Install Rust toolchain | ||
| uses: dtolnay/rust-toolchain@stable | ||
|
|
||
| - name: Install system dependencies | ||
| run: | | ||
| sudo apt-get update | ||
| sudo apt-get install -y protobuf-compiler | ||
|
|
||
| - name: Cache Rust dependencies | ||
| uses: Swatinem/rust-cache@v2 | ||
| with: | ||
| # Cache key includes benchmark to avoid interference with test cache | ||
| key: benchmark-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }} | ||
|
|
||
| - name: Run benchmarks | ||
| run: | | ||
| echo "=========================================" | ||
| echo "Running d-engine Performance Benchmarks" | ||
| echo "=========================================" | ||
| echo "" | ||
| echo "Performance Targets:" | ||
| echo " • Without TTL: < 10ns overhead" | ||
| echo " • With TTL passive check: < 50ns overhead" | ||
| echo " • Piggyback cleanup: < 1ms" | ||
| echo "" | ||
|
|
||
| # Run benchmarks and save output | ||
| cargo bench --package d-engine-server 2>&1 | tee benchmark_output.txt | ||
|
|
||
| echo "" | ||
| echo "✅ Benchmarks completed successfully" | ||
|
|
||
| - name: Upload detailed results as artifact | ||
| uses: actions/upload-artifact@v4 | ||
| with: | ||
| name: benchmark-results | ||
| path: | | ||
| target/criterion/ | ||
| benchmark_output.txt | ||
| retention-days: 30 | ||
|
|
||
| - name: Performance summary | ||
| run: | | ||
| echo "=========================================" | ||
| echo "Performance Benchmark Summary" | ||
| echo "=========================================" | ||
| echo "" | ||
| echo "📊 Benchmark results uploaded as artifacts" | ||
| echo "" | ||
| echo "To view detailed results:" | ||
| echo " 1. Download the artifact" | ||
| echo " 2. Open target/criterion/report/index.html in your browser" | ||
| echo "" | ||
| echo "✅ Performance monitoring complete" | ||
|
coderabbitai[bot] marked this conversation as resolved.
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -46,3 +46,6 @@ docker/monitoring/prometheus/data/ | |
| lcov.info | ||
|
|
||
| CONTEXT | ||
| *.bak* | ||
| .claudeignore | ||
| safe-split-commits.sh | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.