1998Q4/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: [MUD&#45;Dev] DIS: Client&#45;Server vs Peer&#45;to&#45;Peer -->
<!--X-From-R13: @vxynf Syzdivfg <q97ryzNqgrx.punyzref.fr> -->
<!--X-Date: Tue, 24 Nov 1998 13:06:52 &#45;0800 -->
<!--X-Message-Id: Pine.SOL.3.96.981124161642.5501A&#45;100000#licia,dtek.chalmers.se -->
<!--X-Content-Type: text/plain -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, [MUD-Dev] DIS: Client-Server vs Peer-to-Peer</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:d97elm#dtek,chalmers.se">
</head>
<body background="/backgrounds/paperback.gif" bgcolor="#ffffff"
      text="#000000" link="#0000FF" alink="#FF0000" vlink="#006000">

  <font size="+4" color="#804040">
    <strong><em>MUD-Dev<br>mailing list archive</em></strong>
  </font>
      
<br>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
<br clear=all><hr>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->

Date:&nbsp;
[&nbsp;<a href="msg00854.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00856.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00858.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00859.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00855">Author</A>
&nbsp;|&nbsp;<A HREF="#00855">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00855">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>[MUD-Dev] DIS: Client-Server vs Peer-to-Peer</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
<LI><em>Subject</em>: [MUD-Dev] DIS: Client-Server vs Peer-to-Peer</LI>
<LI><em>From</em>: Niklas Elmqvist &lt;<A HREF="mailto:d97elm#dtek,chalmers.se">d97elm#dtek,chalmers.se</A>&gt;</LI>
<LI><em>Date</em>: Tue, 24 Nov 1998 22:06:23 +0100 (MET)</LI>
<LI><em>Reply-To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>

I have a little problem (which is not in any way unrelated to MUDs,
although it is border-line), so I thought I would post to this list in the
hope of getting some advice from some more experienced members. 

Here's the situation:
I'm currently drafting a proposal for a group project course me and my
fellow classmates will undertake next year. This course will include a
range of several different projects which all students will be able to
choose from -- I am aiming to contribute one of the project ideas.

The subject is the construction of a complete DIS (Distributed Interactive
Simulations) system with real-time simulators used for education as well
as entertainment. Hopefully, we will be able to come up with a system that
will accept a plethoria of heterogenous clients (potentially hundreds of
them) connecting from an unsafe network (such as the Internet) and playing
in a shared world. With enough flexibility built into the system, I am
envisioning sort of a universal battlefield simulator able to support
simulations of all kinds of battles -- why not pop onto the net, take a
look at the current scenarios being played out, and then jump into a
simulation of Omaha Beach at D-Day, for example? Or why not the Battle of
Endor, Thermopylae, Hastings or Gettysburg?

That's the idea, anyway. Of course, I am concealing all of these
entertainment aspects in a cloak of respectability; I am not entirely sure
everyone would approve of a game project! ;) 

I am also recommending the project members to release the simulator system
as Open Source under the GPL at the end of the project (GNU Sim?), so
hopefully, this quite ambitious undertaking will bring something back to
the community. You can do a whole lot with eight enthusiastic developers
in a full year! (Despite the fact that we won't be exclusively working on
this project.) 

Enough chattering -- this brings me to the problem. The term DIS is quite
general; for one thing, there is a DIS standard. I have some problems with
it, though, and I am looking for justification of the deviations I want to
make from the standard (in general, I believe it is a good read). One of
the keypoints of DIS is that it is a strict peer-to-peer architecture,
which means that there is no central server which makes the decisions and
calls the shots. For example, in the DIS standard, the shooting client is
responsible for reporting the shot and the ballistics to the targeted
client, but it us up to the targeted client to decide whether the shot is
a hit or not, and the extents of the damages. In a trusted network
environment (such as the "safe" LANs the US DoD no doubt is using DIS on),
this is no problem.  To me, however, this instinctively feels like a big
stumbling block in an untrusted network such as the Internet -- horrible
visions of Interstate '76 and Diablo multiplayer rise up to haunt me. In a 
naive DIS implementation running on the devious Internet, clients could
easily be hacked (especially if the client is Open Source) and modified to
always tell the shooter that the shot missed (or that the damages are
minimal). Clearly, this simply won't do. (Yes, one in Raph's collection of
laws, the one about clients being in the hands of the enemy, does spring
to mind.)

So ATM I am seriously thinking about proposing a client-server
architecture instead of peer-to-peer. I now need justification for this
decision. Basically, I am looking for all the good arguments why
client-server should be used instead of peer-to-peer as well as the
advantages and disadvantages of each approach. Some sample questions:

 - Is it a sound decision (using client-server)?
 - Can peer-to-peer be implemented without a lot of hassle with
	authentication and so on? How?
 - Is it possible in an Open Source project where anyone has access to the
	source? 
 - Are there any large-scale multiplayer games (MMPOG, I believe they are
	called) which uses a peer-to-peer architecture?

(Besides, it is much more fun to write a bad-ass server than a lot of
uninteresting clients, which might be justification enough... Sort of.)

