Launch special
$0per month
- ✓3 hosted controllers
- ✓10,000 controller-state writes per month
- ✓CLI account workflows
- ✓No credit card required
Launch special available
No credit card required
Application process
SQLite database on local disk
Your infrastructure
S3-compatible object storage
Point-in-time restore
Replay verified history through a selected commit timestamp.
02 / Direct replication
Primary instance
Local SQLite
Reads and writes
Replica instance
Local SQLite
Reads from local disk
Lightspeed replication latency
Same-host, commit-to-commit measurement with synchronous=OFF.
Hosted controller
Primary authority
Assigns one instance to write and can transfer that authority to a replica.
No in-cluster election
Application instances do not choose the primary.
Stale authority rejected
A former primary cannot resume writing after authority moves.
04 / Application Stored Procedures
An Application Stored Procedure (ASP) is a typed database operation defined in application code. The SDK runs it locally on the primary or routes the call there from a replica.
Application Stored Procedures →Abbreviated ASP definition and call
// Named-map MessagePack is implicit.
addTodo, err := sqlstyle.DefineIASP(
config,
"todos.add",
func(ctx context.Context, tx *sql.Tx, payload AddTodo) (AddTodoResult, error) {
result, err := tx.ExecContext(ctx,
"INSERT INTO todos(title) VALUES (?)", payload.Title)
if err != nil { return AddTodoResult{}, err }
id, err := result.LastInsertId()
return AddTodoResult{ID: id}, err
},
)
if err != nil { return err }
result, err := addTodo(ctx, AddTodo{Title: "ship it"})// MessagePack is implicit; options select other formats.
let add_todo = sqlstyle::define_iasp(
config.clone(),
"todos.add",
|transaction, payload: &AddTodo| -> sqlstyle::Result<AddTodoResult> {
transaction.execute(
"INSERT INTO todos(title) VALUES (?1)",
[&payload.title],
)?;
Ok(AddTodoResult { id: transaction.last_insert_rowid() })
},
)?;
let result = add_todo.call(&AddTodo {
title: "ship it".into(),
})?;Pricing
Launch special includes the SQLStyle runtime and hosted controller.SQL reads and writes against your SQLite databases are not metered; the allowances below apply only to persistent controller-state updates.
What counts as a controller-state write? →Launch special
$0per month
SQLite files remain on the application instances. Replication runs directly from primary to replicas; snapshots and incremental history go to the configured S3-compatible object storage.
No. SQL, replication, and backup operations run from the application processes. The hosted component holds coordination state and assigns primary authority.
No. Plan allowances apply to controller-state writes: persistent updates made by the hosted controller to coordination data such as authority and failover state. SQL reads and writes against your SQLite databases do not consume the allowance.
Launch special · $0/month
Launch special includes 3 hosted controllers and 10,000 controller-state writes per month. Database reads and writes are not metered.