1998Q4/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: [MUD&#45;Dev] Re: DIS: Client&#45;Server vs Peer&#45;to&#45;Peer -->
<!--X-From-R13: Xba Zrbaneq <wyrbaneqNqvipbz.fyvzl.pbz> -->
<!--X-Date: Wed, 25 Nov 1998 15:34:28 &#45;0800 -->
<!--X-Message-Id: 19981125153012.A3939#divcom,slimy.com -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: Pine.SOL.3.96.981124161642.5501A&#45;100000#licia,dtek.chalmers.se -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, [MUD-Dev] Re: DIS: Client-Server vs Peer-to-Peer</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:jleonard#divcom,slimy.com">
</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="msg00859.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00861.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg01025.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00866.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00860">Author</A>
&nbsp;|&nbsp;<A HREF="#00860">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00860">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>[MUD-Dev] Re: 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] Re: DIS: Client-Server vs Peer-to-Peer</LI>
<LI><em>From</em>: Jon Leonard &lt;<A HREF="mailto:jleonard#divcom,slimy.com">jleonard#divcom,slimy.com</A>&gt;</LI>
<LI><em>Date</em>: Wed, 25 Nov 1998 15:30:12 -0800</LI>
<LI><em>Cc</em>: Jon Leonard &lt;<A HREF="mailto:jleonard#divcom,slimy.com">jleonard#divcom,slimy.com</A>&gt;</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>
On Tue, Nov 24, 1998 at 10:06:23PM +0100, Niklas Elmqvist wrote:

[building a Distributed Interactive Simulations system as a school project]

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

Make sure your school permits releasing your project as open source.
The school I attended probably would not allow this.  Also make sure that
GPL is the license you want, though that's a flamewar we don't need.

&gt; Enough chattering -- this brings me to the problem. The term DIS is quite
&gt; general; for one thing, there is a DIS standard. I have some problems with
&gt; it, though, and I am looking for justification of the deviations I want to
&gt; make from the standard (in general, I believe it is a good read). One of
&gt; the keypoints of DIS is that it is a strict peer-to-peer architecture,

[dishonest clients/peers problem, as in Diablo multiplayer.  Details snipped]

This is a fundamental problem.  If you can't trust the people you're playing
with, then a peer-to-peer design is worthless.

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

These aren't the only two options, of course.

&gt;  - Is it a sound decision (using client-server)?

For small-scale stuff, yes.  If the simulations get really big this requires
too much compute hardware and bandwidth in the main server.  If you don't
aspire to something on the scale of UOL it should be fine.

&gt;  - Can peer-to-peer be implemented without a lot of hassle with
&gt; 	authentication and so on? How?

It's pretty easy to authenticate who you're talking to.  It's impossible to
prove that they're trustworthy.

&gt;  - Is it possible in an Open Source project where anyone has access to the
&gt; 	source? 

Open source doesn't change much in trust situations.  You can demonstrate
that there aren't traps in the source code, though.

&gt;  - Are there any large-scale multiplayer games (MMPOG, I believe they are
&gt; 	called) which uses a peer-to-peer architecture?

Usenet, mabye?  :-)  I can't think of any games like that.  Well, maybe
card games like MTG, but they have cheating problems.

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

&gt; While I am at it and provided the answer is "yes, client-server is the way
&gt; to go" I might as well ask some additional questions: 
&gt;  - How would you keep the "distributed" in DIS with a client-server
&gt; 	architecture?

I'd recommend a hybrid architecture.  Insteed of a single server, use a
network of computation peers that interact using the DIS protocols.  Each
of these can have several "display clients" which take care of UI stuff
without handling any computations that need to be trustworthy.

This can be set up so that all of the critical computations are controlled
by whoever set up the game (presumed trustworthy), while maintaining the
scalability of peer-to-peer design.

If you have a trustworthy network and players, just use one peer per player.

For smaller games, just use one peer as the server.  They handle multiple
clients, right? 

&gt;  - What things can be trusted to the client? (Yes, I know there has been a
&gt; 	rather extensive thread on that.) Does anyone know, for example,
&gt; 	what the client-server relationships/responsibilities are for
&gt; 	games such as Quake?

This depends on what you consider acceptable behavior.  A lot of games like
this can have "cyborg" or AI players.  If this isn't a problem, then you
can trust a fair amount of data to the client.  If it is, you have to trust
the client to some degree.  Design your system so that data you care about
can't be compromised by people/code you don't trust.

