IplanRio2025–2026in production
Courses, jobs and employability API
The Go API behind course enrollments and the employability platform in the SuperApp.
97%
of responses under 100 ms under load
- 474
- requests per second at peak, with zero errors
- 4
- layers of authorization
The problem
Courses, job openings, opportunities for micro-entrepreneurs, résumés and applications are managed by different city departments, each with its own data and access rules.
The solution
A Go API (Gin, GORM, PostgreSQL and Redis) with a complete employability module covering résumés, openings, applications and eligibility criteria configurable per opening.
Technical notes
Layered authorization. Tokens are validated in Istio, roles come from Heimdall, fine-grained policies live in Cerbos and ownership is checked per department and agency.
Synchronization jobs for resident and department data, coordinated through a distributed Redis lock so they run on a single instance.
Canary releases in production, from 10% to 100% in steps, gated by automated success-rate analysis in Prometheus, with blue-green releases in staging.
Continuous integration with race-detection tests, a coverage regression limit, golangci-lint, Hadolint and Trivy.
Outcome
The API serves SuperApp enrollments. Under load, 97% of responses came back in under 100 ms, with a peak of 474 requests per second and no errors.