Skip to content
Interactive Lab

System architecture & API explorer

Inspect live FastAPI endpoints, SQL execution plans, local AI pipelines, and network telemetry. Run queries and view responses directly in your browser.

PostgreSQL Engine:Neon Serverless
Tools:12 SaaS
Arcade:5 Modes
Prompts Copied:480+
Edge Latency:< 15ms

Interactive Chaos and Failover Simulator

Interactive System Chaos & Failover Lab

Test high-availability architecture resilience: ISP cuts, 10x traffic bursts, and offline POS queues.

Live Node Topology State
Primary FiberONLINE (100 Mbps)
Edge RouterOSNominal
WAF ShieldActive (0 Threat)
Data LayerPostgres Healthy
Telemetry Event Stream:
[11:42:01]System operating under nominal parameters. Zero packet loss. WAF Shield active.

Interactive API Explorer

GET/api/v1/inventory/batches/fefo
Domain: Aiyaar Pharmacy & POS

Queries batch-level medicine stock prioritized by nearest expiry date with automated status flags.

HTTP/2 200 OKLatency: 1.4ms (In-Memory / Fast Execution)
{
  "status": "success",
  "query_timestamp": "2026-11-15T00:10:00Z",
  "batches_count": 3,
  "data": [
    {
      "batch_no": "B-8810",
      "medicine_name": "Amoxicillin 500mg",
      "expiry_date": "2026-12-05",
      "stock_qty": 48,
      "quarantine_status": "CRITICAL_30D"
    },
    {
      "batch_no": "B-9021",
      "medicine_name": "Azithromycin 250mg",
      "expiry_date": "2026-12-28",
      "stock_qty": 120,
      "quarantine_status": "CRITICAL_30D"
    },
    {
      "batch_no": "B-9430",
      "medicine_name": "Paracetamol 500mg",
      "expiry_date": "2027-04-15",
      "stock_qty": 500,
      "quarantine_status": "ACTIVE_SAFE"
    }
  ]
}
Foundations

Core architectural pillars

The engineering standards and operational principles behind my backend, systems, and product builds.

FastAPI & Serverless Gateway

High-throughput asynchronous endpoints with Pydantic validation, strict typing, and sub-15ms response latency.

PostgreSQL & Drizzle ORM

Relational database models with ACID guarantees, FEFO batch expiry queries, and idempotent event queues.

Local AI & GGUF Inference

Zero-cloud-token-leak pipelines running quantized Qwen and DeepSeek models locally with structured JSON outputs.

MikroTik NOC & Edge Failover

Dual-WAN gateway routing, queue trees, connection tracking firewalls, and 24/7 uptime monitoring benches.