Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace findthatpostcode with our own self-hosted postcodes.io #342

Closed
mbarton opened this issue Oct 30, 2024 · 1 comment
Closed

Replace findthatpostcode with our own self-hosted postcodes.io #342

mbarton opened this issue Oct 30, 2024 · 1 comment
Assignees

Comments

@mbarton
Copy link
Member

mbarton commented Oct 30, 2024

We have noticed variable performance on findthatpostcode.uk, sometimes up to 10 seconds for a single request. This is fine because we are of course not paying for it! However in practice that's likely to be too slow for our users.

We have discussed creating a self-hosted instance of postcodes.io. We moved away from that provider in E12 as it seemed less up to date than findthatpostcode but since then they have made multiple releases and should now be up to date as of August 2024.

It's now up and running at https://api.rcpch.ac.uk/postcodes (API key required).

We will migrate in two steps

  1. Create new settings that when set use our postcodes.io
  2. Remove the old findthatpostcode code path

That way we're rollback safe and won't immediately break everyones local dev environments

@eatyourpeas
Copy link
Member

I think this is now done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants