Skip to content
Lock & Mercer

Border verification, offline

Edge nodes for a police information system rollout, built to keep working when the satellite link does not.

Situation

A border post is one of the few places where a system being briefly unavailable is not an inconvenience. An officer either has an answer about a person in front of them or does not, and the connection to the primary database runs over a satellite link that is not always there.

The engagement was a subcontract through GIZ under the Africa-EU Migration and Mobility Dialogue framework, covering the front-end edge nodes for a West Africa Police Information System rollout at three land crossings. The scope was deliberately narrow: local nodes, data sync, and audit logging. Not the central system.

What we did

Each node holds a local verification cache and keeps working through an outage rather than degrading to a blank screen. The interesting problem is not the caching, it is what happens afterwards, when several nodes that have been operating independently come back online holding versions of the same record that disagree.

Every local write is timestamped with a vector clock and hashed, so a conflicting identity record can be ordered rather than guessed at, and any tampering between write and sync is evident rather than silent. Reconciliation happens against the primary database when connectivity returns, with the conflicts surfaced instead of resolved by whichever node happened to reach the server first.

Audit logging is tamper-evident by construction. On work of this kind the log is not an operational nicety, it is the record that has to hold up later.

Worth stealing

Design the reconciliation, not the cache

Offline-first is usually sold as a caching problem and it is not. Caching is the easy half. The half that decides whether the system can be trusted is what happens when independent nodes reconnect holding contradictory versions of the same record. Order the writes with vector clocks, hash them so tampering is visible, and surface conflicts rather than silently letting last-write-wins decide. Anything that resolves conflicts quietly is a system that will one day be confidently wrong.

Scope

  • Edge node interfaces
  • Local verification cache
  • Offline ledger reconciliation
  • Tamper-evident audit logging
Client
GIZ, under the Africa-EU Migration and Mobility Dialogue
Sector
Public safety
Year
2025
Stack
Vector clocks · Cryptographic hashing · Offline-first sync

What we can’t publish

We are cleared to name the implementing consortium and describe the functional architecture. We are not permitted to publish API endpoints, network topology, or the locations of the border control posts. Nothing on this page is drawn from operational data.

Who did it

Built and carried by Lock & Mercer. The people who took the brief are the people who built it and the people who answered for it afterwards.

The team

Next

Carrying something similar? Tell us what breaks if it isn’t right.

Get in touch