Technology
The kernel
The Janus commerce kernel is a single Rust/Axum binary with a multi-tenant data model. One codebase handles the entire commerce lifecycle: payments, fraud scoring, subscription billing, invoicing, email delivery, fulfilment integration, and multi-channel inventory synchronisation.
The stack
| Layer | Technology |
|---|---|
| API | Rust / Axum |
| Storefront | SolidJS + Astro (SSR) |
| Data | PostgreSQL (primary), ClickHouse (analytics) |
| Edge | Cloudflare Workers, KV, R2 |
| SendGrid / Postmark | |
| Fulfilment | Shiptheory, channel APIs |
| Hosting | Render (API), Cloudflare (edge/storefront) |
Architecture principles
- Single binary, zero-downtime deploys
- Multi-tenant by design — every query is brand-scoped
- Multi-brand composition via
brand.toml— no per-brand code forks - Server-side consent enforcement at the API level
- Fail-closed promotion windows — expired config means no discount, not uncontrolled discount
- Idempotent payment processing with exactly-once delivery
- Type-safe data access with compile-time SQL verification
The data model
PostgreSQL with 161 migrations covering orders, payments, fraud scores, subscriptions, invoices, customers, products, variants, batches, promotions, promo codes, store credit, email templates, email log, audit log, sessions, admin users, feature flags, and brand configuration. ClickHouse handles analytical queries (order events, page views, conversion funnels) separately from the OLTP workload.
Multi-brand composition
Each brand is defined by a brand.toml file that configures the storefront theme, payment rails, shipping countries, email templates, legal pages, currency, locale, and promotion calendar. The kernel reads the configuration at boot and serves the brand's storefront from the same binary. No per-brand code forks — the brands differ by configuration, not by code.
Multi-channel sync
The kernel synchronises inventory, orders and pricing across Amazon SP-API, Shopify, eBay and Etsy from a single source of truth. Stock changes propagate bidirectionally; orders are normalised into the kernel's data model; pricing rules are enforced per channel.
Open source
The GPLv3 community build includes the complete kernel source. The commercial tier is the same code under a proprietary-use license with indemnity, support and managed hosting.
Contact
Technical enquiries: [email protected]