Engineering Lab
Alan Siqueira
Distributed Systems Engineer
Experiments and analysis of system design, observability and distributed architectures. This lab documents real engineering thinking.
Active Experiments
Food Delivery Lab: Order -> Payment -> Dispatch (with O11y)
Projeto exemplo: fluxo de pedido de delivery com saga, idempotência, eventos e observabilidade (logs + traces).
Hello Lab: Event Pipeline Smoke Test
Lab inicial para validar fluxo de conteudo, componentes interativos e leitura de frontmatter.
System Design Playground
Event-Driven Architecture
Outbox + event bus + consumer retry boundaries in high-throughput services.
API -> Outbox -> Bus -> Consumers
Idempotent APIs
Practical patterns for deduplication under network retries and client replays.
POST /orders + idempotency_key
Distributed Rate Limiting
Token-bucket patterns across workers and gateways with failure-safe behavior.
Gateway -> Redis Cell -> Service
Observability Lab
Trace Analysis of a Distributed Request
trace_id=4bf9... · p99=1240ms · bottleneck=payment-provider
Debugging Slow Queue Workers
worker=dispatch-consumer · lag=18s · retries=3 · dlq=2
Understanding Retry Storms
queue=payment-events · retry_rate=42/min · backoff_jitter=off
System Design Notes
About
Backend engineer working on large-scale systems.
- distributed systems
- system architecture
- observability
- AI-assisted engineering