1999Q4/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: RE: [MUD&#45;Dev] Languages for MUD drivers -->
<!--X-From-R13: Qlaor eh Fnera <plaorNzhd.bet> -->
<!--X-Date: Wed, 17 Nov 1999 23:34:25 &#45;0800 -->
<!--X-Message-Id: 199911180635.AAA18150#laurel,actlab.utexas.edu -->
<!--X-Content-Type: text/plain -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, RE: [MUD-Dev] Languages for MUD drivers</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:cynbe#muq,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="msg00348.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00346.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00351.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00354.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00344">Author</A>
&nbsp;|&nbsp;<A HREF="#00344">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00344">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>RE: [MUD-Dev] Languages for MUD drivers</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>: RE: [MUD-Dev] Languages for MUD drivers</LI>
<LI><em>From</em>: Cynbe ru Taren &lt;<A HREF="mailto:cynbe#muq,org">cynbe#muq,org</A>&gt;</LI>
<LI><em>Date</em>: Thu, 18 Nov 1999 00:35:00 -0600</LI>
<LI><em>Reply-To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
<LI><em>Sender</em>: <A HREF="mailto:mud-dev-admin#kanga,nu">mud-dev-admin#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>

"Laurent Bossavit" &lt;bossavit#cybercable,fr&gt; wrote:

| Ian Macintosh sez:
| 
| &gt; Distributed processing support can be handled by running multiple
| &gt; processes and interconnecting them.  I've always thought that this is
| &gt; a better way of handling large systems and a large number of users.
| &gt; ie, segment areas (zones) onto different servers and link them.
| 
| There's no really good (read transparent) way to interconnect several 
| MOO servers in that way. [...]
| 
| Even assuming something like an 'object exchange protocol' [...]
| 
| It's much better if such distributed processing is in some
| appropriate fashion a capability of the server itself. MOO as it is
| doesn't fit the bill; and adding these capabilities to a MOO server
| wouldn't be a piece of cake.
| 
| [...] I had to add code to the server to prohibit creation of local objects 
| that were children of remote objects, otherwise I would have had to 
| implement a distributed database as well - which was both beyond me 
| and beyond my time budget. Another problem was the permissions 
| system; how the Wizard on server A would be prevented from having 
| wizard access for server B's objects, or if I decided to 'trust' 
| wizard bits between servers, how to securely authenticate server 
| connections.
| 
| To cut a long story short, I eventually gave up on "good" 
| disitributed support and left it in a fairly primitive state - I had 
| to ship product and it didn't look as if it would see much use.

I'm almost tempted to quote the above in the Muq docs, as motivation
for much of Muq's design and implementation. :)

The amount of coding required to support such distribution is not
terribly large per se, but attempting to retro-fit it to an existing
design is likely to expose all sorts of suddenly inconvenient design
and implementation decisions in the existing server and db code.



| &gt; I'm not sure of what you are refering to when you say concurrent
| &gt; processing support?  I understand the term, but I don't understand
| &gt; the context re reactive worlds? 
| 
| I'm basically referring to support for preemptive (rather than MOO's 
| collaborative) multitasking. Task scheduling seems to be a primary 
| cause of lag in MOO servers - true multithreading means a server is 
| more responsive; at least that's the theory.

I found in Muq that going pre-emptive multi-tasking and going
distributed imposed closely related requirements, and that once
having gone pre-emptive multi-tasking, the additional step to
distributed operation was not terribly difficult.  (Albeit
not trivial.)

Basically, if you're pre-emptive multi-tasking with each user
having something like a daemon thread, then user interactions
wind up taking place via messages passed back and forth between
threads anyhow, and whether there is a network serialization
step involved in the message-passing doesn't make much
architectural difference.

With Muq I added some underlying support that transparently does
de/serialization of messages passed between servers, transparent
proxy construction/dereference to make remote objects 'look'
local for typical casual application programming purposes,
Diffie-Hellmen authentication of cross-server interactions,
and two-fish encryption of the contents of server-server traffic.

The result lets the overlying Micronesia worldkit offer transparent
world distribution pretty cheaply, mainly at some cost in user-user
protocol clumsiness and of course latency for interaction with
remote objects.

