#Tauri
8 articles — newest first.
- 7 min read
Tauri + sqlx + SQLite: migrations and WAL for local apps
Practical guide to embedding SQLite in Tauri with sqlx: file location, compile-time migrations, WAL pragmas, and failure modes for single-user datastores.
- 7 min read
Encrypt Tauri local storage at rest with age + OS keychain
A zero-cloud, cross‑platform pattern to encrypt Tauri local storage at rest using age (X25519) and the OS keychain for seamless key management.
- 7 min read
Kill Async Deadlocks in Tauri with Tokio Task Dumps + Tracing
A field guide to diagnosing and terminating async deadlocks in production Tauri apps using Tokio task dumps, tokio-console, and end-to-end tracing spans.
- 8 min read
Flamegraphs over Tauri IPC: from Rust event to React paint
A practical, end-to-end method to profile Tauri apps: correlate Rust spans with React paints, align clocks, and read a single cross-IPC flamegraph.
- 9 min read
Pinning a 1.8% Idle CPU: Evented vs Polling in Tauri Tray Apps
A ruthless, code-first look at hitting a ~1.8% idle CPU budget in long‑running Tauri tray apps by replacing polling with event‑driven plumbing.
- 8 min read
Halving Tauri v2 IPC: Batch Events + rmp-serde MessagePack
Cut Tauri v2 Rust↔WebView IPC overhead by batching events and serializing with rmp-serde MessagePack, with concrete code for both sides.
- 7 min read
Tauri Rust Backpressure: Bounded vs Unbounded Channels for Chat Floods
Design a Tauri Rust core that survives chat floods without memory blowups using bounded channels, drop-oldest semantics, and time-based batching.
- 8 min read
Tauri v2 + tokio-console: 1.8% CPU with 4 concurrent streams
A field-tested workflow to profile and tune a Tauri v2 Rust backend using tokio-console, slashing wake storms and sustaining 1.8% CPU across 4 streams.