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

Alternative way of serving region files #3541

Closed
4 tasks done
t83714 opened this issue Jun 19, 2024 · 3 comments
Closed
4 tasks done

Alternative way of serving region files #3541

t83714 opened this issue Jun 19, 2024 · 3 comments
Assignees

Comments

@t83714
Copy link
Contributor

t83714 commented Jun 19, 2024

Alternative way of serving region files

Our indexer module and frontend map-based filter require region files to supply information on all supported regions.

We offer a list of default region files via config here:

Users can configure those default region files via indexer Helm chart config (via appConfig, any config field can reached).

Those files are served from our AWS storage bucket.

We have the following issues with the current setup:

  • There is a cost involved when serving those files
  • We need to turn off the storage bucket service due to internal account consolidation

Proposed New Solution

  • Move default region files to a public repo and serve from the GitHub release
    • according to here and here, there is no limit on the total size of a release, nor bandwidth usage.
    • The only limit is "Each file included in a release must be under 2 GiB"
    • Free plan repo itself will have 10GB storage and 10GB transfer (repo transfer)
  • internal premium projects use GCS

Tasks

  • Create a public repo and manage region files using Git Large File Storage (Git LFS) due to size of each file
  • Create CI workshop to auto-release default region files manually release for now
  • Update Indexer Helm Chart document to make it clearer and encourage users to use their own region files that served from their own infrastructure
  • Update default region files URL for indexer & release a new version
@t83714
Copy link
Contributor Author

t83714 commented Jun 19, 2024

@staffordsmith83
Copy link

Working to create new repo for default region mapping files

@t83714 t83714 changed the title Alternative way of serving region mapping files Alternative way of serving region files Jun 20, 2024
@t83714
Copy link
Contributor Author

t83714 commented Jun 21, 2024

closed via PR: #3542

@t83714 t83714 closed this as completed Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants