By yggitteam
Hello i have 2 hosting with loadbalancer…
Before using loadbalancer, to server static content i use json or txt generate from localdatabase…
When i use LD i cant use same trick because when i update my json using link, it always update one json not both because of LD redirect to one of it…
I want to how you guys server static content? I prefer some way that cost less…
Because i have 2 hosting and 1 db hosting. So i prefer cheap way to do it, but if you think spend money is a must then its ok, i accept all input… Thx
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
The easiest solution that requires the least amount of overhead is to serve your static content from Spaces Object Storage. This way all of your static content is read, written, and served from a single location and you can also enable the built in CDN to improve download speeds for your users.
This also means you don’t have to worry about a particular droplet and access to the data, or how to update static files when you have multiple droplets as everything is written to a central location through a managed service.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.