Reading the rhythm of a land-record service: time-series lessons from RTC lookups

The rtc online service is, at its heart, a time-series problem wearing a land-record costume. Every lookup leaves a timestamp, every district has a daily rhythm, and every harvest season bends the curve in a way that a plain request counter never explains. I have spent the last year watching a small public lookup service — the Record of Rights, Tenancy and Crops (RTC) extract service for Karnataka — and the lessons it teaches about time-series data are the same lessons any small team running a citizen-facing service will meet. This post is about those patterns, and about how we learned to read them instead of reacting to them.

A lookup is an event, not a page view

The first mistake we made was counting page views. A page view tells you that a browser loaded something; it tells you nothing about the work behind it. An RTC lookup is an event with a shape: a survey number, a village, a district, a time of day, and a result — found, not found, or found with a mismatch against the paper record. When we started storing each lookup as a point with those tags, the service stopped being a black box. We could see that a fifth of all lookups in one district were for the same twenty survey numbers, which turned out to be a single large estate being divided among heirs. A page-view counter would have shown a busy afternoon. The event log showed a family settling an inheritance. That distinction matters, because it changes what you optimise: you do not need more capacity, you need a faster path for repeat lookups of the same record.

The morning rush is a pattern, not a surprise

Every working day opens the same way. Between eight and ten in the morning, lookup volume rises sharply as revenue offices open and clerks start their queues. The peak is roughly four times the midday rate, and it is over by eleven. For the first months we treated this as a problem to solve — a spike to flatten. It is not a spike; it is the working day. The useful response is not to smooth the curve but to be ready for it: warm the caches before eight, schedule maintenance for the afternoon, and never deploy a change at nine in the morning. Time-series thinking reframes the rush from an emergency into a timetable. Once we plotted the same hours across thirty days, the pattern was so stable that we could predict the peak within ten percent. The anxiety disappeared, and with it the habit of over-provisioning for a load that never actually arrives.

Seasonality in land records

Land records have seasons, and they are not the seasons you would guess. The busiest weeks are not the harvest — they are the weeks when banks open their crop-loan window, when a new land-acquisition notification is published, and when the annual mutation drive begins. Each of these is an external event with a date, and each one shows up in the lookup series as a step change rather than a gradual rise. We now keep a small calendar of these external events alongside the metrics, and we annotate the graphs with them. A graph without annotations is a mystery; a graph with the loan-window dates marked on it is an explanation. The practical payoff is that the team stops arguing about whether a rise in traffic is a problem and starts asking which external event caused it and how long it will last.

Retention: what to keep and what to let go

A small service cannot keep everything forever, and it should not try. Raw lookup events are valuable for a month, useful for a quarter, and mostly noise after a year. What we actually need at a year is the daily aggregates: how many lookups, how many distinct survey numbers, how many failures, by district. So we keep the raw events for ninety days and the daily roll-ups indefinitely, and we downsample the rest. The discipline this imposes is worth more than the disk space it saves. Every series we keep has a named owner and a named question it answers. If a series has neither, it goes. The result is a small, legible set of measurements that a new team member can understand in an afternoon, rather than a warehouse of points nobody trusts.

Alerts that respect the people on call

The alert rules for a citizen service are a social question as much as a technical one. There is one engineer on call, and they are also the person who answers the phone when a revenue office calls. An alert that fires at two in the morning for a problem that can wait until seven is worse than no alert at all, because it teaches the on-call engineer to ignore alerts. Our rules now have three properties. First, they fire on symptoms the public can feel — failed lookups, not CPU percentages. Second, they have a business-hours qualifier, so a slow night does not page anyone. Third, every alert links to a runbook that fits on one screen. The number of alerts has fallen, and the number of alerts that get acted on has risen to all of them. That is the metric that matters.

Downsampling the quiet hours

Between midnight and five in the morning, the service is nearly silent. A handful of lookups arrive from outside the country, and the occasional automated check pings the health endpoint. Storing those hours at full resolution is wasteful, but deleting them is worse, because the quiet hours are the baseline against which an incident is measured. Our compromise is aggressive downsampling: one point an hour for the quiet window, kept indefinitely. It costs almost nothing, and it preserves the one thing the quiet hours are good for — proving that the service was healthy before the morning rush began. When a clerk reports that the service was slow at nine, the first thing we check is the six o’clock baseline, and the downsampled series answers that question in seconds.

What the data does not say

There is a limit to what a time series can tell you, and it is worth stating plainly. The metrics show that lookups fail more often in one district than in others, but they do not say why. The reason, when we finally asked, was that the district’s paper records were being digitised in a different order than the online index expected, so the most-looked-up records were the last to be verified. No dashboard would have found that. Someone had to pick up the phone. Time-series data is a map, not the territory: it shows where to look, and then a person has to go and look. The teams that get the most from their metrics are the ones that treat a strange graph as the start of a conversation, not the end of one.

Closing thought

A land-record service is not a glamorous workload, and it will never be a conference talk. But it is a service that ordinary people depend on for documents that decide whether they can borrow, sell, or inherit. The time-series discipline we built around it — events with tags, annotated graphs, honest retention, respectful alerts, and a healthy suspicion of what the data cannot say — is the same discipline any small team needs. If you are running a small public service and your graphs are mostly noise, start by recording one event properly and annotating one graph honestly. The rest follows.