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

Updates config for tiler seed and purge #435

Merged
merged 3 commits into from
Dec 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion images/tiler-cache/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/openhistoricalmap/tiler-server:0.0.1-0.dev.git.1913.ha63e895
FROM ghcr.io/openhistoricalmap/tiler-server:0.0.1-0.dev.git.1920.h4abe268

RUN apk update && apk add --no-cache \
proj \
Expand Down
14 changes: 7 additions & 7 deletions values.production.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -929,24 +929,24 @@ ohm:
env:
REGION_NAME: us-east-1
NAMESPACE: default # Namespace to run the job
DOCKER_IMAGE: ghcr.io/openhistoricalmap/tiler-server:0.0.1-0.dev.git.1913.ha63e895 # TODO, this should be automatically updated from tiler server image
DOCKER_IMAGE: ghcr.io/openhistoricalmap/tiler-server:0.0.1-0.dev.git.1920.h4abe268 # TODO, this should be automatically updated from tiler server image
SQS_QUEUE_URL: {{PRODUCTION_SQS_QUEUE_URL}}
NODEGROUP_TYPE: web_large # Nodegroup type to run the job
NODEGROUP_TYPE: job # Nodegroup type to run the job
# Maximum number of active jobs in high concurrency queue
MAX_ACTIVE_JOBS: 10
DELETE_OLD_JOBS_AGE: 7200 # 2 hours
## Execute purging
EXECUTE_PURGE: true
PURGE_CONCURRENCY: 64
PURGE_MIN_ZOOM: 7
PURGE_MAX_ZOOM: 17 # Purging zoom 18,19,20 takes hours to complete,we are going to remove direct from s3 the tiles for zoom 19-20
PURGE_MAX_ZOOM: 15 # Purging zoom 16,17,18,19,20 takes hours to complete,we are going to remove direct from s3 the tiles for zoom 19-20
## Execute seeding
EXECUTE_SEED: true
SEED_CONCURRENCY: 64
SEED_MIN_ZOOM: 3
SEED_MIN_ZOOM: 0
SEED_MAX_ZOOM: 14
## Remove tiles from s3 for zoom levels
ZOOM_LEVELS_TO_DELETE: 18,19,20
ZOOM_LEVELS_TO_DELETE: 16,17,18,19,20
S3_BUCKET_CACHE_TILER: tiler-cache-production
S3_BUCKET_PATH_FILES: mnt/data/osm
resources:
Expand All @@ -967,8 +967,8 @@ ohm:
enabled: true
schedule: '0 */3 * * *'
env:
GEOJSON_URL: https://osmseed-dev.s3.us-east-1.amazonaws.com/tiler/eu-lat.geojson
ZOOM_LEVELS: '8'
GEOJSON_URL: https://osmseed-dev.s3.us-east-1.amazonaws.com/tiler/usa-eu.geojson
ZOOM_LEVELS: '8,9,10'
CONCURRENCY: 200
S3_BUCKET: osmseed-dev
OUTPUT_FILE: /logs/tiler_benchmark.log
Expand Down
Loading