Skip to content

OrdoHigh-Performance Rule Engine

Sub-microsecond latency, 500K+ QPS, with visual editor

Ordo

Quick Example

json
{
  "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": { "code": "VIP", "message": "20% discount" }
    },
    "normal_discount": {
      "id": "normal_discount",
      "type": "terminal",
      "result": { "code": "NORMAL", "message": "5% discount" }
    }
  }
}

Performance

MetricResult
Single rule execution1.63 µs
Expression evaluation79-211 ns
HTTP API throughput54,000 QPS
Projected multi-thread500,000+ QPS

Released under the MIT License.