Merge branch 'main' of github.com:hyperknot/openfreemap

This commit is contained in:
Zsolt Ero
2025-02-26 16:58:58 +01:00
5 changed files with 5 additions and 4 deletions

View File

@@ -80,7 +80,7 @@ The original idea of this project is to avoid using tile servers altogether. Ins
This replaces a running service with a pure, file-system-level implementation. Since the Linux kernel's file caching is among the highest-performing and most thoroughly tested codes ever written, it delivers serious performance. This replaces a running service with a pure, file-system-level implementation. Since the Linux kernel's file caching is among the highest-performing and most thoroughly tested codes ever written, it delivers serious performance.
I run some [benchmarks](docs/quick_notes/http_benchmark.md) on a Hetzner server, the aim was to saturate a gigabit connection. At the end, it was able to serve 30 Gbit on loopback interface, on cold nginx cache. I run some [benchmarks](docs/benchmark/README.md) on a Hetzner server, the aim was to saturate a gigabit connection. At the end, it was able to serve 30 Gbit on loopback interface, on cold nginx cache.
## Code structure ## Code structure

View File

@@ -1,3 +1,3 @@
# --- Let's Encrypt DNS challange, not needed for self-hosting # --- Let's Encrypt DNS challenge, not needed for self-hosting
dns_cloudflare_api_token = xxx dns_cloudflare_api_token = xxx

View File

@@ -3,7 +3,7 @@ import json
# This script parses a nginx server log and creates a text file # This script parses a nginx server log and creates a text file
# which can be used in the Lua script. # which can be used in the Lua script.
# The path file is not suppied in this repo. # The path file is not supplied in this repo.
with open('access.jsonl') as fp: with open('access.jsonl') as fp:
json_lines = fp.readlines() json_lines = fp.readlines()

View File

@@ -45,6 +45,7 @@ def run_planetiler(area: str) -> Path:
'--output=tiles.mbtiles', '--output=tiles.mbtiles',
'--storage=mmap', '--storage=mmap',
'--force', '--force',
'--languages=default,tok',
] ]
if area == 'planet': if area == 'planet':

View File

@@ -2,7 +2,7 @@ from ssh_lib import PLANETILER_BIN, PLANETILER_SRC
from ssh_lib.utils import apt_get_install, apt_get_update, exists, sudo_cmd from ssh_lib.utils import apt_get_install, apt_get_update, exists, sudo_cmd
PLANETILER_COMMIT = 'cf49b86' PLANETILER_COMMIT = 'ee22a014022f1dcc120cba6a768567408ba74908'
PLANETILER_PATH = f'{PLANETILER_BIN}/planetiler.jar' PLANETILER_PATH = f'{PLANETILER_BIN}/planetiler.jar'