BACKEND ARCHITECTURE & AI SYSTEMS

David Castillo

Principal Backend Architect & AI Systems Leader

Principal Backend & Distributed Systems Architect specializing in mission-critical Event-Driven Architectures (EDA) and stateful Agentic AI platforms.

[DISTRIBUTED SYSTEMS][LANGGRAPH & RAG 3072D][CLOUDFLARE EDGE DO]
Z-AXIS TOPOLOGY: SUITE AERYA
Gemini 2.0 Router
LangGraph State Core
Atlas Vector 3072d
Redis Event Bus
p99: 38.4ms|3,072d Cosine: 0.94|Edge DO: Active
01 / PRODUCTION SYSTEMS

Engineering that scales under real load.

SYS.3D // SPATIAL ARCHITECTURE · 99.98% SLA

Production platforms powered by multi-agent orchestration, vector RAG, and edge compute.

SYS.3D // AERYA
01 // PRODUCTION AI SAAS● ONLINE // 38.4ms

Suite Aerya — Airline Conversational AI

Multi-agent orchestration powered by LangGraph, 3,072-dimension Atlas Vector Search RAG, and distributed Domain Event Bus over Redis Pub/Sub.

14.2k evt/min
Domain Event Bus
p95 < 280ms
3072d RAG Latency
LangGraphGemini 2.0Atlas Vector 3072dCloud Run
Inspect Architecture
3D Z-AXIS MULTI-AGENT STACK
Top Layer // Z+48
Ingestion & Gemini 2.0 Router
12.1ms intent classify
Middle Layer // Z+24
LangGraph Cyclic State Machine
Multi-Agent DAG
Bottom Layer // Z+00
Atlas Vector 3072d + Cloud Run
0.94 cosine recall
STREAM: REDIS PUB/SUB + CLOUD TASKS99.98% SLA
SYS.3D // DATA
02 // DATA TOPOLOGY

Polyglot Data & Cache Stack

1.8ms hit
L1 // 1.8ms
Cloudflare KV / D1
L2 // 4.8k msg/s
Redis Pub/Sub Bus
L3 // 3,072 dims
MongoDB Atlas Vector
Beanie ODM · Drizzle · RedisZero-lock
SYS.03 // ERP
03 // CLOUD CONSTRUCTION ERPMULTI-TENANT

BrickTicket — Real-Time Job Costing SaaS

Centralized Gantt scheduling, live financial margin telemetry, and isolated subcontractor portals.

LIVE GANTT & COST LEDGERSYNCED
Phase 01 · Core
Phase 02 · MEP
Subcontractors
Net Margin+31.8%
On-Schedule96.4%
Cloud-Native SaaSExplore
SYS.04 // SYNC
04 // MULTI-DEVICE ECOSYSTEM

Qullqa Collector — Cloud Art Cataloging

Cross-device art collection management, condition reports, financial valuation, and instant cloud synchronization.

iOS / iPadOS
REAL-TIME SYNC
Cloud Vault
collector.qullqa.artView Details
SYS.05 // EDGE DO
05 // EDGE COMPUTE & STORAGE

Cloudflare Edge — Workers & DO SQLite

Read Whitepaper
edge-runtime://workerd/durable-sqlite
● 0ms Cold Start
> runtime: Cloudflare workerd
> storage: Co-located SQLite WAL
> delivery: Email Routing + Turnstile
Edge Telemetry
✓ 300+ PoPs · Sub-15ms RTT
✓ RateLimiter (5 req / 60s)
+ SYS.02 // ARQUITECTURA & STACK

Domain Expertise & Interactive Stack Blueprint

Full Toolchain
33, 19
1

Event-Driven Backend & Microservices

4,820 msg/sec
ACTIVE DOMAIN EVENT BUS PIPELINE
API Gateway
Node.js · Python 3.13
→
Domain Event Bus
Hexagonal · DDD
→
FastAPI
Redis Pub/Sub
Cloud Tasks
35, 19
2

LLMOps & Agentic RAG

3,072 dims
LangGraph
Cyclic Agent
0.94
cosine similarity
0, 30
3

Cloud-Native & Edge Compute

MULTI-REGION
Cloudflare Edge
Workers + Durable Objects
GLOBAL ROUTING
Google Cloud Run●
GitHub Runners CI●
-6, 50
4

Data & Storage Architecture

1.8ms cache hit
POLYGLOT PERSISTENCE TOPOLOGY
MongoDB
Beanie + Vector
Redis Cache
Streams + TTL
PostgreSQL
Cloudflare D1
SYS.06 // DISPATCH
AVAILABLE FOR ARCHITECTURE & ADVISORY

Building the future of AI and scalable systems.

Available for Principal/Staff engineering leadership and architectural consulting.