~/portfolio
HIGH-TRAFFIC RESULTS SITE: DISTRIBUTED POC(7) — R&D proof of concept at Esh3ark: can a student results site survive exam-day traffic? Django on four app nodes behind nginx, protected from bots by Cloudflare Turnstile.
($ cd ~/projects && ./distributed-results-poc)

NAME

High-Traffic Results Site: Distributed POC — R&D proof of concept at Esh3ark: can a student results site survive exam-day traffic? Django on four app nodes behind nginx, protected from bots by Cloudflare Turnstile.

SYNOPSIS

R&D proof of concept at Esh3ark: can a student results site survive exam-day traffic? Django on four app nodes behind nginx, protected from bots by Cloudflare Turnstile.

DESCRIPTION

Context: R&D at Esh3ark · Role: Developer, AI-assisted · Period: Sep 2026

Nine containers: nginx as load balancer, four Django app nodes, and one PostgreSQL database per node. Target load: 135 requests per second.

TECH STACK

Python Django PostgreSQL Nginx Docker Compose Cloudflare Turnstile

BUGS / CHALLENGES

Behind nginx, Django rejected form submissions with CSRF errors because nginx forwarded the host without the port. Fixed by forwarding the original host header.

SEE ALSO