Ordo: Ultra-Performance
Rust Rule Engine
Designed for high-concurrency business, providing 1.63µs ultra-low latency, 54K HTTP QPS, and JIT-accelerated execution down to 50ns. Built-in visual editor with real-time WASM execution.
How Ordo Works
Ordo processes requests with incredible speed and precision. Here's a glimpse into the execution flow.
Core Features
Ordo is more than just a rule engine; it's a complete rule life cycle management platform.
Visual Rule Editor
Dual modes of drag-and-drop Flow and structured Form editing to lower maintenance barriers.
Ultra-Performance Engine
Built with Rust, supports millions of QPS with 1.63µs latency, perfect for financial payments.
Real-time WASM Execution
Preview rules instantly in browser via WebAssembly with execution tracing and debugging.
Versioning & Audit
Built-in version management with one-click rollback. Full audit logs for compliance requirements.
Multi-tenancy & Isolation
Namespace-level rule isolation and per-tenant QPS limits to easily support SaaS business.
Data Filter API
Push rule logic into your database. Generates SQL WHERE clauses, JSON predicates, or MongoDB $match stages — no full-table scans, no row-by-row evaluation.
Use Cases
Financial Risk Control
Real-time anti-fraud and credit strategy evaluation with millisecond response to massive requests.
E-commerce Marketing
Dynamic coupon issuance and flash sale logic for flexible promotion strategies.
Smart Routing
Payment channel selection and dynamic traffic distribution based on real-time data.
Intuitive Visual Editor
Design complex decision flows without writing code. Ordo provides a powerful visual editor with real-time preview and debugging.
Decision Steps
Rule Config
Multi-view Switching
Seamlessly switch between Flow and Form views to fit different editing habits.
Real-time Execution
Get identical results to server-side execution instantly in browser using WASM.
Execution Path Tracing
Visually trace every node in rule execution to make debugging effortless.
Easy to Define, Seconds to Execute
Ordo uses intuitive JSON/YAML formats. Supports rich expression syntax including math, logic, and built-in functions. Get decision results and detailed trace in microseconds via simple API calls.
Structured Rule Definition
Define step flow and decision logic
High-Performance Evaluation
Optimized evaluation engine
Visual Tracing
Detailed execution path tracing
{
"config": {
"name": "discount-check",
"version": "1.0.0",
"entry_step": "check_vip"
},
"steps": {
"check_vip": {
"id": "check_vip",
"name": "Check VIP Status",
"type": "decision",
"branches": [
{
"condition": "user.vip == true",
"next_step": "vip_discount"
}
],
"default_next": "normal_discount"
},
"vip_discount": {
"id": "vip_discount",
"type": "terminal",
"result": { "discount": 0.2 }
},
"normal_discount": {
"id": "normal_discount",
"type": "terminal",
"result": { "discount": 0.05 }
}
}
} {
"rule": "discount-check",
"result": { "discount": 0.2 },
"trace": [
{ "step": "check_vip", "branch": 0, "condition": "user.vip == true (true)" },
{ "step": "vip_discount", "type": "terminal" }
],
"duration_us": 1.63
} Quick Start
Launch Ordo Server and execute your first rule in under 2 minutes with Docker.
1. Start Ordo Server
Pull and run the official Docker image
docker run -d -p 8080:8080 ghcr.io/pama-lee/ordo:latest 2. Verify Status
Check the health check endpoint
curl http://localhost:8080/health 3. Execute Rule
Send execution request via REST API
curl -X POST http://localhost:8080/api/v1/execute/demo \
-H "Content-Type: application/json" \
-d '{"user": {"vip": true}}' Ready to boost your business decisions?
Join us and experience the revolution of development efficiency with performance and visual editing. Ordo is open sourced on GitHub.