linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Timothy Miller <miller@techsource.com>
To: Andrea Arcangeli <andrea@suse.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>,
	Davide Libenzi <davidel@xmailserver.org>,
	Larry McVoy <lm@bitmover.com>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: kernel.bkbits.net off the air
Date: Tue, 11 Nov 2003 10:26:28 -0500	[thread overview]
Message-ID: <3FB0FFA4.3060107@techsource.com> (raw)
In-Reply-To: 20031110234108.GG6834@x30.random

Please pardon my late intrusion into this discussion of what appears to 
be CVS mirror coherency.  The impression I get, which may be wrong, is 
that one or both of these problems is happening:

- A user is pulling from one CVS mirror, but that mirror is in the 
process of being updated from the BK source, so the user gets some new 
files and some old ones.

- A user is pulling from more than one CVS mirror at the same time, and 
not all mirrors are at the same revision level.


Either way, and I would not be surprised if someone else had suggested 
this already, but being a graphics person, let me suggest a common 
technique for dealing with this problem:  double-buffering.


Let's assume a combination of the two above cases, because the general 
solution applies to all cases.

To begin with, all mirrors serve from the "front buffer", all of which 
are known to be at the same revision level for all files.  While serving 
the front buffers, the "back buffers" are being updated.

At a prescribed time, all servers go off-line (to deal with 
asynchronicity between clocks), swap the front and back buffers, and 
then go back online.

The synchronization problem can be dealt with either by having everyone 
have their clocks set relatively close but go offline for a few seconds 
just in case there is some drift, or there can be a master server which 
signals the others when to swap buffers.



  reply	other threads:[~2003-11-11 15:17 UTC|newest]

