# Romando Purba > I'm Romando Purba, a Backend Developer in Pamulang, South Tangerang, Indonesia, working with Go, NestJS, and PostgreSQL. Website: https://romando.dev/ Last updated: 2026-10-20 I like building the parts of software nobody sees: data that stays correct, systems that hold up under load, and code the next person can actually read. ## About - Backend Developer at the Directorate of Digital Technology (DTD), Universitas Terbuka (Nov 2022 – Now). - Builds Go, NestJS and PostgreSQL services for a national university platform serving 800K+ students. - Main stack: Go, NestJS, and PostgreSQL; also TypeScript, Redis, Distributed Systems, Job Queues. - Based in Pamulang, South Tangerang, Indonesia (UTC+7). - Studying B.Sc. Computer Science at Universitas Cakrawala (Mar 2026 – 2030, expected). ## Experience ### Backend Developer — Directorate of Digital Technology (DTD), Universitas Terbuka Nov 2022 – Now. My first backend job, and where most of my opinions came from. - Contention is a design problem: I built the exam seat booking flow on PostgreSQL `SKIP LOCKED` with 2-hour holds. It handled 857K+ registrations. - Workers die; jobs shouldn't: I wrote the graduation screening worker in Go: leased jobs on a Postgres queue, retries with backoff. - Scale is mostly care: I maintain backend services for MyUT, the student portal used by 800K+ students. - Migrate in slices: I moved legacy Laravel services to NestJS and Go within my first year, one piece at a time. ## Skills - Languages: Go, TypeScript, SQL, Rust - Backend: NestJS, Actix Web, REST - Async & jobs: Job queues, Leases, Retry + backoff, LISTEN/NOTIFY - Databases: PostgreSQL, Redis, SKIP LOCKED - DevOps: Docker, Linux, CI/CD ## Education - B.Sc. Computer Science, Universitas Cakrawala (Mar 2026 – 2030, expected) - Multimedia, SMK Negeri 1 Raya (2020) ## Certifications - Microsoft Certified: Azure AI Fundamentals (Microsoft) ## Case studies ### Course registration & exam seat booking > Self-service exam seat booking by location, date and session for Universitas Terbuka, with atomic seat claiming that prevents double booking. URL: https://romando.dev/work/exam-seat-booking Author: Romando Purba Last updated: 2026-10-20 #### Key facts - Role: Backend Developer - Organisation: Universitas Terbuka - Stack: NestJS, PostgreSQL - Scale: 857K+ registrations - Status: Shipped #### Context Universitas Terbuka's course registration and exam seat booking lets students reserve their own exam seat by location, date and session, and has handled 857K+ registrations. It runs on the national university platform serving 800K+ students, built at the Directorate of Digital Technology (DTD). #### Problem Exam seats are limited per location, date and session, and many students book at the same time. Two concurrent requests must never claim the same seat, and seats held by registrations whose hold expires must return to the pool. #### Approach - **Atomic seat claiming.** A seat is claimed with `FOR UPDATE SKIP LOCKED`: each transaction locks one free seat row and skips rows already locked by other transactions, so concurrent requests take different seats instead of colliding. - **2-hour holds.** A claimed seat is held for two hours. - **Expired-seat reclaim.** A scheduled job finds holds older than two hours and releases the seats of registrations that haven't been paid; paid registrations keep their seat. #### Architecture #### Key decisions & trade-offs - **`SKIP LOCKED` instead of plain `FOR UPDATE`.** Plain `FOR UPDATE` makes concurrent requests wait on the same locked row; `SKIP LOCKED` lets each move on to the next free seat. The trade-off is that seat assignment under contention is not strictly ordered. - **Holds instead of immediate confirmation.** A student gets two hours to pay for the registration, so the seat is held rather than confirmed on the spot. Reclaim looks at billing status because payment is what turns a hold into a booking: unpaid holds go back to the pool, paid ones stay. The trade-off is that a seat can sit unused for up to two hours before it's released. #### Result - 857K+ registrations handled. - Double booking prevented by atomic seat claiming. --- ### Graduation screening worker > Go worker on a Postgres-backed queue that screens thousands of Universitas Terbuka students per study program and resumes interrupted batches. URL: https://romando.dev/work/graduation-screening-worker Author: Romando Purba Last updated: 2026-10-20 #### Key facts - Role: Backend Developer - Organisation: Universitas Terbuka - Stack: Go, PostgreSQL - Scale: Thousands of students per study program, every graduation period - Status: In progress #### Context Universitas Terbuka's graduation screening service evaluates thousands of students per study program every graduation period. It runs on the national university platform serving 800K+ students. The current version uses cron workers on a database job queue; it is being redesigned as a Go worker on a Postgres-backed queue. #### Problem - Screening a whole study program inside an API request runs into timeouts. - Screening depends on legacy PHP grading servers, so calls to them need bounded concurrency and timeouts. - Reads from a replica can lag behind the primary, which is not acceptable for graduation decisions. #### Approach The first version moved screening out of the request path into cron workers on a database job queue, avoiding API timeouts. The redesign as a Go worker on a Postgres-backed queue adds: - **Atomic batch claiming.** Workers claim batches of jobs atomically, so no batch is processed by two workers. - **Per-student fan-out.** A batch is split into one unit of work per student. - **Lease-based recovery.** Claimed work carries a lease; if a worker stops, the work becomes claimable again once the lease expires. - **Retries with backoff.** Failed work is retried with backoff. - **Resumable batches.** Interrupted batches resume without reprocessing. #### Architecture - **Queue:** Postgres-backed job queue. - **Worker:** Go service that claims batches and fans out per student. - **Grading:** legacy PHP grading servers, called with per-host concurrency limits and timeouts. - **Reads:** decision-critical reads go to the primary database. #### Key decisions & trade-offs - **Postgres as the queue.** Postgres was already part of the platform, so a Postgres-backed queue adds no new infrastructure to run, and jobs are claimed in the same transactions as the data they work on, so there is no separate broker to keep consistent with the database. The trade-off is that queue load lands on the same database. - **Per-host concurrency limits and timeouts.** Each legacy PHP grading server gets its own limit and timeout, so one slow server does not stall the rest. The trade-off is that total throughput is capped by those limits. - **Primary reads for decisions.** Decision-critical reads are routed to the primary to avoid replica lag, trading extra load on the primary for consistent results. - **Leases over locks held for the whole job.** A lease expires on its own, so work claimed by a worker that stopped becomes claimable again without anyone releasing it, and no long-running transaction holds locks while a batch runs. #### Result - Job claiming and lease behavior are covered by integration tests running in GitLab CI. - The Go redesign is in progress. Results will be added once the redesign ships. ## Writing - Building Real-Time Database Synchronization with Rust and PostgreSQL LISTEN/NOTIFY (Mar 5, 2026): https://medium.com/@romando.purba125/building-real-time-database-synchronization-with-rust-and-postgresql-listen-notify-0acc212b05a1 - REST APIs with Actix Web in Rust (Jul 27, 2024): https://medium.com/@romando.purba125/rest-apis-with-actix-web-in-rust-9557dab8aa5e ## Links - [Writing](https://romando.dev/writing) - [GitHub](https://github.com/MandoPurba) - [LinkedIn](https://www.linkedin.com/in/romando-purba12) - [Medium](https://medium.com/@romando.purba125) - [Email](mailto:prb.romando@gmail.com)