1998Q3/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: [MUD&#45;Dev] Re: Multi&#45;Server games -->
<!--X-From-R13: Hnqvz Fxnpuraxb <igNserrubyq.pebpbqvyr.bet> -->
<!--X-Date: Wed, 1 Jul 1998 17:25:23 &#45;0700 -->
<!--X-Message-Id: 359AD315.BAAB3AA1#freehold,crocodile.org -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: Pine.LNX.3.96.980630224453.30138B&#45;100000#shamen,cyberhighway.net -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, [MUD-Dev] Re: Multi-Server games</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:vt#freehold,crocodile.org">
</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="msg00025.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00027.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00280.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00028.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00026">Author</A>
&nbsp;|&nbsp;<A HREF="#00026">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00026">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>[MUD-Dev] Re: Multi-Server games</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: Multi-Server games</LI>
<LI><em>From</em>: Vadim Tkachenko &lt;<A HREF="mailto:vt#freehold,crocodile.org">vt#freehold,crocodile.org</A>&gt;</LI>
<LI><em>Date</em>: Wed, 01 Jul 1998 19:23:49 -0500</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>
Ben Greear wrote:
&gt; 
&gt; On Mon, 29 Jun 1998, Vadim Tkachenko wrote:

[skipped]

&gt; &gt; OK, you have the multiple servers and distributed world now, but where
&gt; &gt; do you connect to next time, after you've crossed the world borders?
&gt; &gt;
&gt; &gt; There are at least two possible answers:
&gt; &gt;
&gt; &gt; - Keep the entry point the same and just route the requests to the
&gt; &gt; remote world, thus increasing overhead
&gt; &gt; - Change the entry point, complicating the client (which may not allow
&gt; &gt; it at all, like applet)
&gt; &gt;
&gt; &gt; Any comments?
&gt; 
&gt; I agree, these are two tricky problems.  I'm planning on letting
&gt; the client log onto the server which holds the player.  This information
&gt; can be querried among the servers, so hitting any client should be
&gt; able to point you to the right one.  If I end up using an applet, I'll
&gt; have a httpd server on every game server, with identical jar files etc.
&gt;
&gt; An HTML query of some sorth (cgi?) could generate a page containing the
&gt; correct link to the player's server.

That's exactly why I was asking a question about a LDAP server about a
week ago. I think, it would be wise to hold all the player information
somewhere on the dedicated server (we're coming at the idea of a domain
controller, with an implication of having a backup one and a protocol
which will be able to resolve the right server using broadcasts) and
make all the world servers ask this server[s] about the player info.

Also, the idea of a load balancing comes to my mind...

&gt; An even nastier problem lies in smooth transition between two servers.
&gt; 
&gt; This will be virtually impossible with an applet.

Unless you have a really STUPID redirector service at the server side,
which just pipes the stream to the right server.

WORD OF WARNING: Often the applet/servlet combination appears to be a
logical solution. It is not. I mentioned before that I've implemented a
thing called 'reusable client/server multiprotocol framework', and one
of the components there is a protocol adaptor. So, servlets suck in
comparison to plain sockets (there was a test case ran on both servlet
and socket protocol adaptors): performance penalty is HUGE - at least
100:1, if I remember the results right. Benchmark classes are available
also, on request.

Bottomline: servlets aren't for advanced client. They're MUCH better
than CGI, though.

Side effect: It may be obvious for you guys around here, but was not to
my cow-orkers, that the servlet runs within the usual JVM. Correct me if
it's not right for Windows, but on UNIX it's possible to use the servlet
engine as a booster for another service which accepts the socket
connections and then reconnect to it.

Another side effect: ServletExec (TM?) spawns multiple copies of the
JVM, which breaks the servlet-to-servlet communication which is supposed
to be there. Cure: Apache.

&gt; I'll probably just route the messages through the connecting server to
&gt; any new server, remaining at a max of one hop of course.

Nod

&gt; For local servers running on a faster ethernet connection, that
&gt; shouldn't be too bad.  For largly disparate servers, bandwidth wise,
&gt; another solution would have to be thought up...

I see the situation with multiple servers as for the commercial
enterprise only, so the case you've just described shouldn't be a
problem.

&gt; Ben

-- 
Still alive and smile stays on,
Vadim Tkachenko &lt;vt#freehold,crocodile.org&gt;
--
UNIX _is_ user friendly, he's just very picky about who his friends are


</PRE>

<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<HR>
<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00025.html">[MUD-Dev] RE: Back to the Future (was Re: WIRED: Kilers havemore fun)</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00027.html">[MUD-Dev] Re: Levelless MUDs</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00280.html">[MUD-Dev] Re: darkness/visibility</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00028.html">[MUD-Dev] Re: Multi-Server games</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00026"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00026"><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="00042" HREF="msg00042.html">[MUD-Dev] [RELEASED]  Update release of ScryMUD (Accepting builders)</A></strong>, 
Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Fri 03 Jul 1998, 02:11 GMT
<LI><strong><A NAME="00036" HREF="msg00036.html">[MUD-Dev] Re: darkness/visibility</A></strong>, 
Travis S. Casey <a href="mailto:efindel#io,com">efindel#io,com</a>, Thu 02 Jul 1998, 20:10 GMT
<UL>
<LI><strong><A NAME="00279" HREF="msg00279.html">[MUD-Dev] Re: darkness/visibility</A></strong>, 
J C Lawrence <a href="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</a>, Tue 21 Jul 1998, 18:15 GMT
<UL>
<LI><strong><A NAME="00280" HREF="msg00280.html">[MUD-Dev] Re: darkness/visibility</A></strong>, 
Travis S. Casey <a href="mailto:efindel#io,com">efindel#io,com</a>, Tue 21 Jul 1998, 18:40 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
<LI><strong><A NAME="00026" HREF="msg00026.html">[MUD-Dev] Re: Multi-Server games</A></strong>, 
Vadim Tkachenko <a href="mailto:vt#freehold,crocodile.org">vt#freehold,crocodile.org</a>, Thu 02 Jul 1998, 00:25 GMT
<UL>
<li>&lt;Possible follow-up(s)&gt;<br>
<LI><strong><A NAME="00028" HREF="msg00028.html">[MUD-Dev] Re: Multi-Server games</A></strong>, 
Koster, Raph <a href="mailto:rkoster#origin,ea.com">rkoster#origin,ea.com</a>, Thu 02 Jul 1998, 00:40 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00025" HREF="msg00025.html">[MUD-Dev] RE: Back to the Future (was Re: WIRED: Kilers havemore fun)</A></strong>, 
Koster, Raph <a href="mailto:rkoster#origin,ea.com">rkoster#origin,ea.com</a>, Thu 02 Jul 1998, 00:18 GMT
<LI><strong><A NAME="00023" HREF="msg00023.html">[MUD-Dev] Help Request On Creating MUD</A></strong>, 
Strahd Von ZAROVICH <a href="mailto:strahd#bimel,com.tr">strahd#bimel,com.tr</a>, Wed 01 Jul 1998, 23:46 GMT
<UL>
<LI><strong><A NAME="00024" HREF="msg00024.html">[MUD-Dev] Re: Help Request On Creating MUD</A></strong>, 
Jon Leonard <a href="mailto:jleonard#divcom,slimy.com">jleonard#divcom,slimy.com</a>, Thu 02 Jul 1998, 00:16 GMT
</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>