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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 0 additions & 31 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ members = [
"modules/module-test",
"templates/basic-rs/spacetimedb",
"templates/chat-console-rs/spacetimedb",
"templates/keynote-2/spacetimedb-rust-client",
"modules/sdk-test",
"modules/sdk-test-connect-disconnect",
"modules/sdk-test-procedure",
Expand Down
9 changes: 1 addition & 8 deletions templates/keynote-2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,18 +159,11 @@ SpacetimeDB supports `withConfirmedReads` mode which ensures transactions are du

PlanetScale results (~477 TPS) demonstrate the **significant impact of cloud database latency**. When the database is accessed over the network (even within the same cloud region), round-trip latency dominates performance. This is why SpacetimeDB's colocated architecture provides such dramatic improvements.

### Rust client

When running the benchmark for SpacetimeDB on higher-end hardware we found out that we were actually bottlnecked
on our test TypeScript client. To get the absolute most out of the performance of SpacetimeDB we wrote a custom
Rust client that allows us to send a much larger number of requests then we could otherwise. We didn't do this
for the other backends/databases as they maxed out before the client.

## Systems Tested

| System | Architecture |
| --------------------------------- | ------------------------------------------------------- |
| SpacetimeDB | Integrated platform (Rust) |
| SpacetimeDB | Integrated platform. |
| SQLite + Node HTTP + Drizzle | Node.js HTTP server → Drizzle ORM → SQLite |
| Bun + Drizzle + Postgres | Bun HTTP server → Drizzle ORM → PostgreSQL |
| Postgres + Node HTTP + Drizzle | Node.js HTTP server → Drizzle ORM → PostgreSQL |
Expand Down
Loading
Loading