• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space

Multiserver

Status
Not open for further replies.

imgs

Chevereto Member
Would it be possible that incorporating multiserver. So that, the images are uploaded to multiple servers?
img1.domain.com
img2.domain.com
img3.domain.com
 
All the author need to do is to let us add multiple CDN URL with weighted round robin setting (from 1-100)
For example:

CDN URL1: cdn1.url.com weight: 0.01 (never rotate)
CDN URL2: cdn2.url.com weight: 60 (being used most of the time)
CDN URL3: cdn3.url.com weight: 30 (rotate mix with cdn2)
CDN URL4: cdn4.url.com weight: 30 (rotate mix with cdn2)

That's all. As for the server admin's task, all he has to do is to setup Nginx Reverse Proxy or Squid and set up caching parameters correctly -- this is exactly how CDN system work.
 
... all he has to do is to setup Nginx Reverse Proxy or Squid and set up caching parameters correctly -- this is exactly how CDN system work.
I dont think he wants forward all the traffic through the reverse proxy. Makes no sense.


EDIT: I think he want somethink like a load balancing.
 
Yeah but what I mean is that the author can simply add the option to have multiple CDN url* to the app, so it will automatically serve images according to the weighted round robin parameters.

Then he can reverse proxy, or he can make a perfect mirror of his image site. Either way, it works exactly as a load balancing.

Easy on the author, still do the job of "load balancing"
 
Yeah but what I mean is that the author can simply add the option to have multiple CDN url to the app, so it will automatically serve images according to the weighted round robin parameters.

Then he can reverse proxy, or he can make a perfect mirror of his image site. Either way, it works exactly as a load balancing.

Much easier with a cluster file system ( like I do). The image is available on every server auomatically without any changes to Chevereto.
I just need to create a own "share script" which redirect to the server with the most available ressources at the moment or nearest location to the user.
 
True, I know of GlusterFS.

Reverse Proxy actually give me the ability to buy cheap virtual server (at often, 30$/year price, with up to 2TB/month and some 50GB of space) to load balance without having the full collection of my image being available on the very own server, only the most popular files, automatically determined by the reverse proxy itself.

Additionally, Reverse Proxy let me deploy cloud server on demand (DigitalOcean for example) if needs arise in just minutes to cope with the sudden surge -- once again, without having to move that 700GB of the entire library and pay additional storage cost.
 
Last edited:
Status
Not open for further replies.
Back
Top