[comp.protocols.ibm] Summary of replys to RPC multi-threaded servers

xxbja@csduts1.lerc.nasa.gov (Betty Jo Armstead) (02/21/91)

Following is a list of comments I received on my post about
multi-threading with RPC.  Most of the mail was requests
on how to get John Corbin's book, so I am including that information.

I would still like to hear from anyone who has done RPC servers
that are using IBM's TCP/IP - RPC softwear.  In particular I am
interested in multi-threaded servers.

It also seems to me there may be enough interest in RPC programming
to start a group, but I'm not sure I want to tackle that process at
this time.

Here is the summary
>From jfjr@mbunix.mitre.org  Wed Feb 13 12:29:29 1991
Organization: The MITRE Corp., Bedford MA
Cc: 

  If you can get a hold of the source for rexd which comes with
NFS (implements "on" command) that is a tcp/ip multi-threaded
RPC. Its not very well done nor used very much but I believe
there are PD versions of it. We used it at Bull to
connect up to IBM SNA servers.

                                   Jerry Freedman,Jr


From: pttrtl!ketelaar@relay.EU.net (Arjen Ketelaar (next))
Message-Id: <9102141353.AA03048@pttrtl>
To: xxbja@csduts1.lerc.nasa.gov
Subject: RPC application programming

I'm also interested in RPC application programming. In general I'm interested
in developping distributed applications. Do you know wich newsgroup is the most suitable 
suitable for discussions about this topic? I have found no spcial group on
this topic.

Greeting from

Arjen Ketelaar
PTT Research
P.O. Box 15000
9700 CD  Groningen
The Netherlands

Fax: +31-50122415
Email: ketelaar@pttrtl.uucp


>From swank@bodwin.ifs.umich.edu  Sun Feb 17 17:00:41 1991
Subject: RPC programming...

Hello Betty, most recently, I noticed your posting on the
network concerning RPC's... Have you been able to obtain
the relevant information which you we're seeking?  I am
currently, interested in solving CFD on an IBM CMS server
via RPC's; so, if you should come across any helpful info
please kindly respond...  thanks in advance

Thomas Ragland
The Univ. Of Michigan
Ann Arbor, Michigan

email: swank@dip.eecs.umich.edu
       swank@dip.eecs.umich.edu

>From @CUNYVM.CUNY.EDU:TAYBENGH@NUSDISCS.BITNET  Tue Feb 19 08:20:17 1991
X-Original-To:   xxbja@csduts1.lerc.nasa.gov, TAYBENGH


Hi,
    I think mutil-threaded RPC is possible only if the RPC package u are
using supports multi-threads (light-weight processes) in single process. If
that is the case, u can create multi-threads in a single server process to
serve multiple data streams (TCP connections). If your OS nor RPC support
multi-threads, then the solution is depending on the implementation of the
RPC package. Please give more information to the net of what is the RPC
packages that u are using such as Sun RPC, HP/Apollo NCS/RPC or Netwise RPC.
    Hope this helps.

>From Fitch.Catwalk@DOCKMASTER.NCSC.MIL  Tue Feb 19 09:16:42 1991


If you receive any multithreaded examples for MVS/TCP, I'd also be
interested.  You may want to explore using MTF (multitasking facilities)
in C on MVS.  You can't do fork like UNIX, but it does support some
parallelism.  It looks like your parallel functions have to be
re-entrant.  You'll also have to be careful about sharing descriptors
between tasks.  The mother task should control things but so far I
haven't seen a good way to do async notifications between tasks so that
the parent can know that the child has completed.

Ignoring MVS, you may want to look at a Sun Unix Networking manual.  The
rpcgen utility gives you a lot of code for free (not multithreaded
though).  There are also examples and specifications for XDR etc

--Jack

Here is the publisher of the book by John Corbin.

TITLE: The Art of Distributed Applications
       Programming Techniques for Remote Procedure Calls
AUTHOR: John R. Corbin
SUBJECT: Distributed application programming using RPC
PUBLISHER: Springer-Verlag (Part of Sun Techincal Reference Library)
           175 - Fifth Ave. Ny, NY 10010, USA
DATE: 1991
COPYRIGHT: Sun Microsystems Inc.
PAGES: 558
ISBN: 0-387-97247-1
ISBN: 3-540-97247-1
APPROX_COST: 39.95
SUGGESTED_BY: "Betty Jo Armstead, Sverdrup" <xxbja@csduts1.lerc.nasa.gov>
COMMENTS
	An excellent book for anyone starting to develop RPC applications.his
	The book covers SUN style RPC programming with lots of examples. the
	It covers XDR, RPC Protocol, RPC programming, Low-level RPC
        Programming, Additional RPC Library Features, RPCGEN, Developing
        RPC-based Distributed Applications and the future of RPC
        programming.  The books also hints at multithreaded RPC
        applications, but provides no examples and very little discussion
        on this topic.
                          Betty Jo armstead
--
Betty Jo Armstead              SVERDRUP Technology Inc.
21000 Brookpark Rd.Ms 142-2
Nasa Lewis Research Center
Cleveland Ohio 44135           From: xxbja@csduts1.lerc.nasa.gov

