Skip to content
oslew
Get a free key

Enterprise

Data residency: where each kind of data lives

Data residency for a geocoding API covers more than stored results: queries, logs, keys, account records and uploaded files each have a location of their own. In oslew, a single request’s text survives only in normalised, partly masked form in a query log that is written only where it is configured to go, keys and accounts sit in a Postgres control plane or a published snapshot, batch files sit in a store that can be named, and operator feeds never leave pod memory. Where the hosted service runs is set out in an Enterprise agreement.

Last reviewed

A residency question from a data-protection officer or a regulator is usually one sentence: where is personal data stored and processed? For a location API the honest answer is a list, because the personal data is not where most people look for it. The coordinates and addresses in an answer come from open data. The personal data is what customers send in, and what the service writes down about them.

The index holds no customer data

The addresses, places, roads and boundaries oslew answers from are built offline from open-data releases, and nothing a customer sends is written into them. Where the index sits — a local directory, or an object store read by range — is a question about performance and licensing, not about personal data. The licensing page covers what may be kept from it.

Record by record

Record What is kept Where it lives
Query text Nothing as text. At most, normalised words with every digit-bearing word masked, and the context after the last comma. Only inside query-log events, wherever the log is written.
The query log One event per request, attributed to the customer account and never to a person, with positions reduced to cells a couple of kilometres across. A directory or an object store named in configuration; nowhere, when none is named.
API keys A hash of each key, with its visible prefix in the control plane; a key file, where one is used, holds the secrets as written. The Postgres control plane, a snapshot published to an object store, or a key file.
Account records Accounts, their members, plans, subscriptions, audit entries and monthly usage. The Postgres control plane.
Batch uploads and results The whole uploaded file and every result part, until the job is deleted. The index’s own store, or a separate batch store.
Operator feeds The latest traffic or GTFS-Realtime feed a pod was sent. That pod’s memory, and nowhere else.
Console sign-in email A single-use link addressed to a member. Sent through the configured SMTP server; with none, written to the server’s error output instead of mailed.

The same, as the code states it:

  • The query log is off unless GEO_QUERY_LOG names a directory or GEO_QUERY_LOG_STORE names an object store.
  • The control plane is Postgres and holds tenants, people and memberships, plans and subscriptions, API keys as SHA-256 hashes, sign-in links as hashes, an audit log, monthly usage roll-ups and invoices.
  • With a published snapshot, a serving pod holds no database connection at all and polls a small pointer object once a second.
  • Batch jobs — the uploaded file, the result parts and the job’s state — are written to the index’s own store, or to GEO_BATCH_STORE when it is set.
  • Operator feeds — live traffic and GTFS-Realtime — live only in the memory of the pod that received them.

Two rows deserve a second look. The batch store is the only place a customer’s full addresses sit, so it is the store whose location matters most; in a deployment of your own it can be named separately from the index, so that it lands in a bucket you control. And the control plane holds the email addresses of the people who manage each account, because members sign in with them. The security page explains what the query log is built not to hold and how keys are protected, rather than where they sit.

What travels on the request path

A request is admitted and answered inside one pod, without a round trip to the control plane:

  • Admitting a request never waits on the control plane: a pod answers from an in-memory snapshot of live keys that is refreshed in the background.

So the database holding accounts does not need to be near the pods, and in a deployment serving from a published snapshot it need not be reachable from them at all. Three optional features can send something beyond the deployment, and each is off or replaceable. The device-location fallback sends beacon identifiers to a commercial vendor, but only when a deployment configures one and no loaded feed knows the device’s beacons. The map style points map clients at MapLibre’s public demo server for label fonts, a request that carries no query but does leave the network unless the style is rewritten. And sign-in email goes wherever the SMTP server sends it. Air-gapped deployment shows each one switched off.

By deployment option

Option Pods and index Query log, batch files and keys
Hosted API Run by oslew. The region and provider that apply to a customer are set out in an Enterprise agreement, not published on this site. In the stores oslew runs for the hosted service, whose location is part of the same agreement.
Dedicated Pods and a store serving one customer only, wherever that deployment is agreed. Their own log location, batch store and key source, shared with no other customer.
In a chosen region Pods beside an object store in one region, reading place and address segments by range. Log and batch files in that region’s store; keys from a snapshot there, so pods need no database connection.
In your cloud account Your pods, your bucket, your credentials. Wherever you point them inside your account; oslew’s systems are not on the path.
On your own hardware The index on local disk, held in memory. A local log directory or none, a local batch store, and keys from a shared token or a local control plane.

What each option depends on, and the caveats that come with it, are on the sovereign hosting page; this table only answers where things are. Every option other than the hosted API is arranged on request.

Limits stated plainly

  • This site does not name the hosted service’s region or cloud provider; an Enterprise agreement does.
  • Encryption at rest is whatever the chosen disk or object store provides. The service adds none of its own.
  • Batch files have no automatic expiry. They leave the batch store when the job is deleted, and the job’s record — its id, state, counts and times — stays.
  • The context after a query’s last comma is kept in the log as sent, so a postcode sent as context sits wherever the log sits.
  • No region, cloud or provider is promised for a dedicated deployment in advance; each is agreed with you.

Bottom line

Personal data reaches oslew in two forms: the queries customers send, and the people who sign in to manage accounts. Queries are reduced before anything is written and stored in full only as batch files; people live in the control plane. Each of those stores has a location you can choose in a deployment of your own, and the hosted service’s is written into an Enterprise agreement. To ask about a specific jurisdiction, write to the enterprise address on the contact page.

Questions

Where does oslew process geocoding queries?

In the memory of the serving pod that answers them. For the hosted service, the region and provider that apply to you are set out in an Enterprise agreement rather than published here. In a dedicated deployment the pods run wherever the deployment was agreed: a chosen region, your own cloud account or your own hardware.

Does oslew store the addresses we send?

Not from ordinary requests. The query log, where one is configured, holds a query only as normalised words with digits masked, plus the context after the last comma. A batch job is different: it keeps the uploaded file whole, in the batch store, until the job is deleted.

Can all of our oslew data stay in one country?

With a deployment of your own, yes. On request, the index, batch files, query log and keys can all sit in object storage in one region beside the pods that serve them, in your own cloud account, or on your own hardware, so nothing a request carries has to leave that jurisdiction, provided the optional device-location vendor is left unconfigured.

Where are API keys and account details kept?

In a Postgres control plane, which holds tenants, people and memberships, plans, key hashes, an audit log and usage roll-ups. Serving pods can instead read keys from a snapshot published to an object store, or from a file, and then hold no database connection at all.

Is the email address used for console sign-in stored?

The control plane records the people who belong to each account, so their addresses are kept there. The sign-in links sent to them are stored only as hashes, and they travel through whichever SMTP server the deployment is configured with.

Browse every page →