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

Move ZIP code data into binary (?) #43

Open
adewes opened this issue Dec 4, 2021 · 0 comments
Open

Move ZIP code data into binary (?) #43

adewes opened this issue Dec 4, 2021 · 0 comments
Assignees

Comments

@adewes
Copy link
Member

adewes commented Dec 4, 2021

Given that the zip code data is not very large we could as well move it directly into the Kiebitz binary instead of storing it in the database. The io.FS and embed functionality allows us to easily include this data in the binary and load it into memory at the startup of the server. This would reduce the operational complexity at the expense of a slightly larger binary.

@tauli tauli self-assigned this Dec 7, 2021
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