The "mirror" function of G1 should be expanded and
altered a little bit, both for G1 and G2.
Basically, gallery should provide mirroring and load
balancing, with some flexibility.
The user would configure 1 or more "alternate" image
locations (currently called mirrors). He would also
have the option of considering the primary in the list
or ignoring it (ie, ignore if on DSL, use if hosted in
a real environment).
On setups where the configuration has more than 2
"alternates" (including if they primary site is
considered viable) a drop-down list on the main site
would be available and have the option of all, mirror 1
and mirror 2. All would be load balanced, gallery
pulls every Nth image from one mirror vs. another.
Specifying one or the other mirror would pull from that
There are many benefits to this. Anyone with more than
one "alternate" OR one alternate and a viable primary
site can benefit from load balancing AND at the same
time, possibly provide two locations for the user to
pull images from. This would be especially useful if
the user had alternate images on a server in europe,
asia or somewhere far away from his main server. Then,
any visitor finding images loading slow can choose to
use one closer to him/her.
The admin should be able to allow alternates to even be
picked (some may want to force load balanced) and
should also be allowed to pick the default (load
balanced "all" or one of the specified mirrors).
Log in to post a comment.