Thread overview: 120+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-07  5:10 kernel.bkbits.net off the air Larry McVoy
2003-11-07  9:53 ` Clemens Schwaighofer
2003-11-09 15:16 ` H. Peter Anvin
2003-11-09 15:25   ` Larry McVoy
2003-11-09 15:42     ` Davide Libenzi
2003-11-09 16:25       ` Larry McVoy
2003-11-10  1:21         ` Davide Libenzi
2003-11-10 13:26       ` Andrea Arcangeli
2003-11-10 16:49         ` Davide Libenzi
2003-11-10 16:57           ` Andrea Arcangeli
2003-11-10 17:54             ` Davide Libenzi
2003-11-10 17:59               ` H. Peter Anvin
2003-11-10 18:27                 ` Davide Libenzi
2003-11-10 18:37                   ` Andrea Arcangeli
2003-11-10 18:52                     ` Davide Libenzi
2003-11-10 19:08                     ` H. Peter Anvin
2003-11-10 19:23                       ` Davide Libenzi
2003-11-10 19:31                       ` Andrea Arcangeli
2003-11-10 19:42                         ` H. Peter Anvin
2003-11-10 23:41                           ` Andrea Arcangeli
2003-11-11 15:26                             ` Timothy Miller [this message]
2003-11-11  3:10                           ` Davide Libenzi
2003-11-11  3:25                             ` H. Peter Anvin
2003-11-11  3:48                           ` jw schultz
2003-11-11  4:03                             ` Davide Libenzi
2003-11-11  7:34                             ` Davide Libenzi
2003-11-11 15:00                               ` Andrea Arcangeli
2003-11-14  5:13                         ` Andrew Pimlott
2003-11-14 14:01                           ` Andrea Arcangeli
2003-11-14 14:53                             ` Larry McVoy
2003-11-14 15:28                               ` Andrea Arcangeli
2003-11-14 18:20                             ` H. Peter Anvin
2003-11-10 18:37                   ` David Roundy
2003-11-10 18:46                   ` Andreas Dilger
2003-11-09 19:28     ` H. Peter Anvin
2003-11-10  1:59       ` Matt Mackall
2003-11-10  2:38         ` H. Peter Anvin
     [not found] <fa.na6uip6.p2erhm@ifi.uio.no>
     [not found] ` <fa.dbkbts9.1k7ohhd@ifi.uio.no>
2003-11-11  4:00   ` walt
2003-11-11  7:22     ` Davide Libenzi
2003-11-11  7:37       ` Nick Piggin
2003-11-11  7:47         ` Davide Libenzi
2003-11-11 15:04         ` Andrea Arcangeli
2003-11-12 21:35           ` Benoit Poulot-Cazajous
2003-11-13 14:53             ` Andrea Arcangeli
2003-11-13 15:23               ` Andreas Schwab
2003-11-13 16:09                 ` Andrea Arcangeli
2003-11-13 16:29                 ` Larry McVoy
2003-11-13 16:39                   ` Andrea Arcangeli
2003-11-13 22:09                 ` Benoit Poulot-Cazajous
2003-11-11 15:02     ` Andrea Arcangeli
     [not found] <fa.eto0cvm.1v20528@ifi.uio.no>
     [not found] ` <fa.onl48uv.1tmeb21@ifi.uio.no>
2003-11-11 14:14   ` walt
2003-11-11 14:38     ` Andrew Walrond
2003-11-11 15:05       ` Andrea Arcangeli
2003-11-11 19:43       ` H. Peter Anvin
2003-11-11 20:21         ` Andrew Walrond
2003-11-11 20:38           ` Davide Libenzi
2003-11-11 23:52           ` Larry McVoy
2003-11-12  0:19             ` Andrea Arcangeli
2003-11-13 10:10             ` Andrew Walrond
2003-11-13 16:27               ` Larry McVoy
2003-11-13 16:43                 ` Mark Mielke
2003-11-13 17:14                 ` Davide Libenzi
2003-11-13 17:20                   ` Larry McVoy
2003-11-14  3:01                     ` Davide Libenzi
2003-11-13 18:21                   ` Tupshin Harper
2003-11-14  7:14                     ` Jan-Benedict Glaw
2003-11-14  9:48                       ` Tupshin Harper
2003-11-14  9:56                     ` Geert Uytterhoeven
2003-11-14 21:51                       ` Jan-Benedict Glaw
2003-11-14 22:55                       ` Roman Zippel
2003-11-13 19:17                 ` Andrew Walrond
2003-11-13 19:28                   ` Larry McVoy
2003-11-13 20:57                     ` Andrew Walrond
2003-11-13 21:17                       ` Sam Ravnborg
2003-11-14 14:54                         ` Larry McVoy
2003-11-14 15:00                       ` Larry McVoy
2003-11-14 16:24                         ` Andrew Walrond
2003-11-14 16:46                           ` Larry McVoy
2003-11-14 17:34                             ` Andrew Walrond
2003-11-14 17:43                               ` Larry McVoy
2003-11-14 18:17                                 ` Andrew Walrond
2003-11-16  5:12                                 ` Sven Dowideit
2003-11-18 15:30                                   ` Larry McVoy
2003-11-18 18:30                                     ` Ben Collins
2003-11-18 18:42                                       ` Larry McVoy
2003-11-18 22:53                                         ` Sven Dowideit
2003-11-19  0:24                                         ` Andrew Walrond
2003-11-19  0:38                                           ` Daniel Jacobowitz
2003-11-19 10:26                                             ` Andrew Walrond
2003-11-19  0:49                                           ` Larry McVoy
2003-11-19 10:45                                             ` Andrew Walrond
2003-11-18 18:42                                       ` Timothy Miller
2003-11-14 16:35                         ` Davide Libenzi
2003-11-14 16:48                           ` Larry McVoy
2003-11-14 17:03                             ` Davide Libenzi
2003-11-14 17:04                               ` Larry McVoy
2003-11-14 17:08                                 ` Davide Libenzi
2003-11-14 17:10                                   ` Larry McVoy
2003-11-16  4:57                                     ` H. Peter Anvin
2003-11-13 21:54                     ` Eli Carter
2003-11-13 23:32                 ` Daniel Egger
2003-11-14  9:56                   ` Nick Piggin
2003-11-14 11:38                     ` Daniel Egger
2003-11-15  3:02                       ` Nick Piggin
2003-11-15  3:22                         ` Linus Torvalds
2003-11-15  3:41                           ` Davide Libenzi
2003-11-15  3:49                             ` Linus Torvalds
2003-11-15  4:04                               ` Davide Libenzi
2003-11-15 21:09                         ` Daniel Egger
2003-11-18  9:59                 ` Pavel Machek
2003-11-18 15:01                   ` Larry McVoy
2003-11-13  0:45           ` Ryan Anderson
2003-11-13 12:59 Samium Gromoff
2003-11-13 14:44 ` Jan Harkes
2003-11-15  1:06 Carl-Daniel Hailfinger
2003-11-15  1:09 ` H. Peter Anvin
2003-11-15 10:53   ` Frank Cusack
     [not found] <fa.gj5f2rq.1u42v9u@ifi.uio.no>
     [not found] ` <fa.d7qik9h.1q644ip@ifi.uio.no>
2003-11-17  0:49   ` walt
     [not found] <QHxm.193.21@gated-at.bofh.it>
     [not found] ` <ROZW.3X0.17@gated-at.bofh.it>
     [not found]   ` <RPt5.4TS.9@gated-at.bofh.it>
     [not found]     ` <RQ5t.69U.7@gated-at.bofh.it>
     [not found]       ` <RQf8.6tb.9@gated-at.bofh.it>
     [not found]         ` <Snut.2iY.7@gated-at.bofh.it>
     [not found]           ` <Tg7E.7ST.11@gated-at.bofh.it>
     [not found]             ` <TiVJ.4ko.11@gated-at.bofh.it>
     [not found]               ` <Tj5w.4yi.25@gated-at.bofh.it>
2003-11-18 19:38                 ` Pascal Schmidt
2003-11-19 14:49                   ` Larry McVoy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3FB0FFA4.3060107@techsource.com \
    --to=miller@techsource.com \
    --cc=andrea@suse.de \
    --cc=davidel@xmailserver.org \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lm@bitmover.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).