From: mishkin@atria.com (Nathaniel Mishkin)
Subject: Re: [DCE] unexporting/unregistering servers
Date: Sat, 18 Sep 1993 00:59:42 GMT [thread overview]
Message-ID: <CDIyrJ.EH3@atria.com> (raw)
In-Reply-To: THUAN.93Sep17151204@hpltp.hpl.hp.com
Thuan Q. Pham (thuan@hpltp.hpl.hp.com) wrote:
: If you want to do clean up (which we should), call the unexport routines.
: These are very similar to the export routines you call when you set the
: server up:
: quitServer()
: {
: rpc_ep_unregister() /* clean up the local endpoint mapper */
: rpc_ns_binding_unexport() /* unregister the interface from name space */
: rpc_binding_vector_free() /* if you still have binding vectors around */
: }
There is a school of thought that says that unexporting a server from
the CDS namespace is not necessarily such a good idea because in the
case of replicated directories the unexport operation (actually all
modifying operations) is moderately expensive (induces propagation
load). And (so goes the school), why bother anyway? In case the
server's whole machine crashed, the "cleanup" won't happen, thus all
clients must be prepared to deal with "bad" entries anyway. How about
unexporting as a "favor" to clients (to minimize the latency
associated with discovering the bad entries) then? Now we're into
more subjective territory. Arguably if clients did a reasonable job
of long-term caching server "goodness" information (i.e., remembered
not to try to access servers observed to be bad within some interval
of time), then server's unexporting wouldn't be such a favor (and
would have that nasty replication overhead).
Of course one could wish that replication were cheaper.
--
-- Nat Mishkin
Atria Software, Inc.
mishkin@atria.com
next prev parent reply other threads:[~1993-09-18 0:59 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
1993-09-17 19:58 [DCE] unexporting/unregistering servers Scott Cooper
1993-09-17 23:12 ` Thuan Q. Pham
1993-09-18 0:59 ` Nathaniel Mishkin [this message]
1993-09-19 15:30 ` Lee Sailer
1993-09-20 16:25 ` Rich Salz
1993-09-21 6:27 ` Bjorn Hell Larsen
1993-09-21 15:54 ` Rich Salz
1993-09-21 21:50 ` Thuan Q. Pham
1993-09-22 6:49 ` Bjorn Hell Larsen
1993-09-23 13:17 ` Nathaniel Mishkin
1993-09-23 18:49 ` Thuan Q. Pham
1993-09-24 14:15 ` Nathaniel Mishkin
1993-09-24 15:38 ` Jon Mauney
1993-09-26 18:48 ` Nathaniel Mishkin
1993-09-22 13:53 ` Rich Salz
1993-09-23 6:41 ` Bjorn Hell Larsen
1993-09-23 14:03 ` Rich Salz
1993-09-23 13:20 ` Nathaniel Mishkin
1993-09-23 18:38 ` Rich Salz
1993-09-24 14:06 ` Nathaniel Mishkin
1993-09-25 14:35 ` Lee Sailer
1993-09-21 12:25 ` Nathaniel Mishkin
1993-09-20 16:00 ` Greg Brail
1993-09-21 6:18 ` Bjorn Hell Larsen
1993-09-21 15:28 ` Greg Brail
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox