Isn’t vector tiles generated locally? A raster tile needs to be generated every time it changes.
Comment on Immich relies on a third-party service that seems shady to me
pcouy@lemmy.pierre-couy.fr 3 months agoQuoting one dev from the conversation I had on Discord :
the one run by OSM is not intended for general purpose use because that results in way too much load on their system. We used to use theirs, but as Immich grew we decided that we should relieve them of that
I guess you (and they) are talking about raster tiles, since OSM does not seem to provide vector tiles
meldrik@lemmy.wtf 3 months ago
helenslunch@feddit.nl 3 months ago
I don’t understand why it even needs to connect to OSM servers. Download the maps locally and plot the points locally.
I am not an IT expert though…
computergeek125@lemmy.world 3 months ago
OSM’s core tile servers have dozens of cores, hundreds of GB of RAM each, and the rendering and looks databases are a few TB. That’s not trivial to self host, especially since one self hosted tile server cannot always keep up with a user flick scrolling.
Dave@lemmy.nz 3 months ago
When I use Organic Maps, I download the parts of the map I need (my country). Is there a reason something like Immich couldn’t do something similar?
It’s hundreds of MB per map section, but I have hundreds of GB of photos so it would be a drop in the bucket.
Mubelotix@jlai.lu 3 months ago
Only reason is it’s hard to do
Zwiebel@feddit.org 3 months ago
TBF osm tile servers have the task of providing immediate feedback to the mappers editing osm. The immich map doesn’t need to update live, redrawing each tile like once a month would be fine
computergeek125@lemmy.world 3 months ago
A static PNG tile database for world.osm is even larger. Without a solid vector tile solution, this is the most efficient data format for disk space.
Also, there’s a post render CDN cache in front of the rendering layer to offset load, plus there’s I think some internal caching in renderd. It’s a pretty complex machine, but databases of the world are in fact huge.