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

Don't put all images in a single folder #27

Open
jahands opened this issue Jul 2, 2018 · 0 comments
Open

Don't put all images in a single folder #27

jahands opened this issue Jul 2, 2018 · 0 comments

Comments

@jahands
Copy link

jahands commented Jul 2, 2018

I've been hosting large maps and have found that storing 100k files in a single folder is not great - file systems aren't very good at that.

I've been using a custom version of the mod that uses Z/X/Y instead of Z_X_Y and have had noticeable improvement with moving them around.

It also makes it a lot easier to host them because I can easily cache the lower zoom levels while loading higher levels directly from object storage (b2). My script does this by listing the zoom levels for a save, which is just a few folders. Rather than having to list all files to figure out how many zoom levels there are (expensive). (Yes I could parse index.html but that's harder than listing subfolders in /Images/)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant