跳转到内容

Introduction

此内容尚不支持你的语言。

rCommerce is a headless, open-source commerce engine written in Rust. It ships as a single binary backed by PostgreSQL — no Node runtime, no PHP, no microservices to orchestrate.

Hosted platforms like Shopify charge a fee on every order and hide the logic your business runs on. Self-hosted alternatives like WooCommerce carry the weight of PHP and its stack. rCommerce trades that familiarity for a compiled core that holds its types, its memory and its throughput as your store grows.

rCommerceWooCommerceShopify
LanguageRustPHPhosted
Baseline memory~35 MB~768 MBn/a
What you deployOne static binaryPHP-FPM, web server, MySQLnothing (SaaS)
ConcurrencyMulti-threaded, no GCProcess per requestn/a
LicenceAGPL or commercialGPLproprietary

A single binary contains:

  • Catalogue — products, variants, options, media, collections
  • Cart & checkout — server-authoritative carts, deterministic state machine
  • Payments — Stripe, Airwallex, Alipay, WeChat Pay (pluggable)
  • Shipping — weight-based zone rates, carrier integrations
  • Tax — pluggable strategies (Stripe Tax, manual, OSS)
  • Orders & fulfillment — lifecycle management, split shipments
  • Notifications — email (Postmark/SMTP), SMS, webhooks
  • REST API — versioned, JWT auth, API key scoping
  • CLI — every operation from the command line

Your storefront (Next.js, Astro, mobile app, POS) talks to the rCommerce REST API. The core handles every request through typed, auditable services. State changes fan out as signed events to webhooks, email, analytics, and OpenTelemetry.

Frontends → REST/WebSocket API → rCommerce Core (Rust) → PostgreSQL
↓
Events → webhooks, email, analytics