HomeEngineering

Engineering

/engineering/case-studies

Backend services, workflow orchestration, and multiplayer applications. Explore my contributions, implementation details, and architecture. Game demos are recorded; their live backends are offline.

Game Systems

Custom move rules, shared game state

Distributed Logic

P2P audio, WebSocket lobbies

Performance

Go worker pools, PostgreSQL indexes

#01
Engineering Case Study

alert.ventory

Enterprise notification workflows at GRIG Technologies

During my June 2024 to August 2025 backend internship, I built a FastAPI notification service with Temporal workflow orchestration. My work covered priority queues, human approval, authentication, and container infrastructure. Temporal keeps multi-step work outside the request lifecycle and can resume after approval or retryable failures. This adds worker and workflow management overhead, but makes long-running notification processes easier to coordinate. The diagram summarizes the workflow rather than an internal deployment topology.

Key Engineering

  • Priority queues separate high, medium, and low urgency work
  • Temporal workflows coordinate delivery steps and retries
  • Temporal Signals resume sensitive alerts after human approval
  • Zoho OAuth2, JWT sessions, and RBAC protect internal routes
  • Helm, NGINX Ingress, and cert-manager automate Kubernetes setup
Durable
Workflows
Human-in-loop
Approval
RBAC
Access
Interactive Architecture
FastAPITemporalPostgreSQLKubernetes / Helm
#02
Engineering Case Study

Portal Gambit

Source

Non-Euclidean Real-Time Chess Engine

A complex chess variant engineered with a custom recursive pathfinding algorithm to handle portal traversals. Features a server-offset synchronized timer system and P2P voice chat via WebRTC, ensuring competitive integrity in a distributed environment.

Key Engineering

  • Recursive Move Validation (Graph Traversal)
  • Optimistic UI with Firebase Atomic Transactions
  • P2P Signaling via Firestore (No dedicated turn server)
  • Server-Authority Time Synchronization
Firestore
Atomic Commits
Server-Offset
Time Sync
WebRTC P2P
Voice
Portal Gambit Demo
React 18FirebaseFastAPIPeerJSVite
System Architecture
Interactive Architecture
#03
Engineering Case Study

TerraQuest

Source

Concurrent Geo-Spatial Gaming Platform

A multiplayer geography game with a concurrent Go backend. Leverages Goroutines and Worker Pools to concurrently process and validate 81,000+ global locations from Google Street View API, storing them in PostgreSQL with composite latitude/longitude indexes.

Key Engineering

  • Go Worker Pools for Mass Data Ingestion
  • Thread-safe Lobby Management (RWMutex)
  • Exponential Decay Scoring Algorithm
  • Dual-Map Engine (Leaflet + StreetView SDK)
81,000+
Data Points
Worker Pool
Concurrency
Server-side
Scoring
Interactive Architecture
Go (Gin)Vue 3PostgreSQLGorilla WSPinia
#04
Engineering Case Study

Pilgrim AI

Source

Hybrid Mental Health Architecture (Earlier Project)

A multi-platform mental health ecosystem integrating Google Vertex AI for empathetic counseling. Features a decentralized 3-tier architecture with a context-aware session management system hosted on Google App Engine.

Key Engineering

  • Context-Aware Chat Persistence (Session ID)
  • Few-Shot Prompt Engineering (PaLM 2)
  • Geospatial Resource Discovery (Collision-Aware)
  • Cross-Platform State (Flutter GetX + Web)
Mobile/Web
Platforms
PaLM 2
AI Model
App Engine
Deploy
Pilgrim AI Demo
FlutterFlaskVertex AIApp EngineGoogle Maps
System Architecture
Interactive Architecture