Modernizing a Legacy University Course Platform: A Policy-Driven Self-Hosted Architecture
University course-selection platforms combine bursty enrollment traffic, strict institutional requirements, and dependence on legacy academic systems. This experience report describes how the National Taiwan University course platform evolved from a student-developed interface into a production, self-hosted university information service built on Proxmox, Kubernetes, Kong, PostgreSQL, Elasticsearch with Redis, and a server-side rendered Next.js frontend. The principal contribution is a policy-driven integration boundary in front of a session-oriented legacy application, combining internal request identity, role-based authorization, infrastructure-level traffic admission, dependency-aware health monitoring, request correlation, and a short-lived transition token for institutional single sign-on. A supporting Grafana k6 evaluation with 2,000 virtual users recorded approximately 2,000 HTTP requests per second, a reported response-time metric below 100 ms, and an error rate below 1%, with autoscaling up to 20 replicas. Replacing Round-Robin with Least Connections routing reduced imbalance in per-pod database connection use.
Authors
- Jui-Pin
- Chu
- Yi-Hsun Chou
Publication Details
- Journal
- arXiv
- Published
- 2026-11-30
- Primary Topic
- Software System Performance and Reliability
- Type
- preprint