Systems & Perspective

Architecture & Engineering Notes

Public engineering builds and architectural takeaways on distributed reliability, real-time media, and scaling product infrastructure cleanly.

Public Systems
Endwatch · Distributed URL Health & Observability Platform
Open Source · Dockerized

A full-stack endpoint observability platform engineered to monitor uptime and response latency without blocking API threads or degrading history query performance as data grows.

node-cron Scheduler → Redis / Bull Queue → Monitor Engine (Promise.allSettled) → PostgreSQL / Prisma → Resend Alerts
  • Decoupled Worker Architecture: Separated scheduled HTTP probing from the Express REST API using Redis and Bull queues, enabling horizontal worker scaling without touching core application logic.
  • Fault-Isolated Concurrency & Indexing: Executes concurrent endpoint batches via Promise.allSettled so a single failing host never blocks a run, backed by composite indexing on CheckResult(urlId, checkedAt) to prevent full table scans.
  • Production Craft: Complete JWT access/refresh authentication, Winston structured JSON logging with correlation IDs, Resend email dispatch, and one-command Docker Compose orchestration.
SAP ABAP → S/4HANA Code Analyzer · AI Legacy Migration Tool
TypeScript · Python · LLM

An AI-assisted static analysis and refactoring application designed to accelerate enterprise migrations from legacy SAP ABAP codebases to S/4HANA-compliant implementations.

  • Automated Compatibility Auditing: Parses legacy ABAP source files, flags deprecated functions and breaking patterns, and recommends modern S/4HANA equivalents.
  • Guided Code Refactoring: Combines a TypeScript web interface with Python/OpenAI backend pipelines to produce review-ready refactored code diffs.
Architectural Perspective
Real-Time Media

Designing WebRTC for Real-World Networks

Production video rarely fails in clean lab conditions—it fails on fluctuating mobile networks, mid-call peripheral switches, and constrained enterprise hardware. Across both native desktop and web clients, reliability comes down to explicit connection state machines, graceful degradation, and keeping business workflows cleanly decoupled from media transport layers.

Product Infrastructure

Scaling Beyond Single-Region Assumptions

Early products naturally bake in local defaults—single currencies, rigid address schemas, and flat pricing. Expanding into new geographies without rewriting the core requires isolating region-specific rules behind clean configuration boundaries while preserving strict backward compatibility for active production workflows.