xxbja@CSDUTS1.LERC.NASA.GOV (Betty Jo Armstead) (02/21/91)

Following is a list of comments I received on my post about
multi-threading with RPC.  Most of the mail was requests
on how to get John Corbin's book, so I am including that information.

I would still like to hear from anyone who has done RPC servers
that are using IBM's TCP/IP - RPC softwear.  In particular I am
interested in multi-threaded servers.

It also seems to me there may be enough interest in RPC programming
to start a group, but I'm not sure I want to tackle that process at
this time.

Here is the summary
>From jfjr@mbunix.mitre.org  Wed Feb 13 12:29:29 1991
Organization: The MITRE Corp., Bedford MA
Cc:

  If you can get a hold of the source for rexd which comes with
NFS (implements "on" command) that is a tcp/ip multi-threaded
RPC. Its not very well done nor used very much but I believe
there are PD versions of it. We used it at Bull to
connect up to IBM SNA servers.

                                   Jerry Freedman,Jr


From: pttrtl!ketelaar@relay.EU.net (Arjen Ketelaar (next))
Message-Id: <9102141353.AA03048@pttrtl>
To: xxbja@csduts1.lerc.nasa.gov
Subject: RPC application programming

I'm also interested in RPC application programming. In general I'm interested
in developping distributed applications. Do you know wich newsgroup is the most
        suitable
suitable for discussions about this topic? I have found no spcial group on
this topic.

Greeting from

Arjen Ketelaar
PTT Research
P.O. Box 15000
9700 CD  Groningen
The Netherlands

Fax: +31-50122415
Email: ketelaar@pttrtl.uucp


>From swank@bodwin.ifs.umich.edu  Sun Feb 17 17:00:41 1991
Subject: RPC programming...

Hello Betty, most recently, I noticed your posting on the
network concerning RPC's... Have you been able to obtain
the relevant information which you we're seeking?  I am
currently, interested in solving CFD on an IBM CMS server
via RPC's; so, if you should come across any helpful info
please kindly respond...  thanks in advance

Thomas Ragland
The Univ. Of Michigan
Ann Arbor, Michigan

email: swank@dip.eecs.umich.edu
       swank@dip.eecs.umich.edu

>From @CUNYVM.CUNY.EDU:TAYBENGH@NUSDISCS.BITNET  Tue Feb 19 08:20:17 1991
X-Original-To:   xxbja@csduts1.lerc.nasa.gov, TAYBENGH


Hi,
    I think mutil-threaded RPC is possible only if the RPC package u are
using supports multi-threads (light-weight processes) in single process. If
that is the case, u can create multi-threads in a single server process to
serve multiple data streams (TCP connections). If your OS nor RPC support
multi-threads, then the solution is depending on the implementation of the
RPC package. Please give more information to the net of what is the RPC
packages that u are using such as Sun RPC, HP/Apollo NCS/RPC or Netwise RPC.
    Hope this helps.

>From Fitch.Catwalk@DOCKMASTER.NCSC.MIL  Tue Feb 19 09:16:42 1991


If you receive any multithreaded examples for MVS/TCP, I'd also be
interested.  You may want to explore using MTF (multitasking facilities)
in C on MVS.  You can't do fork like UNIX, but it does support some
parallelism.  It looks like your parallel functions have to be
re-entrant.  You'll also have to be careful about sharing descriptors
between tasks.  The mother task should control things but so far I
haven't seen a good way to do async notifications between tasks so that
the parent can know that the child has completed.

Ignoring MVS, you may want to look at a Sun Unix Networking manual.  The
rpcgen utility gives you a lot of code for free (not multithreaded
though).  There are also examples and specifications for XDR etc

--Jack

Here is the publisher of the book by John Corbin.

TITLE: The Art of Distributed Applications
       Programming Techniques for Remote Procedure Calls
AUTHOR: John R. Corbin
SUBJECT: Distributed application programming using RPC
PUBLISHER: Springer-Verlag (Part of Sun Techincal Reference Library)
           175 - Fifth Ave. Ny, NY 10010, USA
DATE: 1991
COPYRIGHT: Sun Microsystems Inc.
PAGES: 558
ISBN: 0-387-97247-1
ISBN: 3-540-97247-1
APPROX_COST: 39.95
SUGGESTED_BY: "Betty Jo Armstead, Sverdrup" <xxbja@csduts1.lerc.nasa.gov>
COMMENTS
        An excellent book for anyone starting to develop RPC applications.his
        The book covers SUN style RPC programming with lots of examples. the
        It covers XDR, RPC Protocol, RPC programming, Low-level RPC
        Programming, Additional RPC Library Features, RPCGEN, Developing
        RPC-based Distributed Applications and the future of RPC
        programming.  The books also hints at multithreaded RPC
        applications, but provides no examples and very little discussion
        on this topic.
                          Betty Jo armstead
--
Betty Jo Armstead              SVERDRUP Technology Inc.
21000 Brookpark Rd.Ms 142-2
Nasa Lewis Research Center
Cleveland Ohio 44135           From: xxbja@csduts1.lerc.nasa.gov