's on multi-threaded RPC server ?

's on multi-threaded RPC server ?

Post by roo » Fri, 03 Jun 1994 10:28:24



I have worked with RPC's in a singly threaded environment. I have also written
multi-threaded applications under SOLARIS 2.3. What I like to do is to use
RPC's for a multi-threaded server. Reading the RPC docs in SOLARIS I understand
that the client side of RPC's is MT-Safe. But the server side, for most part,
is NOT. I guess one can use the thread's syncronization primitives to work
around that but that tends to serialize the server ( and hence not much use
of the multi-threaded aspect). I have would like to ask:

a) Is there a fix/update/upgrade to server-side RPC routines to make
   them MT-Safe ?

b) If not, is this problem being addressed in SOLARIS 2.4 (when is that comming
   out ?) ?

c) Have I missed something in the documentation or otherwise  ?

d) Any other comments ?

I can see alot of uses for a multi-threaded RPC based server and I am sure
SunSoft folks must have thought of that too So I am sure this problem would
be addressed pretty soon (if not already)!

Sincerely,

Sohail

NOTE: Please send your responses directly to the following:

--
*******************************************************************************


*******************************************************************************

 
 
 

's on multi-threaded RPC server ?

Post by Bil Lew » Sat, 04 Jun 1994 08:50:09


: a) Is there a fix/update/upgrade to server-side RPC routines to make
:    them MT-Safe ?
Don't think so.
: b) If not, is this problem being addressed in SOLARIS 2.4 (when is that comming
:    out ?) ?
Yes.  August.
: c) Have I missed something in the documentation or otherwise  ?

: d) Any other comments ?
I haven't written it myself, but they SAY it's easy...

: I can see alot of uses for a multi-threaded RPC based server and I am sure
: SunSoft folks must have thought of that too So I am sure this problem would
: be addressed pretty soon (if not already)!
So can we.  NFS is MT now.  NIS will be.

: Sincerely,

: Sohail

-Bil
--
  You must run as fast as to can, just to stay in the same place.  If you
want to get anywhere, you must run twice as fast!



 
 
 

1. Design of a server: multi-threaded or multi-processes?

Hi gurus,

In my final year thesis project I have to design a server that handles
queries from many (likely thousands of) clients. I have previous
experiences of working with POSIX threads and I decide to implement the
server for UNIX (at least for now). I am not sure if I should design the
server such that it handles client requests with threads or subprocesses.
Is there any general guidelines concerning efficiency and stability and
the magnitude of the number of clients for the choice?

BTW, MS windows doesnt make any sense to me and I dont know anything about
it. Therefore I think I am asking a UNIX specific question, as least I
intend to.

Thanks
-----
Ran Pang
SE 99

http://www.cas.mcmaster.ca/~pangr
tel: (905)529-5619

2. Sources

3. Solaris multi-threaded and ONC-RPC programs support on HPUX

4. Researching install FreeBSD on Dell Inspiron 7500 laptop.

5. Multi-threading RPC servers

6. Probs w/ Cyrix+Cache+disk IO

7. Multi-thread RPC server???

8. RedHat 6.2 & WinNT 4.0 - LILO question

9. multi-threaded 'purify' type program

10. Multi-threaded application thread stops receiving signals

11. multi-threaded server dies when doing socket send - any idea why ?

12. Multi-Threaded UDP Server

13. HELP!! Problem with a multi-threaded server program