Modernizing a Legacy University Course Platform: A Policy-Driven Self-Hosted Architecture
Abstract
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.
Create a lesson
Metadata
- Categories
- cs.SE, cs.DC, cs.NI
- Comments
- https://courses.ntu.edu.tw
Related papers
From Suspicious Signals to Crashes: Guiding Bug-Driven GUI Testing via Code-Inspired Tracing
Shared title terminologycs.SEMengzhuo Chen, Zhe Liu, Chunyang Chen et al.
From Code to Architecture: Responsibility Analysis and Dependency Graphs in the Inference of Architectural Patterns in Kotlin
Shared title terminologycs.SEJoão Pedro Moura, Breno Miranda
DUPLEX: A Dual-Plane Architecture for Monitored and Staged Repo-Level Code Repair
Shared title terminologycs.SEYinuo Deng, Kaiyu Deng, Hanchen Wang et al.
From Software Factory to Solution Factory: Bounded, Human-Gated Recursive Self-Improvement of an LLM Agent Pipeline Across Projects
Shared title terminologycs.SEQiyu Zhang
An Agent-Based Approach for Automating Behavior-Driven Development
Shared title terminologycs.SELuciano Belo de Alcântara Júnior, Diego Elias Costa, João Eduardo Montandon
RAELM: A Methodology for Creating Reference Architectures
Shared title terminologycs.SEPouya Ataei, Paul Grefen, Gerrit Muller et al.