-
-
Notifications
You must be signed in to change notification settings - Fork 69
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
Questions about self-hosting requirements #32
Comments
There is nothing about 4 GB in particular, I just wasn't sure what can a 1 or 2 GB server handle these days. If you can make it run on a 1 GB or a 2 GB machine, please let me know. Maybe I'll just change it to 1 GB. The HDD should be perfectly fine, it's just I tried it on NAS HDD and it took like a day to simply uncompress this file. But I think there might have been something else on that VPS, as it's crazy that it took that long. So in summary, I think this should work fine even on a Raspberry Pi with a USB HDD, but I haven't tried it. |
I updated the docs |
Thank you! Also something that happened to me, that I can make a pull request if you agree.
I had |
Managed to change it manually with success.
|
I'm fixing it properly now. Can you post the hardware specs of the server, just out of interest? How much RAM was needed? |
I'm running it successfully on a €4.5 Contabo Storage VPS. I would like to run the benchmark you have on the repository, but it isn't uploaded during setup and I haven't been able to run it. Have tried to run first Will do the setup again after the tiles endpoint fix, to pay close attention to the RAM needs on that stage. |
Thanks for pointing out the Contabo VPS, it's an amazing deal, I've added a note about it to the self-hosting readme. Yes, the path list is made from a real-world tile server, and back then I couldn't find a way to de-anonymize server logs, so that's missing for you. Now there is so much random traffic, that I think I could share a sample of the real-world server log. |
Managed to adapt the benchmark script to run and also wrote a script to generate 500k random url strings (not sequential), for .pbf files. From my machine in Portugal, on a 1Gbps/200Mbps connection, running: With an nginx cache reset before, it gets:
Not sure if this is 'scientific accurate', but performance seems good. Also kept an eye with Haven't been able to run it on the host, not sure why. Maybe localhost or domain are 'not open'. |
It's important to run this on localhost, not over full network, otherwise you are just testing your internet speed. I've reworked the whole benchmarking docs. Can you check the updated docs, and posts why it doesn't work? |
Managed to run the benchmark on localhost. First, Second, in the And to speed up, passed the Results, of running
Should test it with a real world sample if you can provide one, as I don't have yet real usage server logs. |
Yes, 1200 reqs doing 1 MB is mostly just ocean tiles, probably not relevant to real world. Once there is some realistic load on OpenFreeMap it'll be possible to have anonymised logs, but currently it's not possible while keeping user's privacy. Your best idea would be to just scroll around the map and record the tiles. |
Hi,
First of all, great project @hyperknot! :)
I'm considering self-hosting an instance on a storage VPS, but after going through the docs and benchmarks, have a few questions about requirements if you don't mind:
Thank you!
The text was updated successfully, but these errors were encountered: