Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions convex-backend/.prettierignore → .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -101,3 +101,5 @@ npm-packages/convex/src/cli/lib/generatedFunctionLogsApi.ts
ops/services/service-index/html/aws-url-transformer
# Generated by dashboard-storybook screenshot script
npm-packages/docs/src/generated/screenshotManifest.ts
# Project documentation
docs/
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
46 changes: 46 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,47 @@
# horizontal-scaling-convex

Making the Convex open-source backend horizontally scalable via a primary-replica architecture.

## Prerequisites

- **Rust** (nightly-2026-02-18) — `curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh`
- **Just** — `brew install just`
- **Node.js 20.19.5** — `nvm install 20.19.5`

The Rust nightly toolchain installs automatically from `rust-toolchain` when you first run `cargo`.

## Development

```sh
# Build the database crate (where our changes live)
cargo build -p database

# Run database crate tests
cargo test -p database

# Run a specific test
cargo test -p database "test_name"

# Format code
cargo fmt -p database

# Build the full backend
cargo build

# Run all tests (slow, ~12min first run)
cargo test

# Run the full backend locally
just run-local-backend
```

## JS Dependencies (only needed for full backend)

```sh
npm clean-install --prefix scripts
just rush install
```

## Documentation

See `docs/` for architecture analysis and implementation plans.
74 changes: 0 additions & 74 deletions convex-backend/.github/actions/setup-rust/action.yml

This file was deleted.

103 changes: 0 additions & 103 deletions convex-backend/.github/workflows/build_local_backend.yml

This file was deleted.

35 changes: 0 additions & 35 deletions convex-backend/.github/workflows/prettier.yml

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading