Skip to content

Instantly share code, notes, and snippets.

View OcheOps's full-sized avatar
💭
I may be slow to respond.

Oche OcheOps

💭
I may be slow to respond.
View GitHub Profile
@OcheOps
OcheOps / gist:6b59832dae413834aea7fb07de120097
Created May 24, 2026 20:57
Technical Specification: Critical Investment Orders Microservice
The investment orders service should be deployed as a highly available microservice across multiple Availability Zones. I would run the application on ECS Fargate or EKS with at least two to three replicas spread across AZs, behind an Application Load Balancer. Auto-scaling would be based on CPU, memory, request latency, and queue depth. Deployments should use blue/green or canary releases with automatic rollback if error rate or latency breaches thresholds.
For data storage, I would use Amazon RDS PostgreSQL or Aurora PostgreSQL in Multi-AZ mode, with automated failover enabled. Since this service handles financial orders, the database should be strongly consistent, encrypted at rest, encrypted in transit, and protected with strict IAM/security group access. Redis can be used for caching, idempotency keys, rate limiting, and short-lived locks, but not as the source of truth for orders.
The service should use an event-driven pattern for reliability. Incoming orders should be persisted first, then published
@OcheOps
OcheOps / now.json
Created May 31, 2026 12:48
Ocheverse /now page data — edit this to update https://ocheverse.ng/now
{
"lastUpdated": "May 2026",
"location": "Nigeria",
"sections": [
{
"title": "Building",
"icon": "🔧",
"items": [
"Scaling Ocheverse.ng — my personal engineering hub",
"Self-hosted infrastructure: monitoring, VPN tunnels, and secret management with HashiCorp Vault",