1998Q4/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: [MUD&#45;Dev] Re: DIS: Client&#45;Server vs Peer&#45;to&#45;Peer -->
<!--X-From-R13: @vxynf Syzdivfg <q97ryzNqgrx.punyzref.fr> -->
<!--X-Date: Sun, 29 Nov 1998 14:17:00 &#45;0800 -->
<!--X-Message-Id: Pine.SOL.3.96.981128144806.23452A&#45;100000#licia,dtek.chalmers.se -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 19981125153012.A3939#divcom,slimy.com -->
<!--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: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="msg00867.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00868.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00860.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00902.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00866">Author</A>
&nbsp;|&nbsp;<A HREF="#00866">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00866">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>: Niklas Elmqvist &lt;<A HREF="mailto:d97elm#dtek,chalmers.se">d97elm#dtek,chalmers.se</A>&gt;</LI>
<LI><em>Date</em>: Sat, 28 Nov 1998 15:09:02 +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>
On Wed, 25 Nov 1998, Jon Leonard wrote:

&gt; On Tue, Nov 24, 1998 at 10:06:23PM +0100, Niklas Elmqvist wrote:
&gt; 
&gt; [building a Distributed Interactive Simulations system as a school project]
&gt; 
&gt; &gt; I am also recommending the project members to release the simulator system
&gt; &gt; as Open Source under the GPL at the end of the project (GNU Sim?), so
&gt; &gt; hopefully, this quite ambitious undertaking will bring something back to
&gt; &gt; the community. You can do a whole lot with eight enthusiastic developers
&gt; &gt; in a full year! (Despite the fact that we won't be exclusively working on
&gt; &gt; this project.) 
&gt; 
&gt; Make sure your school permits releasing your project as open source.
&gt; The school I attended probably would not allow this.  

Really? I must look into this. In a similar vein, would your school allow
you to turn a project like this into a commercial venture and earn money
out of it?  Why/why not? 

&gt; Also make sure that GPL is the license you want, though that's a
&gt; flamewar we don't need. 

Right. I can't say I have a personal preference on what license to use, as
long as it is free. And I also believe that it would be nice if all
changes, additions and modifications of the code are free as well (in
this case, I'm not sure I want somebody to take the code and start making
a profit from it). The way many American universities have developed
hi-tech software (SPICE, ) is my inspiration.

&gt; [dishonest clients/peers problem, as in Diablo multiplayer.  Details snipped]
&gt; 
&gt; This is a fundamental problem.  If you can't trust the people you're playing
&gt; with, then a peer-to-peer design is worthless.

Indeed. That was my feeling as well, but I needed someone other than me
(someone with a little more experience as well) to say it. :)

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

What are the other options, then?

&gt; &gt;  - Is it a sound decision (using client-server)?
&gt; 
&gt; For small-scale stuff, yes.  If the simulations get really big this requires
&gt; too much compute hardware and bandwidth in the main server.  If you don't
&gt; aspire to something on the scale of UOL it should be fine.

Sure, but I was under the impression that UOL, EverQuest and Asheron's
Call all use big bad-ass servers. Don't they? Oh, and Quake 2 does too,
and that game allows for about 128 simultaneous players provided you've
got some good hardware. Does anyone know of the computational as well as
bandwidth loads imposed by games on the scale of large-scale Quake, UOL
and EverQuest servers?

&gt; &gt;  - Is it possible in an Open Source project where anyone has access to the
&gt; &gt; 	source? 
&gt; 
&gt; Open source doesn't change much in trust situations.  You can demonstrate
&gt; that there aren't traps in the source code, though.

Right, but I am thinking that it is much easier for players to hack the
clients if the client is open source. That is, UOL would probably have a
*much* harder time if all a dishonest player would have to do is change a
few lines and then recompile the binary. Having to fire up a debugger to
reverse-engineer the code or sniff the network packets to figure out the
transfer protocol probably weeds out all but the most enterprising
players. 

&gt; &gt; While I am at it and provided the answer is "yes, client-server is the way
&gt; &gt; to go" I might as well ask some additional questions: 
&gt; &gt;  - How would you keep the "distributed" in DIS with a client-server
&gt; &gt; 	architecture?
&gt; 
&gt; I'd recommend a hybrid architecture.  Insteed of a single server, use a
&gt; network of computation peers that interact using the DIS protocols.  Each
&gt; of these can have several "display clients" which take care of UI stuff
&gt; without handling any computations that need to be trustworthy.

Hmmm... But the computation peers would be like a server cluster, since
they most definitely could *not* be dished out among the players? Yes,
that would certainly help in the scalability department.

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

Right. This is probably what the DoD DIS implementations do.

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

In this context: yes, they would.

&gt; &gt;  - What things can be trusted to the client? (Yes, I know there has been a
&gt; &gt; 	rather extensive thread on that.) Does anyone know, for example,
&gt; &gt; 	what the client-server relationships/responsibilities are for
&gt; &gt; 	games such as Quake?
&gt; 
&gt; This depends on what you consider acceptable behavior.  A lot of games like
&gt; this can have "cyborg" or AI players.  If this isn't a problem, then you
&gt; can trust a fair amount of data to the client.  If it is, you have to trust
&gt; the client to some degree.  Design your system so that data you care about
&gt; can't be compromised by people/code you don't trust.

Cyborgs or bots will always be a problem, and one that is hard to address. 
Hopefully, the sheer size of the scenarios will ensure that this won't
have *that* much of an influence (even if the German machine gunner has a
aimbot, he will most certainly not be able to thwart the entire D-Day
Allied landing force single-handedly).

&gt; Jon Leonard

Btw, thanks!

-- 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="00902" HREF="msg00902.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>
</UL></LI></UL>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00860" HREF="msg00860.html">[MUD-Dev] Re: DIS: Client-Server vs Peer-to-Peer</A></STRONG>
<UL><LI><EM>From:</EM> Jon Leonard &lt;jleonard#divcom,slimy.com&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00867.html">[MUD-Dev] Re: Ruminations on CVS and developing in the Bazaar</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00868.html">[MUD-Dev] Re: Ruminations on CVS and developing in the Bazaar</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00860.html">[MUD-Dev] Re: DIS: Client-Server vs Peer-to-Peer</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00902.html">[MUD-Dev] Re: DIS: Client-Server vs Peer-to-Peer</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00866"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00866"><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="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>
</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
<UL>
<LI><strong><A NAME="00901" HREF="msg00901.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>
</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>