In Rust We Trust: God-Mode Analytics, Locally
An ocean of data, processed locally.
How choosing Rust transformed our vision of local-first analytics into reality.
Two years ago, when we started sketching our analytics engine, one thing was obvious: analytics wasn't truly accessible. There was a gap between what most people could do on their laptops and what was only possible on expensive cloud stacks. We didn't yet know the final UI, the distribution model, or the precise feature set. But we knew this much with absolute certainty: we would build the engine from the ground up in Rust.
We also believed — perhaps naively, definitely stubbornly — that we were among the few teams in the world wired to solve this.
Today, as OrcaSheets processes billions of rows in seconds and powers analytics across finance, hospitality, public sector, and deep tech, that conviction stands out as one of our most important decisions.
The Bold Choice
Conventional wisdom said: Python for data science, JavaScript for interfaces, maybe a little C/C++ for hotspots. When we said we'd build a full analytics engine in Rust, reactions ranged from curious to concerned:
- The ecosystem isn't mature yet. - You'll fight the borrow checker more than you ship features. - Nobody in analytics ships Rust.
We had a different goal: bring cloud-scale analytics to local machines. We wanted people to analyze datasets with millions — even billions — of rows on their laptops, at speeds they'd expect from premium cloud platforms. Not fast enough. Frictionless.
When Everything Clicked
- Throughput: 1B rows in under 7 seconds on standard hardware (see Benchmark Notes). - Efficiency: 5–10× lower memory than typical dynamic-language stacks tackling the same workload. - Predictability: Stable latency with no GC pauses or surprise tail spikes. - Simplicity: A single native binary per platform; instant startup; zero "dependency hell."
> OrcaSheets sustains higher throughput with tighter variance on standard hardware.
Sorry, we lowered our standards for this: even 1M rows wasn't workable in our Tableau/Power BI setup, so this chart uses a 100k-row test.
1B-Row Benchmark: Local OrcaSheets vs Redshift (Single-Node). No desktop tool completed 1B on a standard laptop.
Lean and Local by Design
Local-first means we optimize for the machine users already own. Rust's ahead-of-time compilation lets us ship one small, sealed binary per OS — no runtime, no JIT, no hidden baggage.
- Binary size: ~40 MB today. - Install friction: none. Download, run, analyze. - Operational simplicity: works offline, air-gapped, and in regulated environments.
Tiny Executables, Heavy Lifting (ML Included)
As we optimized, another door opened: machine learning without the bloat. We ship executables in the 5–10 MB range (feature-dependent) that perform supervised/unsupervised learning locally, running on columnar data with sub-second training on million-row samples and microsecond-scale inference for streaming scenarios.
Why it works:
- Columnar, cache-friendly compute for vectorized ops. - No Python envs or native-lib roulette. - Same binary handles ingest, transforms, training, and prediction.
Zero-Copy: The Performance Multiplier
When data grows large, copying is the enemy. Rust's type system and memory guarantees let us push zero-copy pathways safely:
- Zero-copy I/O: map file buffers into typed views. - Slice, don't duplicate: pass references to columns and windows instead of cloning arrays. - Cache-aligned hot loops: keep memory bandwidth free for real work.
// Pseudocode illustrating zero-copy column access
fn analyze<'a>(batch: &'a RecordBatch, name: &str) -> &'a dyn Array {
batch.column_by_name(name).expect("column exists")
// Returned as a view; no data copies
}
Impact: the same RAM footprint that limits others to ~100M rows can comfortably push 1B+ rows through OrcaSheets.
Views and slices instead of duplicates dramatically reduce memory pressure.
No Garbage Collector, No Hiccups
At billion-row scale, even small GC pauses ruin the UX. Rust's ownership model removes GC entirely, giving us flat latency curves — no random 80–100 ms spikes during exploration.
- Rust path: ≈ 50 ms per 100 M rows segment (illustrative), tightly distributed. - Managed runtimes: similar baselines but with unpredictable tails under load.
Security Without Sacrificing Speed
We learned in big-data and regulated environments that security can't be an afterthought. Our encrypted analytics layer keeps data protected end-to-end, without breaking the speed envelope.
- Local-first privacy: data doesn't leave the machine. - Encrypted at rest and in-process, with lightweight overhead. - Zero-knowledge analytics prototypes show <15% overhead on representative workloads while retaining sub-second interactions.
> Analyze sensitive financials or proprietary metrics with confidence: fast, local, and private by default.
The Local-First Vision, Fully Realized
- Cross-platform parity: Windows, macOS, Linux — identical code, identical results. - Browser-ready embedding: the same core engine compiles down for browser-side experiences. - Resource stewardship: OrcaSheets stays off your "Top 5 CPU/RAM hogs," even while crunching.
The Honest Truth About Learning Rust
We came from Python, Java, and JavaScript. The first months were humbling. The borrow checker felt like friction — until we noticed what it was blocking: actual bugs (races, lifetime leaks, aliasing issues) that would have haunted production.
Unexpected wins:
- Refactors that stick: if it compiles, it usually works. - Property-based tests + strict typing = deep correctness. - Team reliability mindset: Rust nudged us toward designs that are robust under pressure.
Two years of Rust in analytics: community growth, columnar formats, async I/O, SIMD/tooling — all matured alongside us.
Real Impact, Real Users
OrcaSheets now powers:
- Financial analytics: millions of daily transactions, fraud/risk signals, portfolio rollups. - Retail & hospitality: location-level insights, promo lift, inventory health. - Public sector & sustainability: efficiency ratings, network telemetry, compliance views. - Robotics & IoT: billions of sensor readings with real-time thresholds and forecasts.
What these teams share: they need speed, privacy, and predictability — on hardware they already own.
Frontend Experience: Infinite Scrolling at Native Speed
With OrcaSheets, you can scroll through billions of rows as smoothly as if it were a tiny spreadsheet. Rust's performance at the backend ensures:
- Instantaneous Data Updates: As you scroll, data is fetched and processed on-the-fly without stutters. - Seamless User Interaction: Users interact with their data locally, feeling as if the entire dataset is at their fingertips.
Why Rust Was the Right Bet
Edge computing is rising. Data privacy mandates are tightening. Cloud costs aren't trending down. We wanted a future where:
- Powerful analytics don't require a cloud contract. - Privacy is built-in, not bolted-on. - Performance is predictable, not prayer-based.
Two years in, watching users explore billion-row datasets on their laptops — fluidly, locally — we're convinced we chose correctly. Rust didn't just help us build OrcaSheets. Rust helped us reimagine what analytics could be.
Try OrcaSheets — Free, Local, Ready Now
OrcaSheets is free to download and use. Point it at your files or databases and start exploring — no cloud required, privacy by default. Have a gnarly dataset or a specific decision you're trying to make? Tell us your use case; we love turning "impossible on a laptop" into "done in seconds."
Have we told you about Recipes?
Recipes are plug-and-play analytics blueprints:
- Data in: connectors or local files you already have. - Logic: reusable SQL/transform steps (and optional ML). - Out: dashboards, reports, or exported tables — fully local.
Use our starters or bring your own. Tweak them, share them, version them. It's analytics you can compose, not just click.
Download. Run. Analyze. That's it.
---
About OrcaSheets & DataOrc
We founded DataOrc in 2018 with a simple motto: make data accessible — at scale and at sane cost. Since then we've built petabyte-scale platforms and 50k-TPS systems for enterprises and startups, always with an eye on reliability, performance, and total cost of ownership.
OrcaSheets is that vision turned up to eleven: cloud-grade analytics that live on your machine. It's our way of doubling down on accessibility — letting teams explore billions of rows, apply AI, and ship insights without renting a data center.
If you want a quick, open consulting session with our tech team — or just want to sanity-check an approach — ping us. We're happy to help, whether you end up using OrcaSheets or not.