jetelain / Arma3Map

Tool to display Arma 3 maps in a web browser using Leaflet
https://jetelain.github.io/Arma3Map/
33 stars 32 forks source link

Request for comment: Replace this repository by a web application ? #71

Closed jetelain closed 2 months ago

jetelain commented 11 months ago

Hi, This repository is becoming really huge, and wont be able to scale a lot more. Git LFS could be a solution, but GitHub pricing would make it very expensive.

I am considering to remplace this repository by a web application running on one of my existing server, with mirroring on existing OVH CDN hosting (maps-data.plan-ops.fr).

The web application would allow:

What do you think about this ? Do you see any alternative ?

Grezvany13 commented 6 months ago

My 2 cents:

Git LFS won't solve the problem, since there are no large files, just a massive amount. And the repository is just massive with the large amount of files (which makes it hard to push/pull).

Building a custom application might be a solution, but takes time and is either prone to errors/abuse or requires a lot of manual moderation.

My suggestion would be to split the repository into several parts:

A3Map can then have submodules to the terrains, so they're available, but can be maintained separately. And although I'm personally not a big fan of submodules, it's probably the best way to make it more maintainable at this scale.

jetelain commented 2 months ago

Thank you for the feedback. Using git at large scale for binary objects have performance issue that seems cant be solved. GitHub Pages have not been able to run for multiples years, because the checkout operation timeout. LFS would have the same issue, ad everything is downloaded again at each run.

Current infrastructure around git requires a lot of manual work. I think the moderation will be more easier.

I opted for the web application with the GameMapStorage project. It's up and running on https://atlas.plan-ops.fr/maps/arma3

The application is able to get data from this repo, or anything with similar structure. I dont known yet how I will manage moderation, keeping git repos as entry point for contribution could be an option.