The standard Muq regression test suite now includes cases which
run two and three separate Muq servers in distributed world
operation mode, with test users @who'ing, paging, saying, building
and moving without user-level distinction between local and
remote:  Exits can link rooms on different servers &amp;tc &amp;tc.

It works in automated testing with 2-4 uers.  It hasn't been
tested live as yet (version 0.0 -- first beta -- isn't until
99Dec29) nor have I done stress testing with dozens, hundreds
or thousands of simulated users.

I'm pretty sure there are at present some performance bugs
inhibiting scaling into that range, but I don't anticipate
any great problem tracking them down when the time comes.

  Cynbe



_______________________________________________
MUD-Dev maillist  -  MUD-Dev#kanga,nu
<A  HREF="http://www.kanga.nu/lists/listinfo/mud-dev">http://www.kanga.nu/lists/listinfo/mud-dev</A>

</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="msg00348.html">[MUD-Dev] Depth of realism</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00346.html">Re: [MUD-Dev] code base inquiry</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00351.html">Re: [MUD-Dev] Languages for MUD drivers</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00354.html">Re: [MUD-Dev] Languages for MUD drivers</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00344"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00344"><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] Languages for MUD drivers</STRONG>, <EM>(continued)</EM>
<ul compact>
<LI><strong><A NAME="00347" HREF="msg00347.html">[MUD-Dev] Languages for MUD drivers</A></strong>, 
Petri Virkkula <a href="mailto:pvirkkul#iki,fi">pvirkkul#iki,fi</a>, Thu 18 Nov 1999, 07:34 GMT
</LI>
<LI><strong><A NAME="00265" HREF="msg00265.html">Re: [MUD-Dev] Languages for MUD drivers</A></strong>, 
Cynbe ru Taren <a href="mailto:cynbe#muq,org">cynbe#muq,org</a>, Tue 16 Nov 1999, 05:12 GMT
</LI>
<LI><strong><A NAME="00317" HREF="msg00317.html">Re: [MUD-Dev] Languages for MUD drivers</A></strong>, 
Laurent Bossavit <a href="mailto:laurent#netdive,com">laurent#netdive,com</a>, Wed 17 Nov 1999, 23:19 GMT
</LI>
<LI><strong><A NAME="00351" HREF="msg00351.html">Re: [MUD-Dev] Languages for MUD drivers</A></strong>, 
Cynbe ru Taren <a href="mailto:cynbe#muq,org">cynbe#muq,org</a>, Thu 18 Nov 1999, 07:34 GMT
</LI>
<LI><strong><A NAME="00344" HREF="msg00344.html">RE: [MUD-Dev] Languages for MUD drivers</A></strong>, 
Cynbe ru Taren <a href="mailto:cynbe#muq,org">cynbe#muq,org</a>, Thu 18 Nov 1999, 07:34 GMT
</LI>
<LI><strong><A NAME="00354" HREF="msg00354.html">Re: [MUD-Dev] Languages for MUD drivers</A></strong>, 
Cynbe ru Taren <a href="mailto:cynbe#muq,org">cynbe#muq,org</a>, Thu 18 Nov 1999, 07:44 GMT
</LI>
</ul>
</LI>
<LI><strong><A NAME="00256" HREF="msg00256.html">[MUD-Dev] code base inquiry</A></strong>, 
Ilya, Game Commandos <a href="mailto:Ilya#gamecommandos,com">Ilya#gamecommandos,com</a>, Tue 16 Nov 1999, 01:19 GMT
<UL>
<LI><strong><A NAME="00278" HREF="msg00278.html">Re: [MUD-Dev] code base inquiry</A></strong>, 
Lars Duening <a href="mailto:lars#bearnip,com">lars#bearnip,com</a>, Wed 17 Nov 1999, 02:18 GMT
<UL>
<LI><strong><A NAME="00285" HREF="msg00285.html">Re: [MUD-Dev] code base inquiry</A></strong>, 
Travis S. Casey <a href="mailto:efindel#io,com">efindel#io,com</a>, Wed 17 Nov 1999, 16:31 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>