mirror of
https://github.com/allankoechke/turso.git
synced 2026-11-29 09:33:48 +00:00
The SQLite VLDB paper (Gaffney et al., PVLDB 15) uses TATP to measure online transaction processing, and there was no benchmark in the tree to put Turso next to those results. Vendor release 1.1.1 of the reference TATP suite into upstream/, without its prebuilt solidDB binaries, and keep it out of aristo's scan, which fails on its non-UTF-8 C source. The reference is an ODBC client, which Turso cannot run, so add a Rust harness that implements the same schema, population, key distribution and transaction mix. scripts/run.sh runs the paper's setup: 10K, 100K and 1M subscribers, a 10 s warmup and 60 s measured, and a 1 GB page cache per connection. It adds 4 and 16 connections to the paper's single client, and draws throughput against database size with one panel per connection count. Each engine's database is populated once per size and every run starts from its own copy. The script asks for the sudo password before it starts and keeps sudo's cached login fresh, so the sweep never stops to wait for a password. SQLite's busy handler is not fair: a waiting writer can keep missing the short gaps between other connections' writes and wait out the whole busy timeout. Such a write starts over and counts as a restart, with the whole wait in its response time, so the starvation shows in the results instead of ending the run. Tests: SIZES="5000 20000 50000" REPEATS=2 sweep through scripts/run.sh, run with a no-op sudo
36 lines
608 B
TOML
36 lines
608 B
TOML
[instance]
|
|
# Aristo data-plane endpoint for this repo's verify + canon requests.
|
|
# ARETTA_API_URL overrides it; auth/login is unaffected (token stays
|
|
# minted against the central account server).
|
|
url = "https://turso.aretta.ai"
|
|
|
|
[verify.cache]
|
|
strategy = "local"
|
|
commit_specs = true
|
|
|
|
[stamp]
|
|
hooks = "pre-commit"
|
|
hash_crate_root = false
|
|
|
|
[telemetry]
|
|
enabled = false
|
|
|
|
[lint]
|
|
pre_commit = "check"
|
|
strict = false
|
|
|
|
[corpus]
|
|
contribute = false
|
|
|
|
[doc]
|
|
commit_artifacts = true
|
|
position = "before"
|
|
|
|
[index]
|
|
exclude = ["perf/tatp/upstream/**"]
|
|
|
|
[canon]
|
|
enabled = true
|
|
threshold_stamp = 0.85
|
|
threshold_critique = 0.65
|