Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
* DCE Questions.
@ 1994-01-31 16:55 Shridhar R Muppidi
  1994-02-01  9:42 ` Bernd Dreier
                   ` (3 more replies)
  0 siblings, 4 replies; 19+ messages in thread
From: Shridhar R Muppidi @ 1994-01-31 16:55 UTC (permalink / raw)


Hello,
  I have a few questions related to DCE RPC - would appreciate
if anybody could take some time and answer them. I'll post a
summary once I get all the answers.

1. Is it possible in DCE RPC to have one piece of code
   act as both server and client? 

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?

3. Finally, can marshaling totally overruled by 'out_of_line'
   attributes? Can it by substituted by some other user
   defined packing?

Thanks a lot
-muppidi
(muppidi@cs.tamu.edu)


^ permalink raw reply	[flat|nested] 19+ messages in thread
* DCE Questions
@ 1994-10-21  5:22 Carl Hoang
  1994-10-24 22:42 ` Gerry Palo
  0 siblings, 1 reply; 19+ messages in thread
From: Carl Hoang @ 1994-10-21  5:22 UTC (permalink / raw)


I have a few questions on DCE:

1) Can DCE run on NT 3.5 now?  And with whose DCE?

2) Can I ship images as objects with DCE?  With which object protocol and
format?

Thanks for your time.
	Carl Hoang	choang@tdkt.mn.org


^ permalink raw reply	[flat|nested] 19+ messages in thread
* DCE Questions
@ 1994-01-20 13:32 Jaqui Lynch
  1994-01-21 13:53 ` Mark Hickey
                   ` (2 more replies)
  0 siblings, 3 replies; 19+ messages in thread
From: Jaqui Lynch @ 1994-01-20 13:32 UTC (permalink / raw)


I am currently looking for DCE training courses and was wondering whether 
anyone out there is aware of any good classes.

Thanks a lot Jaqui


^ permalink raw reply	[flat|nested] 19+ messages in thread
* DCE questions
@ 1993-08-12 15:25 Per Igel
  1993-08-12 19:47 ` Rich Salz
  1993-08-13 15:01 ` Greg Brail
  0 siblings, 2 replies; 19+ messages in thread
From: Per Igel @ 1993-08-12 15:25 UTC (permalink / raw)



Hi DCE gurus,

I'm going to try emulating asynchronous TLI behaviour using DCE RPC - I know
it is not meant for that and is really tweaking the concept of RPC. Anyways,
here is how the current implementation pretty much looks like:

        incoming                                incoming
        requests   output queue                 requests   output queue
         queue    /                              queue    /
           |     /                                 |     /
+----------v--------------+             +----------v--------------+
| scheduler processing    |             | scheduler processing    |
| incoming requests and   |             | incoming requests and   |
| sending receiving them  |             | sending receiving them  |
|-------------------------|             |-------------------------|
|     TLI layer           |             |     TLI layer           |
+-------------------------+             +-------------------------+
       | | | | |                                 | | | | |
     ------------------------ network -------------------------

Initially the scheduler process will setup a signal handling routine for
SIGPOLL and create a number of TLI endpoint/connections (to the servers it
wants to connect to), then reads (blocks on) the incoming request queue (IRQ).

When a request is written to the IRQ then the scheduler process reads it,
alters the request a little and then send it off on the right TLI file
descriptor - asynchronously, so the scheduler process gets back right away
and goes up to see if there are any new requests, then process the next one 
and so on...

When some requests popup from the network on one of the TLI file descriptors
a SIGPOLL is sent to the scheduler, the signal handling routine will then
take the data from the TLI file descriptor process it and write/put it on the
output queue. Then return from the signal handling routine and go back and
do what it was doing at the time it got the signal.

================

The little pilot project is now to use DCE-RPC purely as a transport (using
explicit bindings - no CDS, security and time service) to accomplish the
same thing as the TLI layer as in the current implementation. That is take
a buffer of bytes and send it asynchronously and acting as a server at the 
same time receiving incoming buffers.

I think the basic questions regarding this pilot project boils down to:
      - DCE-RPC is extremely synchronous, therefore, the only way to make it
        "asynchronous" is to create a thread for each RPC call you send of
        or for each RPC call or each "connection", because you could do
        something like regarding bindings as having the same function as
        TLI file descriptors. Or are there asynchronous RPC's in DCE RPC as
        there is in Sun RPC?
      - If I want to (and I really do!) keep the scheduler process pretty
        much as it is, then how do I get it to become both a client and a
        server (in DCE terms)? Say, I make an RPC routine from machine A,
        called send_data, which will take a buffer of bytes as input and when
        the server (which should be the famous scheduler process) gets it,
        it will "massage" the data a little and then write it to the output
        queue.
      - when I make the  scheduler process both a client and a server then
        I need to kick off the "rpc_server_listen" call in a separate thread
        (for the server part), right? Now that I have a "server"-thread and 
        a several client threads is there a point where my process runs out 
        of threads?? Is 'rpc_c_listen_max_calls_default' that max limit or 
        what? And what if that happens how do I solve this?

I'm would appreciate some qualified answers on these questions, thanks in
advance,

-Per
-- 
Per.Igel@Copenhagen.NCR.COM
Direct: +45 38 15 75 34  Switchboard: +45 38 15 75 00  Fax: +45 31 10 23 62
NCR Systems Engineering Copenhagen, Svanevej 14, DK 2400 NV, Denmark


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~1994-10-26  0:18 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
     [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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox