Engagement · Education

Replacing a legacy student records system piece by piece at a university

A university retires an aging student records system in slices, moving each one between terms after checking it against the old system.

The situation

A university runs its student records on a system it wrote in-house more than twenty years ago. It consists of a large relational database, a thick layer of stored procedures and batch jobs, and green-screen style forms that registry staff can use without looking. The system holds programs, the course catalog, enrollment, grades, academic standing and transcripts, and it sends nightly files to the learning platform, finance, housing and the library. A student portal added some years later reads the database directly.

The two remaining developers who understand the batch jobs will retire soon, and the database version is about to go out of support. An earlier plan to swap everything for a packaged system in a single cutover was halted once its cost and risk became clear, but the university still has to move off the old system. It has decided to replace one capability at a time and to keep the old system running until the last piece has been moved.

What was going wrong

  1. Rules that exist only in code

    Faculty committees amended prerequisite checks, repeat-course policies and the calculation of academic standing over many years, and each amendment was coded as an exception inside a procedure. No current document describes the rules in full, so in practice the code is the regulation, and few people can read it.

  2. Everything reads the database directly

    The portal, the reporting tool and about a dozen departmental applications all query tables in the legacy database. Changing a single column can therefore break something like a housing allocation script that central IT did not know was there.

  3. Registration week has no margin

    For a few days each term the whole student body is online together, choosing sections that fill within minutes. The legacy system copes with this peak because of years of tuning, and a replacement will face the same load on its first day in service.

  4. A single cutover cannot be rehearsed

    Moving every record and every function over one weekend leaves no chance to test with real use beforehand and no realistic way back afterwards. Should it go wrong, it goes wrong during enrollment with every student watching.

Our approach

In order
  1. Map capabilities and consumers

    We would describe what the system does as a set of separate capabilities, such as catalog, enrollment, grading, standing and transcripts, and then trace every reader and writer of each table through database logs and interviews. The resulting inventory sets the order of the slices and brings the hidden departmental integrations to light.

  2. Put a facade in front

    An API layer goes between the consumers and the legacy system, and to begin with it passes every request straight through to the old database. The portal and the integrations are moved onto it one at a time, and once they are there, the place where a request is served can change without the consumer noticing.

  3. Capture behavior as tests

    For each slice we record real inputs and outputs from the legacy system over several past terms, including enrollment attempts with their accept or reject result, standing calculations and transcript output, and these recordings become the test suite. When the registry says the old behavior is wrong, the change is agreed explicitly and written into the log.

  4. Move one slice at a time

    The course catalog moves first, since it is mostly read. Its new service is built, loaded and run alongside the old one while the facade compares their answers, and grading and transcripts follow. Enrollment is the hardest and most visible slice, so it moves only after the pattern has worked on the others.

  5. Cut over in term gaps

    Each slice is switched between terms, after a load test against a recorded registration peak and a rehearsal of the rollback. The legacy tables for that slice are then made read-only, and they are retired once a full term has gone by without any need to fall back.

The design

The parts and what each one does
  • Routing facade

    An API gateway and a thin service layer present stable student records interfaces, send each call to the legacy or the new code depending on the capability, and can run both and compare what they return.

  • Change data capture

    Changes are read from the transaction log of the legacy database and published as events, which keeps the new services up to date during the long stretch when both systems hold live data.

  • New domain services

    Catalog, enrollment, grading and transcripts each get their own service and data store, and the academic rules are held as dated, versioned configuration in a form the registry can read.

  • Synchronization back to legacy

    As long as legacy functions depend on data that a new service now owns, an integration writes those changes back using idempotent updates, and a daily reconciliation report lists any differences.

  • Standards-based outbound integration

    Feeds to the learning platform and other tools move from nightly files to events and APIs, using OneRoster where both sides support it, and each tool receives only the fields it needs.

  • Comparison and load test suites

    The recorded cases are replayed against the old and new systems on every change, and a load profile based on registration week runs before each term freeze.

Safeguards

What keeps a bad day small
  • One system of record per field

    A written table states, at every stage, which system owns each data element, and no field can be edited in both. Ownership of a field moves on its cutover date and not earlier.

  • Rollback through the facade

    Sending a capability back to the legacy system takes a configuration change that is rehearsed before each cutover, and any data written in the meantime is synchronized back so that it is kept.

  • Freeze periods are fixed

    No release goes to production during enrollment, examinations or the publication of results. We plan backwards from the academic calendar, and a slice that misses its gap waits for the next one.

  • Student data protection

    Access to education records follows the university's obligations under laws such as FERPA or GDPR. Test environments work with masked records, and each vendor or tool that receives data is covered by an agreement that has been reviewed.

Timeline

  1. Months 1 to 2

    We produce the capability map and a consumer inventory from database logs, agree the slice order with the registry, deploy the facade in pass-through mode and move the first consumers onto it.

  2. Months 3 to 5

    Change data capture goes live, and the catalog service is built, run in comparison mode and cut over during the first gap between terms.

  3. Months 6 to 10

    Grading, standing and transcripts follow, each with recorded-case tests and a period of running in parallel, while outbound feeds move from nightly files to events.

  4. Months 11 to 16

    Enrollment is built, load tested against a recorded registration peak and piloted with one faculty before it is cut over between terms.

  5. After the final cutover

    The legacy batch jobs are switched off, the database is archived under the records retention policy, and the university's team takes over operations in full.

What it changes

What the build is designed to change

The university can replace its student records system without staking an enrollment period on a single weekend. Each capability moves on its own date, once it has given the same answers as the old system on real cases and handled a recorded registration load. If a slice misbehaves, traffic goes back to the legacy code while the fault is fixed, and students and staff see the portal and the forms change gradually over time.

The institution also ends up with something it lacked before, which is a written, dated and tested record of its academic rules that the registry can review whenever a faculty committee changes a policy. Departmental tools read through supported interfaces where they used to run private queries. The work takes roughly four terms, and progress is judged against the measures below.

How success is measured

  • Unexplained differences between legacy and new answers on recorded cases, counted per slice
  • Number of consumers that still read the legacy database directly
  • Response times and error rates under the load profile for registration week
  • Legacy batch jobs and tables retired after each cutover
  • Time between an enrollment change and the matching course access in the learning platform

What generalizes

  1. The facade is the first deliverable

    Nothing behind the old database can move while consumers still read it directly. Moving the portal and the integrations onto a stable interface takes patient work, and once it is done each later slice becomes a routing decision, where it would otherwise have been a migration event.

  2. Recorded cases beat written requirements

    Where rules have built up in code for decades, interviews tend to recover the common cases and miss the exceptions. Replaying real history through the old and new systems brings those exceptions out and makes the team decide what to do about each of them.

  3. Save the hardest slice for later

    Beginning with enrollment would test the method and the riskiest function at the same time. Moving a capability that is mostly read comes first, because it proves the facade, the synchronization and the rollback while little is at stake.

All engagements

If you have a similar problem, a two-week review is the usual place to start.

Tell us what you are trying to do and where it is stuck. A principal reads every message and replies within one working day.

How we engage

Start a conversation.

A short paragraph is enough. A principal reads every message and replies within one working day.

Or email hello@farside.works. We use what you send only to reply. Privacy