Skip to content

rfc: serve orchestration extraction for external backends - #168

Closed
LeeroyHannigan wants to merge 1 commit into
mainfrom
rfc/serve-orchestration-extraction
Closed

rfc: serve orchestration extraction for external backends#168
LeeroyHannigan wants to merge 1 commit into
mainfrom
rfc/serve-orchestration-extraction

Conversation

@LeeroyHannigan

Copy link
Copy Markdown
Collaborator

What

Adds RFC-0001: a proposal to expose the server startup orchestration as a public function on extenddb-server, enabling external storage backends to produce runnable server binaries without forking.

Why

External backend authors (TiDB #140, SQLite #109, community) currently must fork the repo to ship a server. The serve orchestration (AppState assembly, cache wiring, worker spawning) is private to the binary crate. This RFC proposes extracting it as a single extenddb_server::serve() function so backends can depend on published crates instead of maintaining a fork.

Testing done

Documentation-only PR — no code changes.

Checklist

  • I have read CONTRIBUTING.md
  • All tests pass (cargo test --workspace)
  • Code is formatted (cargo fmt --check)
  • Clippy is clean (cargo clippy -- -W clippy::pedantic)
  • I have added or updated tests for new functionality
  • I have updated documentation if behavior changed
  • Breaking changes are noted below (if any)
  • If this changes the wire protocol, Storage trait, auth model, on-disk
    format, or public CLI surface, an RFC has been accepted or is linked
    below. Otherwise, an ADR captures the decision (link below).

ADR / RFC: This PR is the RFC.


By submitting this pull request, I confirm that my contribution is made under
the terms of the Apache License 2.0 and I agree to the Developer Certificate of
Origin (DCO). See CONTRIBUTING.md for details.

@LeeroyHannigan LeeroyHannigan added the RFC Request for Comments, a proposal open for discussion before implementation label Jun 5, 2026
@LeeroyHannigan LeeroyHannigan mentioned this pull request Jul 20, 2026
8 tasks
@LeeroyHannigan
LeeroyHannigan deleted the rfc/serve-orchestration-extraction branch July 29, 2026 23:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

RFC Request for Comments, a proposal open for discussion before implementation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant