All projects

EdTech · Microservices LMS

Syntax Learning Hub: Microservices LMS

Architected an invite-only, cohort-based learning platform as 8 FastAPI services, each with its own database.

p95 < 50 ms · 0% errors in load tests

Visit moodleui.syntaxacademy.com

Role
Architect & Team Lead
Company
Syntax Technologies
Industry
EdTech
+20 more

Overview

The product and my role.

The challenge

The company needed its own learning platform for cohort-based courses: invites, batches, video lessons, assignments, quizzes, calendars and analytics. Off-the-shelf LMS products did not fit the workflow, and video files are too large to pass through an app server.

What I did

  • Split the system into 7 services plus an API gateway, each owning its data: MySQL for identity, catalog, video and calendar; MongoDB for assessments and notifications; ClickHouse for analytics.
  • Connected services through REST and RabbitMQ events, with a transactional outbox, idempotent consumers and sagas for multi-step workflows.
  • Built a video pipeline where large files never touch the app: direct browser uploads to Bunny Stream, signed HLS playback, Cloudflare R2 cold backup and reference-counted deletes.
  • Frontend: a React and TypeScript single-page app on Cloudflare Workers, with admin and student areas as separate lazy-loaded route trees.
  • Added observability (OpenTelemetry, Prometheus, Grafana, Loki), k6 load tests per user journey, CI gates with secret and dependency scanning, image scanning before deploy, and encrypted on-demand database backups.

The result

  • Live in production.
  • Pre-launch load test: p95 latency under 50 ms on core student journeys, with a 0% error rate across 392 requests.
  • Seven services and an API gateway, each owning its data
  • Direct-upload video pipeline with signed HLS playback
  • Tracing, metrics and logs with OpenTelemetry and Grafana

Stack

Built with 27 technologies.

  • Backend3

    • Python
    • FastAPI
    • tus uploads
  • Data and messaging5

    • MySQL
    • MongoDB
    • ClickHouse
    • Redis
    • RabbitMQ
  • Frontend8

    • React
    • TypeScript
    • Vite
    • Tailwind CSS
    • TanStack Query
    • Zustand
    • Tiptap
    • HLS video
  • Cloud and delivery4

    • Docker
    • GitHub Actions
    • Cloudflare Workers
    • Cloudflare R2
  • Monitoring and testing6

    • Playwright
    • OpenTelemetry
    • Prometheus
    • Grafana
    • Loki
    • Tempo
  • Integrations1

    • Bunny Stream

Contact

Let's talk.

Hiring for a senior or lead role, or have a system that needs building? I reply within one business day.