From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,607935dda9b15b31 X-Google-Attributes: gidf678f,public X-Google-Thread: 111308,607935dda9b15b31 X-Google-Attributes: gid111308,public X-Google-ArrivalTime: 1994-02-02 05:13:17 PST Xref: gmd.de comp.client-server:2346 comp.unix.osf.misc:938 Path: gmd.de!xlink.net!howland.reston.ans.net!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!newncar!csn!col.hp.com!news.dtc.hp.com!hpscit.sc.hp.com!ted From: ted@hpcc34.corp.hp.com (Ted W. Larson) Newsgroups: comp.client-server,comp.unix.osf.misc Subject: Re: DCE Questions. Date: 1 Feb 1994 18:13:14 GMT Organization: Hewlett Packard Company Sender: ted@corp.hp.com (Ted W. Larson) Message-ID: <2im63q$rdf@hpscit.sc.hp.com> References: <2ijd6k$69t@news.tamu.edu> NNTP-Posting-Host: larson.corp.hp.com Keywords: DCE In article , 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