[sword-devel] CrossWire mirroring
Andrew Thule
thulester at gmail.com
Mon Jan 7 14:51:29 MST 2013
If you think about Linux distributions, you see a number of approaches:
1 Software makes the mirror selection
2 User makes Mirror selection.
Given the clients cited above, only if the Software chooses the mirror are
coding changes necessary. The Software developer must also make decisions
about the mirrors are checked.
As long as Crosswire has policies in place govererning official mirrors
there should no no worries mirrors are out of sync, in which case preferred
mirror selection can be left to the user, and indeed mirror checking
behaviour configurable.
That said, I have no doubt there are clients out there that need better
support for mirror configuration. That's not going to happen until
Crosswire mirrors exist however.
~A
On Monday, January 7, 2013, Chris Burrell wrote:
> I concur with DM, the Sword/JSword/UIs would have to change. I've had that
> issue with having modules in both the normal repo and the (old?) beta
> repository. The frontends give a false impression as to which module came
> from which repository.
>
>
>
> On 7 January 2013 19:50, DM Smith <dmsmith at crosswire.org> wrote:
>
>
> On Jan 7, 2013, at 2:04 PM, Andrew Thule <thulester at gmail.com> wrote:
>
> Ok. In your example you have two levels of mirrors, root and banch.
>
> If we assume all mirrors are synced (exactly the same), the client (if it
> supports more than a preferred mirror) will check its mirrors in the order
> they are specified.
>
>
> This is precisely my point: Client software has to change.
>
>
> So in your case, Y will check A. D. and E. in that order (assuming it
> checks all of its configured mirrors)
> If all mirrors are exactly the same however, it doesn't need to check A.
> D. and E. It only needs to check A. If A is down, it will check D. etc.
>
> If a change is made at the top level however, say an ESV update, there is
> a propigation time it takes for the mirrors to catch up. With high volume
> Linux mirrors this is minutes. If Crosswire were to have mirrors, it might
> have a policy that says something like mirrors are to syncronise no more
> than 24 hours no less than 6.
>
> That means in your demonstration it may take A. D. and E. upto 24 hours to
> reflect the change. Unlike Linux distributions however, its likely there
> can be some tollerance for such propigation effects.
>
>
> In my case, B is licensed only to CrossWire for distribution. E is the a
> module which has been added to one mirror but not on the master, say the
> DSS. These two are not true mirrors.
>
> SWORD and JSword can be configured with multiple repositories. They handle
> them differently. But suffice it to say that they expect that a module is
> in one and only one repository. The behavior is undefined if it occurs in
> more than one.
>
>
> ~A
>
>
>
>
> On Mon, Jan 7, 2013 at 1:52 PM, DM Smith <dmsmith at crosswire.org> wrote:
>
> I guess I need more information on mirrors.
>
> Let's say that there are to mirrors X and Y. For what ever reason, X has
> A, B, C, D and Y has A, D, E. Software is configured to use Y. When it goes
> to get a list of files, what does it get? If it requests B, what does it
> get? Same questions for software configured for X and request for E.
>
> -- DM
>
>
> On Jan 7, 2013, at 1:06 PM, Andrew Thule <thulester at gmail.com> wrote:
>
> My experience with mirrors is that mirrors are done at the level of the
> Operating Systems. Tools like 'rsync', 'lsync', 'chron' etc manage the
> integrity and distribution of these things.
>
> That said, I think what you're saying is that you believe the Sword client
> needs some additional support to support mirrors, and I don't think that's
> entirely true. It may be that support for mirrors would be better
> accomplished through additional patches, but as it stands now I get all of
> Crosswire's modules as a proxy through either my public or private repo for
> the very simply reason it's safer for me to do so.
>
> I have no trouble getting Sword/Crosswire modules from a 'mirror' (as a
> proxy), technically which means most clients (though perhaps not all) can
> manage this.
>
> So I'm speaking specifically about Bibletime, Xiphos, Alkitab,
> PocketSword, and Eloquent. If there are other clients out there, and
> Crosswire pursues 'mirrors', that decision will influence development.
>
> ~A
>
>
> On Mon, Jan 7, 2013 at 12:55 PM, DM Smith <dmsmith at crosswire.org> wrote:
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20130107/c745ba11/attachment.html>
More information about the sword-devel
mailing list