Jon Leonard


</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="00866" HREF="msg00866.html">[MUD-Dev] Re: DIS: Client-Server vs Peer-to-Peer</A></strong>
<ul compact><li><em>From:</em> Niklas Elmqvist &lt;d97elm#dtek,chalmers.se&gt;</li></ul>
</UL></LI></UL>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00855" HREF="msg00855.html">[MUD-Dev] DIS: Client-Server vs Peer-to-Peer</A></STRONG>
<UL><LI><EM>From:</EM> Niklas Elmqvist &lt;d97elm#dtek,chalmers.se&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00859.html">[MUD-Dev] Re: DIS: Client-Server vs Peer-to-Peer</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00861.html">[MUD-Dev] [RELEASE] Insanity To Infinity (I:I_OS) v.02a</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg01025.html">[MUD-Dev] Re: DIS: Client-Server vs Peer-to-Peer</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00866.html">[MUD-Dev] Re: DIS: Client-Server vs Peer-to-Peer</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00860"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00860"><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>[MUD-Dev] Re: DIS: Client-Server vs Peer-to-Peer</STRONG>, <EM>(continued)</EM>
<ul compact>
<ul compact>
<ul compact>
<ul compact>
<ul compact>
<ul compact>
<ul compact>
<ul compact>
<ul compact>
<LI><strong><A NAME="01018" HREF="msg01018.html">[MUD-Dev] Re: DIS: Client-Server vs Peer-to-Peer</A></strong>, 
Marc Hernandez <a href="mailto:marc#ias,jb.com">marc#ias,jb.com</a>, Sat 19 Dec 1998, 10:32 GMT
<LI><strong><A NAME="01021" HREF="msg01021.html">[MUD-Dev] Re: DIS: Client-Server vs Peer-to-Peer</A></strong>, 
Caliban Tiresias Darklock <a href="mailto:caliban#darklock,com">caliban#darklock,com</a>, Sat 19 Dec 1998, 19:37 GMT
<LI><strong><A NAME="01023" HREF="msg01023.html">[MUD-Dev] Re: DIS: Client-Server vs Peer-to-Peer</A></strong>, 
Mik Clarke <a href="mailto:mikclrk#ibm,net">mikclrk#ibm,net</a>, Sun 20 Dec 1998, 12:14 GMT
</LI>
</LI>
<LI><strong><A NAME="01025" HREF="msg01025.html">[MUD-Dev] Re: DIS: Client-Server vs Peer-to-Peer</A></strong>, 
Adam Wiggins <a href="mailto:adam#angel,com">adam#angel,com</a>, Mon 21 Dec 1998, 18:36 GMT
</LI>
</LI>
</ul>
</ul>
</ul>
</ul>
</ul>
</ul>
</ul>
</ul>
<LI><strong><A NAME="00860" HREF="msg00860.html">[MUD-Dev] Re: DIS: Client-Server vs Peer-to-Peer</A></strong>, 
Jon Leonard <a href="mailto:jleonard#divcom,slimy.com">jleonard#divcom,slimy.com</a>, Wed 25 Nov 1998, 23:34 GMT
<UL>
<LI><strong><A NAME="00866" HREF="msg00866.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:17 GMT
<UL>
<LI><strong><A NAME="00902" HREF="msg00902.html">[MUD-Dev] Re: DIS: Client-Server vs Peer-to-Peer</A></strong>, 
Greg Underwood <a href="mailto:gunderwood#donet,com">gunderwood#donet,com</a>, Fri 04 Dec 1998, 02:19 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
<LI><strong><A NAME="00865" HREF="msg00865.html">[MUD-Dev] Re: DIS: Client-Server vs Peer-to-Peer</A></strong>, 
Greg Underwood <a href="mailto:gunderwood#donet,com">gunderwood#donet,com</a>, Sun 29 Nov 1998, 22:16 GMT
<UL>
<LI><strong><A NAME="00870" HREF="msg00870.html">[MUD-Dev] Re: DIS: Client-Server vs Peer-to-Peer</A></strong>, 
Marc Hernandez <a href="mailto:marc#ias,jb.com">marc#ias,jb.com</a>, Sun 29 Nov 1998, 23:38 GMT
</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>