Comment on Introducing reitti: a selfhosted alternative to Google Timeline
danielgraf@discuss.tchncs.de 2 days agoI have no clue if a raspberry will handle it. There a a couple of services involved to make it fast, but they are then another burden like RabbitMQ. Which make ingesting data instantaneous but you need extra processing power to handle the queues. It all comes with a tradeoff.
For size, there is mainly the PostGIS DB. I just checked and my db is around 800 MB for roughtly 8 1/2 Years of data.
Photon (the reverse geocode enabled in the compose file) is another beast. For Germany it takes 14 GB of storage while running, if you let PARALLELL updates enabled you can double that every time the index is updated. But you can remove that from the compose file and rely on external Geocoders. It is described in github.com/dedicatedcode/reitti?tab=readme-ov-fil…
Zagorath@aussie.zone 1 day ago
Oh interesting. I’ve just read through that link, and I was assuming that something similar to the “external only” option would have been the only way it worked. More specifically, I thought it’d just store a list of historical points and display those on an OSM overlay. But it seems like even “external only” is much more involved than that.
What happens with self-hosted Photon if you specify a country, but then also visit another country? (I assume in hybrid mode it’s as simple as "use Photon in your country, use Nominatim otherwise?)
But yeah, definitely sounds like a Pi is probably not gonna cut it. I’ll have to see if my Synology can do it, or if the weird OS restrictions Synology imposes prevent it.
danielgraf@discuss.tchncs.de 1 day ago
If you use Photon and only have your main country available, it will fallback to the configured external Geo-coding-services since Photon will not return a result then. So the order of execution is:
Zagorath@aussie.zone 1 day ago
Is that true even if you’re not in hybrid mode?
danielgraf@discuss.tchncs.de 1 day ago
Photon Only: you have only photon configured and under
Settings > Gecoding
you deleted or disable every available service. Hybrid Mode: Photon is configured and underSettings > Geocoding
there are Services available. That es is the one I use. Having Photon with the data for Germany and all the rest is handled by Geoapify.com. External Only: You dropped Photon from the docker-compose file and only rely on services underSettings > Geocoding
If you do not configure anything, then Reitti will skip Geocoding and only display Unknown Place.
I will update the Readme to make that clear.