Skip to content
View collabray's full-sized avatar

Block or report collabray

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
collabray/README.md

Typing SVG


LinkedInWebsiteEmailLive DemoProfile Views


About Me

I'm a software engineer and cybersecurity researcher based in Nairobi, Kenya. My work sits at the intersection of backend engineering, ML infrastructure, and applied security — I build systems that matter at scale, from distributed infrastructure to models in production.

I care about the operational reality of software: what happens after deployment, how systems behave under failure, and how to make complex distributed infrastructure understandable to the people who run it.


Featured Project — Real-Time ML Model Drift Detection System

Production-grade ML monitoring infrastructure. Not a notebook. Not a demo.

View RepositoryLive Demo

The Problem

ML models silently degrade when real-world data distributions shift away from training data. A model can have 99.9% uptime and zero HTTP errors while producing systematically wrong predictions for real users. I built a system that catches this automatically.

What This System Does

A fully containerised, self-healing ML monitoring system that detects distribution shift in live inference traffic within minutes and responds autonomously — no human intervention required.

Statistical detection layer — three complementary methods, each catching what the others miss:

MethodWhat it catchesThreshold
KL-DivergenceContinuous feature distribution shape changes> 0.15
PSIBoth continuous and categorical individual feature shifts> 0.20
MMDJoint multivariate drift — correlation shifts KL and PSI miss entirelyp < 0.05

Infrastructure highlights:

  • Kafka-backed inference interceptor adds < 2ms latency to every prediction request
  • Faust-Streaming processor computes drift scores on tumbling windows (1,000 records or 60 seconds)
  • Redis-backed distributed circuit breaker — state shared across replicas, never in-process memory
  • Alert deduplication via atomic SET NX EX — prevents alert storms across multiple alerter replicas
  • Airflow DAG fetches fresh data, retrains, validates F1 against production model, and promotes via MLflow registry — fully automated
  • Auto baseline registration: new model versions self-register reference distributions from live traffic
  • FastAPI dashboard with JWT auth, WebSocket live updates, asyncio-safe broadcast with heartbeat/ping
  • 13-panel Grafana observability suite with Prometheus scraping all services
  • Kubernetes-ready: HPA, NetworkPolicy, PodDisruptionBudget, zero-downtime rolling deployments

Security: OWASP headers · JWT + bcrypt (factor 12) · SlowAPI + Redis rate limiting · Parameterised SQL · SASL/SCRAM-512 Kafka · TLS PostgreSQL · Non-root containers · RBAC · Full audit logging · OpenTelemetry tracing.

Stack:Python 3.11FastAPIKafkaFaust-StreamingPostgreSQL 16Redis 7AirflowMLflowPrometheusGrafanaDockerKubernetesNumPySciPyOpenTelemetry


Other Projects

ProjectDescriptionStackStatus
Sovereign Root ProtocolCryptographically secure, censorship-resistant domain ownership protocol on a P2P ledgerRust, TypeScript, Libp2p✅ Complete
POS PlatformMulti-tenant point-of-sale system with offline-first C++ client and cloud syncC++, Python, JavaScript, Tailwind✅ Complete
Shule360Dual-curriculum school management platform for Kenyan boarding schools (8-4-4 + CBC/CBE)Next.js, Node.js, Python, PostgreSQL🔨 Active Development

Tech Stack

Languages

PythonTypeScriptJavaScriptRustCBashSQL

Backend & Infrastructure

FastAPINode.jsApache KafkaPostgreSQLRedisDockerKubernetes

MLOps & Observability

MLflowApache AirflowPrometheusGrafanaNumPy

Security & Frontend

ReactLinuxKali LinuxWireshark


GitHub Stats



GitHub Streak


collabray's Activity Graph


Currently

  • Deepening expertise in distributed systems and production ML infrastructure
  • Learning Rust for systems-level programming
  • Researching applied cryptography and network security
  • Building in public and representing the African engineering community globally

Open to senior engineering roles, MLOps contracts, and cybersecurity consulting engagements.
Based in Nairobi, Kenya — available remotely worldwide.

Popular repositories Loading

  1. wisense wisensePublic

    WiFi CSI human sensing for Python presence, fall detection, breathing rate, activity classification, and occupancy counting from an ESP32. No camera, no cloud, no PyTorch/CUDA at runtime.

    Python 14 2

  2. deploy-bot-lab deploy-bot-labPublic

    TypeScript 1

  3. cloud-forge-haven cloud-forge-havenPublic

    TypeScript 1

  4. rayos rayosPublic

    1

  5. free-proxy-list free-proxy-listPublic

    Forked from proxifly/free-proxy-list

    🚀 Free HTTP, SOCKS4, & SOCKS5 Proxy List * Updated every 5 minutes *

    1

  6. S.M.SY S.M.SYPublic

    Dual-curriculum school management platform for Kenyan boarding high schools

    TypeScript 1