From: ted@hpcc34.corp.hp.com (Ted W. Larson)
Subject: Re: DCE Questions.
Date: 1 Feb 1994 18:13:14 GMT [thread overview]
Message-ID: <2im63q$rdf@hpscit.sc.hp.com> (raw)
In-Reply-To: mauney.760106728@adm
In article <mauney.760106728@adm>, mauney@adm.csc.ncsu.edu (Jon Mauney) writes:
> muppidi@cs.tamu.edu (Shridhar R Muppidi) writes:
>
.........stuff deleted.....
>
> >2. Is it possible to have same server code running on
> > different processors/hosts? A perfect example is a
> > parallel machine. Lets say that a client requires
> > service and contacts the CDS and gets the address of
> > the host providing the service. Now a different client
> > needs the same service - is it possible to provide the
> > same service on a different processor/host. If 'yes' how
> > does the CDS know about it and direct the new client to the
> > new host?
>
> Yes. Two points:
> You can have multiple servers all providing the same service,
> on different hosts. The CDS will have all of them in its
> database. Queries to the CDS should be viewed as producing
> a list of possible servers, from which the client chooses one
> based on its own criteria. Clients that use the auto_handle
> method of binding will choose a server "at random" and be
> evenly distributed among the servers. ^^^^^^^^^
> ^^^^^^^
Even distribution is not the case. At random is. There
is no load balancing in CDS to guarantee that your clients
will be evenly distributed to different servers. In fact, if
you store all of your server bindings in one place in the CDS,
it is quite possible that all of your clients will find one
server and not the other, since the selection process is
completely random. The best way to get around this problem is
to build some smarts into your client so that your clients
use different CDS entries based upon some geographic region
or something like that, and then have them back off to other
servers if the primary is down. If you want load balancing,
you will need to use something like the Encina Transaction Monitor.
- Ted Larson
HP Corporate Network Services
Client/Server Tools Group
ted@corp.hp.com
next prev parent reply other threads:[~1994-02-01 18:13 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-01-31 16:55 DCE Questions Shridhar R Muppidi
1994-02-01 9:42 ` Bernd Dreier
1994-02-01 12:45 ` Jon Mauney
1994-02-01 18:13 ` Ted W. Larson [this message]
[not found] ` <2itvfm$77t@ftn.ftn.us-ny.citicorp.com>
1994-02-06 12:33 ` Manfred Scheible
1994-02-03 21:46 ` Reilly F. Hayes
1994-02-09 16:23 ` Jamison H Abbott
1994-02-10 17:41 ` Seiichi Tatsukawa
1994-02-08 17:04 ` Rich Salz
-- strict thread matches above, loose matches on Subject: below --
1994-10-21 5:22 Carl Hoang
1994-10-24 22:42 ` Gerry Palo
1994-10-26 0:18 ` Dr. James W. Hong
1994-01-20 13:32 Jaqui Lynch
1994-01-21 13:53 ` Mark Hickey
1994-01-21 14:23 ` Craig Weeks
1994-01-21 19:12 ` Wanda Monroe
1993-08-12 15:25 DCE questions Per Igel
1993-08-12 19:47 ` Rich Salz
1993-08-13 15:01 ` 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