While I am at it and provided the answer is "yes, client-server is the way
to go" I might as well ask some additional questions: 
 - How would you keep the "distributed" in DIS with a client-server
	architecture?
 - What things can be trusted to the client? (Yes, I know there has been a
	rather extensive thread on that.) Does anyone know, for example,
	what the client-server relationships/responsibilities are for
	games such as Quake?

Any comments, suggestion, pointers or links to documentation are welcome. 

Thanks for your time.

-- Niklas Elmqvist (d97elm#dtek,chalmers.se) ----------------------
  "The trouble with being a god is that you've got no one to 
   pray to."
		-- Terry Pratchett, Small Gods






</PRE>

<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<HR>
<ul compact><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><A NAME="00865" HREF="msg00865.html">[MUD-Dev] Re: DIS: Client-Server vs Peer-to-Peer</A></strong>
<ul compact><li><em>From:</em> Greg Underwood &lt;gunderwood#donet,com&gt;</li></ul>
<li><strong><A NAME="00860" HREF="msg00860.html">[MUD-Dev] Re: DIS: Client-Server vs Peer-to-Peer</A></strong>
<ul compact><li><em>From:</em> Jon Leonard &lt;jleonard#divcom,slimy.com&gt;</li></ul>
<li><strong><A NAME="00859" HREF="msg00859.html">[MUD-Dev] Re: DIS: Client-Server vs Peer-to-Peer</A></strong>
<ul compact><li><em>From:</em> J C Lawrence &lt;claw#under,engr.sgi.com&gt;</li></ul>
</UL></LI></UL>
<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00854.html">[MUD-Dev] ScryMUD [CUSTOM] Code release 1.8.1</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00856.html">[MUD-Dev] [RELEASE] Insanity To Infinity (I:I_OS) v.01a</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00858.html">[MUD-Dev] Re: [RELEASE] Insanity To Infinity (I:I_OS) v.01a</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00859.html">[MUD-Dev] Re: DIS: Client-Server vs Peer-to-Peer</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00855"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00855"><STRONG>Thread</STRONG></A></LI>
</UL>
</LI>
</UL>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
<ul><li>Thread context:
<BLOCKQUOTE><UL>
<LI><strong><A NAME="00861" HREF="msg00861.html">[MUD-Dev] [RELEASE] Insanity To Infinity (I:I_OS) v.02a</A></strong>, 
Bobby Bailey <a href="mailto:mush#smidefix,karen.hik.se">mush#smidefix,karen.hik.se</a>, Fri 27 Nov 1998, 03:12 GMT
<LI><strong><A NAME="00856" HREF="msg00856.html">[MUD-Dev] [RELEASE] Insanity To Infinity (I:I_OS) v.01a</A></strong>, 
Bobby Bailey <a href="mailto:mush#smidefix,karen.hik.se">mush#smidefix,karen.hik.se</a>, Wed 25 Nov 1998, 03:21 GMT
<UL>
<LI><strong><A NAME="00857" HREF="msg00857.html">[MUD-Dev] Re: [RELEASE] Insanity To Infinity (I:I_OS) v.01a</A></strong>, 
Robin Carey <a href="mailto:r.carey#dcs,napier.ac.uk">r.carey#dcs,napier.ac.uk</a>, Wed 25 Nov 1998, 09:07 GMT
<UL>
<LI><strong><A NAME="00858" HREF="msg00858.html">[MUD-Dev] Re: [RELEASE] Insanity To Infinity (I:I_OS) v.01a</A></strong>, 
Bobby Bailey <a href="mailto:mush#smidefix,karen.hik.se">mush#smidefix,karen.hik.se</a>, Wed 25 Nov 1998, 15:44 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
<LI><strong><A NAME="00855" HREF="msg00855.html">[MUD-Dev] DIS: Client-Server vs Peer-to-Peer</A></strong>, 
Niklas Elmqvist <a href="mailto:d97elm#dtek,chalmers.se">d97elm#dtek,chalmers.se</a>, Tue 24 Nov 1998, 21:06 GMT
<UL>
<LI><strong><A NAME="00859" HREF="msg00859.html">[MUD-Dev] Re: DIS: Client-Server vs Peer-to-Peer</A></strong>, 
J C Lawrence <a href="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</a>, Wed 25 Nov 1998, 23:22 GMT
<UL>
<LI><strong><A NAME="00864" HREF="msg00864.html">[MUD-Dev] Re: DIS: Client-Server vs Peer-to-Peer</A></strong>, 
Niklas Elmqvist <a href="mailto:d97elm#dtek,chalmers.se">d97elm#dtek,chalmers.se</a>, Sun 29 Nov 1998, 22:15 GMT
<UL>
<LI><strong><A NAME="00874" HREF="msg00874.html">[MUD-Dev] Re: DIS: Client-Server vs Peer-to-Peer</A></strong>, 
J C Lawrence <a href="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</a>, Tue 01 Dec 1998, 04:26 GMT
<UL>
<LI><strong><A NAME="00888" HREF="msg00888.html">[MUD-Dev] Re: DIS: Client-Server vs Peer-to-Peer</A></strong>, 
Ling <a href="mailto:K.L.Lo-94#student,lboro.ac.uk">K.L.Lo-94#student,lboro.ac.uk</a>, Wed 02 Dec 1998, 12:04 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
</UL></BLOCKQUOTE>

</ul>
<hr>
<center>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
</center>
<hr>
</body>
</html>