How the benchmark was run.
GitHub Actions
Ubuntu runner with PostgreSQL 16 and Python 3.12.
Load
300 concurrent connections, 2 wrk threads, 30s per scenario and a 3s warmup.
Servers
Granian 2.5.4 with one worker for Flameo RSGI, Flameo ASGI, FastAPI and Sanic. Robyn runs on its native server.
Average
Arithmetic mean of 3 completed runs.
Average requests per second
Higher is better. Each cell is the arithmetic mean of 3 runs at 300 connections.
| Framework | Simple JSON | Large JSON | Single Row with Select Query | List Rows with Select Query | HTML Template |
|---|---|---|---|---|---|
| Flameo (RSGI with granian) | 40,608 | 18,649 | 4,281 | 3,578 | 3,628 |
| Flameo (ASGI with granian) | 36,542 | 16,464 | 4,002 | 3,345 | 3,489 |
| FastAPI (ASGI with granian) | 11,422 | 505 | 2,929 | 1,753 | 3,273 |
| Robyn (native Rust server) * | 6,432 | 5,123 | 2,874 | 2,389 | 2,677 |
| Sanic (ASGI with granian) | 12,455 | 4,584 | 3,255 | 2,616 | 3,164 |
Flameo leads in every scenario.* Robyn is not an ASGI application and cannot be served by Granian. It runs on its own Rust server.
Average latency (p50 / p99)
Lower is better. Each cell shows the mean p50 / p99 latency across 3 runs.
| Framework | Simple JSON | Large JSON | Single Row with Select Query | List Rows with Select Query | HTML Template |
|---|---|---|---|---|---|
| Flameo (RSGI with granian) | 7.76ms / 13.49ms | 17.50ms / 29.14ms | 74.03ms / 332.57ms | 88.38ms / 401.94ms | 84.64ms / 109.29ms |
| Flameo (ASGI with granian) | 8.45ms / 17.48ms | 19.88ms / 31.31ms | 79.94ms / 396.42ms | 94.91ms / 485.46ms | 88.27ms / 111.26ms |
| FastAPI (ASGI with granian) | 28.67ms / 36.70ms | 599.29ms / 810.89ms | 107.06ms / 477.67ms | 176.02ms / 694.85ms | 94.28ms / 119.63ms |
| Robyn (native Rust server) * | 49.29ms / 61.66ms | 61.17ms / 71.76ms | 109.78ms / 133.80ms | 131.91ms / 189.10ms | 116.05ms / 140.01ms |
| Sanic (ASGI with granian) | 26.67ms / 41.90ms | 66.93ms / 90.64ms | 93.89ms / 434.84ms | 115.36ms / 551.53ms | 97.45ms / 124.00ms |
The five tests.
Simple JSON
GET /json returns {"message":"Hello, world!"}.
Large JSON
GET /json/nested returns the 33,611-byte nested payload shown below.
Single Select Query
GET /db/employee/5 runs the single-row join and returns one employee row.
SELECT E.id, E.name, D.name AS department_name,
E.contact_no FROM employee E
JOIN department D ON D.id = E.department_id
WHERE E.id = 5;
List Select Query
GET /db/employees runs the same join with LIMIT 20 and returns 20 rows.
SELECT E.id, E.name, D.name AS department_name,
E.contact_no FROM employee E
JOIN department D ON D.id = E.department_id
ORDER BY E.id
LIMIT 20;
HTML Template
GET /html renders a light theme with two string variables and a count of 100, looping 100 times.
Two strings. One number. 100 rows.
The template is shared by every framework. It receives title and subtitle as strings and count = 100 as a number.
title: Modern UI, rendered fastsubtitle: A light theme template with two strings and a 100-row loop.count: 100- Loop:
for i in range(1, count + 1)
<h1>{{ title }}</h1>
<p class="subtitle">{{ subtitle }}</p>
<div class="badge">{{ count }} rows rendered</div>
{% for i in range(1, count + 1) %}
<div class="item" data-row="{{ i }}">
<span class="dot"></span>
<span class="num">{{ i }}</span>
<span>Benchmark row {{ i }}</span>
</div>
{% endfor %}
The 32 KB JSON.
The exact payload returned by /json/nested in every framework.
Open the 32 KB JSON payload
{
"platform": {
"id": "PLT-2026-001",
"name": "TechWorld Enterprise",
"version": "3.8.2",
"environment": "production",
"company": {
"name": "TechWorld Global Ltd.",
"registration_number": "REG-987654321",
"founded": 2018,
"headquarters": {
"address": "123 Business Avenue",
"city": "New York",
"state": "NY",
"country": "USA",
"coordinates": {
"latitude": 40.7128,
"longitude": -74.0060
}
},
"branches": [
{
"id": "BR-001",
"name": "New York Branch",
"manager_id": 501,
"employees": 45,
"contact": {
"email": "ny@techworld.example.com",
"phone": "+12125550101"
}
},
{
"id": "BR-002",
"name": "London Branch",
"manager_id": 502,
"employees": 32,
"contact": {
"email": "london@techworld.example.com",
"phone": "+442071234567"
}
},
{
"id": "BR-003",
"name": "Singapore Branch",
"manager_id": 503,
"employees": 28,
"contact": {
"email": "sg@techworld.example.com",
"phone": "+6561234567"
}
}
]
},
"configuration": {
"currency": "USD",
"timezone": "UTC",
"locale": "en-US",
"maintenance_mode": false,
"features": {
"inventory_tracking": true,
"multi_currency": true,
"automated_billing": true,
"recommendation_engine": true,
"fraud_detection": true,
"multi_warehouse": true
},
"security": {
"two_factor_authentication": true,
"session_timeout_minutes": 30,
"max_login_attempts": 5,
"password_policy": {
"minimum_length": 12,
"require_uppercase": true,
"require_numbers": true,
"require_special_characters": true
}
}
}
},
"users": [
{
"id": 101,
"uuid": "usr_8f7d9a21",
"username": "johndoe",
"first_name": "John",
"last_name": "Doe",
"email": "john@example.com",
"role": "customer",
"status": "active",
"profile": {
"avatar": "https://example.com/avatars/101.jpg",
"date_of_birth": "1992-05-14",
"gender": "male",
"phone": "+1234567890",
"addresses": [
{
"id": "ADDR-001",
"type": "home",
"default": true,
"street": "123 Main Street",
"city": "New York",
"state": "NY",
"postal_code": "10001",
"country": "USA"
},
{
"id": "ADDR-002",
"type": "office",
"default": false,
"street": "45 Wall Street",
"city": "New York",
"state": "NY",
"postal_code": "10005",
"country": "USA"
}
]
},
"preferences": {
"language": "en",
"currency": "USD",
"newsletter": true,
"marketing_notifications": false,
"interests": [
"gaming",
"computers",
"smartphones",
"accessories"
]
},
"account": {
"email_verified": true,
"phone_verified": true,
"last_login": "2026-11-22T08:30:00Z",
"login_count": 248,
"loyalty_points": 1850,
"membership": {
"tier": "gold",
"joined_at": "2023-04-12",
"expires_at": "2027-04-12",
"benefits": [
"free_shipping",
"priority_support",
"exclusive_discounts"
]
}
}
},
{
"id": 102,
"uuid": "usr_7a3c9e52",
"username": "janesmith",
"first_name": "Jane",
"last_name": "Smith",
"email": "jane@example.com",
"role": "customer",
"status": "active",
"profile": {
"avatar": "https://example.com/avatars/102.jpg",
"date_of_birth": "1989-11-23",
"gender": "female",
"phone": "+1987654321",
"addresses": [
{
"id": "ADDR-003",
"type": "home",
"default": true,
"street": "45 Park Avenue",
"city": "Chicago",
"state": "IL",
"postal_code": "60601",
"country": "USA"
}
]
},
"preferences": {
"language": "en",
"currency": "USD",
"newsletter": false,
"marketing_notifications": true,
"interests": ["photography", "electronics", "travel"]
},
"account": {
"email_verified": true,
"phone_verified": false,
"last_login": "2026-11-21T17:45:00Z",
"login_count": 156,
"loyalty_points": 920,
"membership": {
"tier": "silver",
"joined_at": "2024-02-18",
"expires_at": "2027-02-18",
"benefits": ["discounts", "standard_support"]
}
}
}
],
"departments": [
{
"id": "DEP-001",
"name": "Engineering",
"budget": 450000,
"manager_id": 501,
"teams": [
{
"id": "TEAM-001",
"name": "Backend Development",
"lead_id": 510,
"members": [511, 512, 513, 514],
"technologies": ["Python", "PostgreSQL", "Redis", "RabbitMQ"],
"projects": [
{
"id": "PRJ-001",
"name": "Order Processing System",
"status": "in_progress",
"completion_percentage": 75,
"milestones": [
{
"name": "Database Architecture",
"status": "completed",
"completed_at": "2026-09-10"
},
{
"name": "API Development",
"status": "completed",
"completed_at": "2026-10-05"
},
{
"name": "Performance Optimization",
"status": "in_progress",
"due_date": "2026-12-15"
}
]
}
]
},
{
"id": "TEAM-002",
"name": "Frontend Development",
"lead_id": 520,
"members": [521, 522, 523],
"technologies": ["React", "TypeScript", "Next.js"],
"projects": [
{
"id": "PRJ-002",
"name": "Customer Dashboard",
"status": "active",
"completion_percentage": 60,
"milestones": [
{
"name": "UI Design",
"status": "completed"
},
{
"name": "Dashboard Integration",
"status": "in_progress"
}
]
}
]
}
]
},
{
"id": "DEP-002",
"name": "Operations",
"budget": 280000,
"manager_id": 502,
"teams": [
{
"id": "TEAM-003",
"name": "Warehouse Operations",
"lead_id": 530,
"members": [531, 532, 533],
"responsibilities": [
"inventory_management",
"stock_reconciliation",
"shipment_processing"
]
}
]
}
],
"categories": [
{
"id": 1,
"name": "Electronics",
"slug": "electronics",
"description": "Electronic devices and accessories",
"parent_id": null,
"subcategories": [
{
"id": 11,
"name": "Computers",
"slug": "computers",
"parent_id": 1,
"subcategories": [
{
"id": 111,
"name": "Laptops",
"parent_id": 11,
"subcategories": []
},
{
"id": 112,
"name": "Desktops",
"parent_id": 11,
"subcategories": []
},
{
"id": 113,
"name": "Computer Components",
"parent_id": 11,
"subcategories": []
}
]
},
{
"id": 12,
"name": "Mobile Devices",
"slug": "mobile-devices",
"parent_id": 1,
"subcategories": [
{
"id": 121,
"name": "Smartphones",
"parent_id": 12,
"subcategories": []
},
{
"id": 122,
"name": "Tablets",
"parent_id": 12,
"subcategories": []
}
]
}
]
},
{
"id": 2,
"name": "Accessories",
"slug": "accessories",
"description": "Computer and mobile accessories",
"parent_id": null,
"subcategories": [
{
"id": 21,
"name": "Peripherals",
"parent_id": 2,
"subcategories": []
},
{
"id": 22,
"name": "Audio",
"parent_id": 2,
"subcategories": []
}
]
}
],
"products": [
{
"id": "PRD-001",
"sku": "LAP-DELL-001",
"name": "Dell XPS 15",
"description": "High-performance professional laptop",
"category_id": 111,
"brand": {
"id": "BRAND-001",
"name": "Dell",
"country": "USA"
},
"pricing": {
"cost": 950,
"retail": 1299.99,
"discount": {
"percentage": 10,
"valid_until": "2026-12-31"
},
"tax_rate": 8.5,
"currency": "USD"
},
"specifications": {
"processor": {
"manufacturer": "Intel",
"model": "Core i7-13700H",
"cores": 14,
"threads": 20,
"base_clock": 2.4,
"boost_clock": 5.0
},
"memory": {
"type": "DDR5",
"capacity_gb": 32,
"speed_mhz": 5200
},
"storage": [
{
"type": "NVMe SSD",
"capacity_gb": 1024
}
],
"display": {
"size_inches": 15.6,
"resolution": "3456x2160",
"panel": "OLED",
"refresh_rate": 60,
"touchscreen": true
},
"connectivity": {
"wifi": "WiFi 6E",
"bluetooth": "5.3",
"ports": [
"Thunderbolt 4",
"USB-C",
"HDMI",
"3.5mm Audio"
]
}
},
"inventory": {
"total_stock": 125,
"reserved_stock": 15,
"available_stock": 110,
"reorder_level": 20,
"warehouses": [
{
"warehouse_id": "WH-001",
"quantity": 60,
"bin": "A-12-04"
},
{
"warehouse_id": "WH-002",
"quantity": 65,
"bin": "B-08-02"
}
]
},
"media": {
"thumbnail": "https://example.com/products/dell-xps-thumb.jpg",
"gallery": [
"https://example.com/products/dell-xps-1.jpg",
"https://example.com/products/dell-xps-2.jpg",
"https://example.com/products/dell-xps-3.jpg"
],
"videos": [
{
"title": "Product Overview",
"url": "https://example.com/videos/xps-overview.mp4",
"duration_seconds": 120
}
]
},
"reviews": {
"average_rating": 4.7,
"total_reviews": 245,
"rating_distribution": {
"5": 180,
"4": 40,
"3": 15,
"2": 7,
"1": 3
}
},
"tags": ["laptop", "professional", "business", "oled"],
"is_active": true,
"created_at": "2026-01-10T10:00:00Z"
},
{
"id": "PRD-002",
"sku": "MOU-LOG-002",
"name": "Logitech MX Master 3S",
"description": "Wireless ergonomic productivity mouse",
"category_id": 21,
"brand": {
"id": "BRAND-002",
"name": "Logitech",
"country": "Switzerland"
},
"pricing": {
"cost": 55,
"retail": 99.99,
"discount": {
"percentage": 5,
"valid_until": "2026-12-31"
},
"tax_rate": 8.5,
"currency": "USD"
},
"specifications": {
"sensor": {
"type": "Optical",
"dpi": 8000
},
"connectivity": ["Bluetooth", "USB Receiver"],
"battery": {
"type": "Rechargeable",
"capacity_mah": 500,
"life_hours": 70
},
"buttons": {
"total": 7,
"programmable": 6
}
},
"inventory": {
"total_stock": 450,
"reserved_stock": 32,
"available_stock": 418,
"reorder_level": 50,
"warehouses": [
{
"warehouse_id": "WH-001",
"quantity": 200,
"bin": "C-02-01"
},
{
"warehouse_id": "WH-002",
"quantity": 250,
"bin": "D-01-05"
}
]
},
"media": {
"thumbnail": "https://example.com/products/mx-master-thumb.jpg",
"gallery": [
"https://example.com/products/mx-master-1.jpg",
"https://example.com/products/mx-master-2.jpg"
],
"videos": []
},
"reviews": {
"average_rating": 4.8,
"total_reviews": 892,
"rating_distribution": {
"5": 700,
"4": 140,
"3": 30,
"2": 12,
"1": 10
}
},
"tags": ["mouse", "wireless", "ergonomic"],
"is_active": true,
"created_at": "2026-02-15T11:30:00Z"
}
],
"suppliers": [
{
"id": "SUP-001",
"name": "Global Electronics Distribution",
"status": "active",
"contact": {
"person": "Michael Brown",
"email": "sales@supplier.example.com",
"phone": "+12125550999"
},
"address": {
"street": "500 Industrial Road",
"city": "New Jersey",
"country": "USA"
},
"payment_terms": {
"method": "bank_transfer",
"credit_days": 30,
"currency": "USD"
},
"supplied_products": ["PRD-001", "PRD-002"],
"performance": {
"total_orders": 125,
"on_time_delivery_rate": 96.5,
"quality_score": 4.8,
"average_lead_time_days": 7
}
},
{
"id": "SUP-002",
"name": "Asia Technology Wholesale",
"status": "active",
"contact": {
"person": "David Chen",
"email": "orders@asiawholesale.example.com",
"phone": "+6561239876"
},
"address": {
"street": "88 Industrial Park",
"city": "Singapore",
"country": "Singapore"
},
"payment_terms": {
"method": "wire_transfer",
"credit_days": 45,
"currency": "USD"
},
"supplied_products": ["PRD-002"],
"performance": {
"total_orders": 87,
"on_time_delivery_rate": 92.1,
"quality_score": 4.5,
"average_lead_time_days": 12
}
}
],
"warehouses": [
{
"id": "WH-001",
"name": "New York Central Warehouse",
"location": {
"city": "New York",
"country": "USA",
"coordinates": {
"latitude": 40.7306,
"longitude": -73.9352
}
},
"capacity": {
"total_units": 50000,
"occupied_units": 32500,
"available_units": 17500,
"utilization_percentage": 65
},
"sections": [
{
"id": "SEC-A",
"name": "Electronics",
"temperature_controlled": true,
"bins": [
{
"id": "A-12-04",
"capacity": 500,
"occupied": 320,
"products": ["PRD-001"]
},
{
"id": "A-12-05",
"capacity": 300,
"occupied": 180,
"products": ["PRD-001", "PRD-002"]
}
]
},
{
"id": "SEC-B",
"name": "Accessories",
"temperature_controlled": false,
"bins": [
{
"id": "B-08-02",
"capacity": 1000,
"occupied": 650,
"products": ["PRD-002"]
}
]
}
]
},
{
"id": "WH-002",
"name": "London Distribution Center",
"location": {
"city": "London",
"country": "UK"
},
"capacity": {
"total_units": 30000,
"occupied_units": 18000,
"available_units": 12000,
"utilization_percentage": 60
},
"sections": [
{
"id": "SEC-C",
"name": "General Electronics",
"temperature_controlled": false,
"bins": [
{
"id": "C-02-01",
"capacity": 800,
"occupied": 400,
"products": ["PRD-002"]
}
]
}
]
}
],
"orders": [
{
"id": "ORD-2026-1001",
"reference": "REF-982341",
"user_id": 101,
"status": "processing",
"channel": "website",
"items": [
{
"product_id": "PRD-001",
"sku": "LAP-DELL-001",
"name": "Dell XPS 15",
"quantity": 1,
"unit_price": 1299.99,
"discount": 129.99,
"subtotal": 1170
},
{
"product_id": "PRD-002",
"sku": "MOU-LOG-002",
"name": "Logitech MX Master 3S",
"quantity": 2,
"unit_price": 99.99,
"discount": 10,
"subtotal": 189.98
}
],
"pricing": {
"subtotal": 1359.98,
"discount": 139.99,
"coupon": {
"code": "TECH2026",
"discount_amount": 50
},
"tax": 93.50,
"shipping": 15,
"grand_total": 1278.49,
"currency": "USD"
},
"payment": {
"transaction_id": "TXN-987654321",
"method": "credit_card",
"provider": "Stripe",
"status": "paid",
"card": {
"brand": "Visa",
"last_four": "4242",
"expiry_month": 12,
"expiry_year": 2028
},
"amount": 1278.49,
"paid_at": "2026-11-22T09:30:00Z"
},
"shipping": {
"carrier": "FedEx",
"service": "Express",
"tracking_number": "FX123456789",
"status": "preparing",
"destination": {
"name": "John Doe",
"street": "123 Main Street",
"city": "New York",
"state": "NY",
"postal_code": "10001",
"country": "USA"
},
"estimated_delivery": "2026-11-26",
"history": [
{
"status": "order_received",
"timestamp": "2026-11-22T09:00:00Z"
},
{
"status": "payment_confirmed",
"timestamp": "2026-11-22T09:30:00Z"
},
{
"status": "preparing",
"timestamp": "2026-11-22T10:00:00Z"
}
]
},
"notes": [
{
"author": "Customer",
"message": "Please deliver after 5 PM",
"created_at": "2026-11-22T08:55:00Z"
}
],
"timestamps": {
"created_at": "2026-11-22T09:00:00Z",
"updated_at": "2026-11-22T10:00:00Z"
}
},
{
"id": "ORD-2026-1002",
"reference": "REF-982342",
"user_id": 102,
"status": "delivered",
"channel": "mobile_app",
"items": [
{
"product_id": "PRD-002",
"sku": "MOU-LOG-002",
"name": "Logitech MX Master 3S",
"quantity": 1,
"unit_price": 99.99,
"discount": 0,
"subtotal": 99.99
}
],
"pricing": {
"subtotal": 99.99,
"discount": 0,
"coupon": null,
"tax": 8.50,
"shipping": 0,
"grand_total": 108.49,
"currency": "USD"
},
"payment": {
"transaction_id": "TXN-987654322",
"method": "paypal",
"provider": "PayPal",
"status": "paid",
"amount": 108.49,
"paid_at": "2026-11-15T12:30:00Z"
},
"shipping": {
"carrier": "DHL",
"tracking_number": "DHL987654321",
"status": "delivered",
"destination": {
"name": "Jane Smith",
"city": "Chicago",
"state": "IL",
"country": "USA"
},
"estimated_delivery": "2026-11-18",
"history": [
{
"status": "order_received",
"timestamp": "2026-11-15T12:00:00Z"
},
{
"status": "shipped",
"timestamp": "2026-11-16T08:00:00Z"
},
{
"status": "delivered",
"timestamp": "2026-11-18T14:30:00Z"
}
]
},
"notes": [],
"timestamps": {
"created_at": "2026-11-15T12:00:00Z",
"updated_at": "2026-11-18T14:30:00Z"
}
}
],
"transactions": [
{
"id": "TXN-001",
"order_id": "ORD-2026-1001",
"type": "payment",
"amount": 1278.49,
"currency": "USD",
"status": "completed",
"gateway_response": {
"code": "00",
"message": "Approved",
"authorization_code": "AUTH-998877",
"risk_assessment": {
"score": 12,
"level": "low",
"flags": []
}
},
"created_at": "2026-11-22T09:30:00Z"
},
{
"id": "TXN-002",
"order_id": "ORD-2026-1002",
"type": "payment",
"amount": 108.49,
"currency": "USD",
"status": "completed",
"gateway_response": {
"code": "00",
"message": "Approved",
"authorization_code": "AUTH-998878",
"risk_assessment": {
"score": 8,
"level": "low",
"flags": []
}
},
"created_at": "2026-11-15T12:30:00Z"
}
],
"discount_campaigns": [
{
"id": "CMP-001",
"name": "Black Friday 2026",
"code": "BLACKFRIDAY",
"type": "percentage",
"value": 20,
"conditions": {
"minimum_order_value": 100,
"maximum_discount": 500,
"eligible_categories": [1, 2],
"eligible_memberships": ["silver", "gold", "platinum"]
},
"usage": {
"maximum_uses": 10000,
"total_uses": 3250,
"per_user_limit": 2
},
"validity": {
"starts_at": "2026-11-20T00:00:00Z",
"ends_at": "2026-11-30T23:59:59Z"
},
"active": true
}
],
"support": {
"tickets": [
{
"id": "TKT-001",
"user_id": 101,
"subject": "Order delivery inquiry",
"status": "open",
"priority": "medium",
"assigned_to": 601,
"messages": [
{
"id": "MSG-001",
"sender": "customer",
"message": "When will my order arrive?",
"attachments": [],
"timestamp": "2026-11-22T11:00:00Z"
},
{
"id": "MSG-002",
"sender": "agent",
"message": "Your order is being prepared for shipment.",
"attachments": [],
"timestamp": "2026-11-22T11:15:00Z"
}
],
"resolution": null,
"created_at": "2026-11-22T11:00:00Z"
},
{
"id": "TKT-002",
"user_id": 102,
"subject": "Product return request",
"status": "resolved",
"priority": "high",
"assigned_to": 602,
"messages": [
{
"id": "MSG-003",
"sender": "customer",
"message": "I want to return my product.",
"attachments": [
{
"filename": "product_photo.jpg",
"url": "https://example.com/uploads/product_photo.jpg",
"size_bytes": 245000
}
],
"timestamp": "2026-11-19T09:00:00Z"
},
{
"id": "MSG-004",
"sender": "agent",
"message": "Your return request has been approved.",
"attachments": [],
"timestamp": "2026-11-19T10:00:00Z"
}
],
"resolution": {
"type": "return_approved",
"refund_amount": 108.49,
"resolved_at": "2026-11-19T10:30:00Z"
},
"created_at": "2026-11-19T09:00:00Z"
}
],
"departments": [
{
"id": "SUPPORT-01",
"name": "Technical Support",
"agents": [601, 603, 604],
"working_hours": {
"timezone": "America/New_York",
"weekdays": {
"start": "09:00",
"end": "18:00"
}
}
},
{
"id": "SUPPORT-02",
"name": "Billing Support",
"agents": [602, 605],
"working_hours": {
"timezone": "America/New_York",
"weekdays": {
"start": "08:00",
"end": "17:00"
}
}
}
]
},
"notifications": [
{
"id": "NOT-001",
"user_id": 101,
"type": "order_update",
"title": "Order confirmed",
"body": "Your order ORD-2026-1001 has been confirmed.",
"data": {
"order_id": "ORD-2026-1001",
"status": "processing",
"action": {
"type": "navigate",
"screen": "order_details",
"parameters": {
"order_id": "ORD-2026-1001",
"tab": "tracking"
}
}
},
"delivery": {
"email": {
"sent": true,
"sent_at": "2026-11-22T09:31:00Z"
},
"push": {
"sent": true,
"sent_at": "2026-11-22T09:31:05Z"
},
"sms": {
"sent": false,
"reason": "user_disabled_sms"
}
},
"read": false,
"created_at": "2026-11-22T09:31:00Z"
}
],
"analytics": {
"overview": {
"total_users": 125000,
"active_users": 87500,
"total_products": 18500,
"total_orders": 245000,
"total_revenue": 18500000.75,
"average_order_value": 75.51,
"conversion_rate": 3.85
},
"sales": {
"daily": [
{
"date": "2026-11-20",
"orders": 1250,
"revenue": 94500.50,
"refunds": 1250
},
{
"date": "2026-11-21",
"orders": 1480,
"revenue": 112500.75,
"refunds": 2450
},
{
"date": "2026-11-22",
"orders": 980,
"revenue": 78200.25,
"refunds": 850
}
],
"monthly": [
{
"month": "2026-09",
"orders": 28500,
"revenue": 2100000
},
{
"month": "2026-10",
"orders": 31200,
"revenue": 2350000
},
{
"month": "2026-11",
"orders": 35800,
"revenue": 2850000
}
]
},
"customers": {
"new_customers": 12500,
"returning_customers": 65000,
"retention_rate": 72.5,
"top_customers": [
{
"user_id": 101,
"total_spent": 12500.50,
"orders": 48
},
{
"user_id": 102,
"total_spent": 8700.25,
"orders": 32
}
]
},
"inventory": {
"total_skus": 18500,
"low_stock_products": 125,
"out_of_stock_products": 18,
"inventory_value": 8500000,
"warehouse_utilization": {
"WH-001": 65,
"WH-002": 60
}
},
"traffic": {
"total_visits": 2500000,
"unique_visitors": 1850000,
"sessions": 2200000,
"bounce_rate": 32.5,
"devices": {
"desktop": 45,
"mobile": 48,
"tablet": 7
},
"sources": [
{
"name": "organic_search",
"visits": 950000,
"percentage": 38
},
{
"name": "direct",
"visits": 750000,
"percentage": 30
},
{
"name": "social_media",
"visits": 500000,
"percentage": 20
},
{
"name": "referral",
"visits": 300000,
"percentage": 12
}
]
}
},
"system": {
"services": [
{
"name": "api",
"status": "healthy",
"instances": 4,
"metrics": {
"requests_per_second": 2500,
"average_latency_ms": 24.5,
"error_rate": 0.02,
"cpu_usage": 45.2,
"memory_usage_mb": 2048
}
},
{
"name": "worker",
"status": "healthy",
"instances": 8,
"metrics": {
"jobs_processed": 125000,
"jobs_pending": 350,
"average_processing_ms": 120,
"failed_jobs": 25,
"cpu_usage": 35.8,
"memory_usage_mb": 4096
}
},
{
"name": "database",
"status": "healthy",
"engine": "PostgreSQL",
"version": "18",
"metrics": {
"connections_active": 45,
"connections_idle": 30,
"max_connections": 200,
"queries_per_second": 8500,
"cache_hit_ratio": 98.7,
"storage_used_gb": 1250
}
},
{
"name": "cache",
"status": "healthy",
"engine": "Redis",
"version": "8",
"metrics": {
"connected_clients": 850,
"used_memory_mb": 4096,
"total_keys": 1250000,
"hit_rate": 96.8,
"operations_per_second": 45000
}
}
],
"backups": [
{
"id": "BKP-001",
"type": "full",
"database": "production",
"size_gb": 125,
"status": "completed",
"storage": {
"provider": "S3",
"bucket": "techworld-backups",
"region": "us-east-1",
"path": "/production/2026/11/22/"
},
"created_at": "2026-11-22T02:00:00Z",
"expires_at": "2026-12-22T02:00:00Z"
},
{
"id": "BKP-002",
"type": "incremental",
"database": "production",
"size_gb": 12,
"status": "completed",
"storage": {
"provider": "S3",
"bucket": "techworld-backups",
"region": "us-east-1",
"path": "/production/2026/11/22/"
},
"created_at": "2026-11-22T12:00:00Z",
"expires_at": "2026-11-29T12:00:00Z"
}
],
"audit_logs": [
{
"id": "AUD-001",
"actor": {
"user_id": 501,
"username": "admin_jane",
"role": "administrator"
},
"action": "product_updated",
"resource": {
"type": "product",
"id": "PRD-001",
"changes": {
"price": {
"old": 1349.99,
"new": 1299.99
},
"stock": {
"old": 120,
"new": 125
}
}
},
"request": {
"ip_address": "192.168.1.100",
"user_agent": "Chrome/157.0",
"method": "PATCH",
"path": "/api/v1/products/PRD-001"
},
"timestamp": "2026-11-22T10:15:00Z"
}
]
},
"integrations": {
"payment_gateways": [
{
"name": "Stripe",
"enabled": true,
"configuration": {
"mode": "live",
"webhook_enabled": true,
"supported_currencies": ["USD", "EUR", "GBP"]
}
},
{
"name": "PayPal",
"enabled": true,
"configuration": {
"mode": "live",
"webhook_enabled": true,
"supported_currencies": ["USD", "EUR"]
}
}
],
"shipping_providers": [
{
"name": "FedEx",
"enabled": true,
"services": ["Express", "Ground", "International"]
},
{
"name": "DHL",
"enabled": true,
"services": ["Express Worldwide", "Economy Select"]
}
],
"external_apis": [
{
"name": "Currency Exchange API",
"base_url": "https://api.example.com/exchange",
"authentication": {
"type": "bearer",
"token_reference": "CURRENCY_API_KEY"
},
"rate_limits": {
"requests_per_minute": 1000,
"requests_per_day": 100000
},
"status": "active"
},
{
"name": "Geolocation API",
"base_url": "https://geo.example.com",
"authentication": {
"type": "api_key",
"token_reference": "GEO_API_KEY"
},
"rate_limits": {
"requests_per_minute": 500
},
"status": "active"
}
]
},
"metadata": {
"schema_version": "2.5.0",
"generated_at": "2026-11-22T12:00:00Z",
"data_source": "production",
"record_count": {
"users": 125000,
"products": 18500,
"orders": 245000,
"suppliers": 350,
"warehouses": 12
},
"pagination": {
"page": 1,
"per_page": 100,
"total_pages": 1250,
"has_next": true,
"has_previous": false
}
}
}