1999Q1/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD&#45;Dev] How to support 1000+ simultaneous connections, and some philosophy. -->
<!--X-From-R13: Pra Uerrne <terrneNploreuvtujnl.arg> -->
<!--X-Date: Wed, 10 Mar 1999 19:14:20 &#45;0800 -->
<!--X-Message-Id: 36E72DE0.59EB4F46#cyberhighway,net -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 36E5FD1A.5DA0DFB3#cyberhighway,net -->
<!--X-Reference: 19990309235620.I25217#futuresouth,com -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, Re: [MUD-Dev] How to support 1000+ simultaneous connections, a</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:greear#cyberhighway,net">
</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="msg00522.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00524.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00514.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00515.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00523">Author</A>
&nbsp;|&nbsp;<A HREF="#00523">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00523">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: [MUD-Dev] How to support 1000+ simultaneous connections, and some philosophy.</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] How to support 1000+ simultaneous connections, and some philosophy.</LI>
<LI><em>From</em>: Ben Greear &lt;<A HREF="mailto:greear#cyberhighway,net">greear#cyberhighway,net</A>&gt;</LI>
<LI><em>Date</em>: Wed, 10 Mar 1999 19:43:44 -0700</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:greear#burrito,cyberhighway.net">greear#burrito,cyberhighway.net</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>
Matthew D. Fuller wrote:
&gt; 
&gt; On Tue, Mar 09, 1999 at 10:03:22PM -0700, a little birdie told me
&gt; that Ben Greear remarked
&gt; &gt; It looks like you'd want one program sitting on your well known
&gt; &gt; port, accepting connections.  It could be attached to the 'real'
&gt; &gt; server via a single socket or pipe.  A trivial packet encapsulation
&gt; &gt; with a unique ID as far as the main server is concerned should
&gt; &gt; work just fine.
&gt; &gt;
&gt; &gt; That works for a while, but then how do you re-use this detached
&gt; &gt; server when it's load goes down again?
&gt; &gt;
&gt; &gt; Anyone know how Apache does it?
&gt; 
&gt; I believe (but don't kill me if I'm wrong) that Apache does this by
&gt; having the master httpd accept() all the connections, and then pass them
&gt; onto one of the child processes to do the page serving, though a pipe or
&gt; shared mem or some other IPC.  That seems to be The Way To Do Things
&gt; among a lot of higher-volume servers like that.

Yeah, but how can you hand a socket to another process?  Let me
re-phrase
that:  How can you hand a telnet connection to another process?

&gt; 
&gt; Personally, I find it easier on the small scale (and 1000 is small scale,
&gt; large scale is 40,000 or so) to just pump up the number of descriptors
&gt; per-process in the OS kernel.  This, of course, carries its own set of
&gt; complications, and I suspect it'll really start choking beyond maybe 10
&gt; thousand, but if my own personal ultimate MUD ever gets a) finished (not
&gt; likely, it'll never be finished) and b) that popular, I'll be more
&gt; surprised than the next person.  I'm relying on brute force, sure, but
&gt; enough of it will always work  ;&gt;

I'm thinking of making a very lightweight multi user environment.  I
think it
would be cool to add to an E-commerce site.  Then you as staff it with a
few
paid sales associates.  Thus, instant communication with your customer. 
I'm
asuming that if you are already surfing the web, you have no ability
(one phone
line) or no desire to pick up the phone.  I would strip my current
ScryMUD server
to the bones and then build back up to what I desired.  Along the way,
I'd
like to implement something that can scale up to obscenely large
numbers, assuming
your CPU can handle it.

&gt; 
&gt; &gt; Btw, as an observer of human behavior, I don't understand, but
&gt; &gt; think it is significant, that as soon as the dev-mud project came
&gt; &gt; online, there was a rash of implementation detail posts, and then
&gt; &gt; almost silence on both groups.  Books have been written about
&gt; &gt; the outcome of clashes between a fantasy realm, and a 'real' realm.
&gt; &gt; I think that is what we saw played out before our eyes.  The high
&gt; &gt; fantasy of imaginary realms, features, and lofty goals collided
&gt; &gt; mightily with databases, language choice, and the ugly details of
&gt; &gt; reality.  After a huge amount of sparks, both lie almost in a coma.
&gt; &gt;
&gt; &gt; Am I being too melodramatic?  Did I just get dropped from the lists? :)
&gt; 
&gt; It's some sort of psychological exponential backoff in action I think  :)
&gt; 
&gt; You get the flurry of debate and suggestions, and eventually those most
&gt; concerned, able, and interested go off and start implementing (and thus
&gt; tend to shut up and code), and the rest realize they've said all they
&gt; have to say, people have made their decisions, and get bored with it.
&gt; 
&gt; &gt; Anyway, good cheer to all,
&gt; &gt; Ben
&gt; 
&gt; ---
&gt; 
&gt; *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
&gt; | Matthew Fuller     <A  HREF="http://www.over-yonder.net/~fullermd">http://www.over-yonder.net/~fullermd</A> |
&gt; * fullermd#futuresouth,com       fullermd#over-yonder,net *
&gt; | UNIX Systems Administrator      Specializing in FreeBSD |
&gt; *   FutureSouth Communications   ISPHelp ISP Consulting   *
&gt; |  "The only reason I'm burning my candle at both ends,   |
&gt; *    is because I haven't figured out how to light the    *
&gt; |                     middle yet"                         |
&gt; *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
&gt; 
&gt; _______________________________________________
&gt; MUD-Dev maillist  -  MUD-Dev#kanga,nu
&gt; <A  HREF="http://www.kanga.nu/lists/listinfo/mud-dev">http://www.kanga.nu/lists/listinfo/mud-dev</A>

-- 
Ben Greear (greear#cyberhighway,net)  <A  HREF="http://www.primenet.com/~greear">http://www.primenet.com/~greear</A> 
Author of ScryMUD:  mud.primenet.com 4444        (Released under GPL)
<A  HREF="http://www.primenet.com/~greear/ScryMUD/scry.html">http://www.primenet.com/~greear/ScryMUD/scry.html</A>


_______________________________________________
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-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00513" HREF="msg00513.html">[MUD-Dev] How to support 1000+ simultaneous connections, and some philosophy.</A></STRONG>
<UL><LI><EM>From:</EM> Ben Greear &lt;greear#cyberhighway,net&gt;</LI></UL></LI>
<LI><STRONG><A NAME="00514" HREF="msg00514.html">Re: [MUD-Dev] How to support 1000+ simultaneous connections, and some philosophy.</A></STRONG>
<UL><LI><EM>From:</EM> "Matthew D. Fuller" &lt;fullermd#futuresouth,com&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00522.html">Re: [MUD-Dev] How to support 1000+ simultaneous connections, and some philosophy.</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00524.html">Re: [MUD-Dev] How to support 1000+ simultaneous connections, and some philosophy.</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00514.html">Re: [MUD-Dev] How to support 1000+ simultaneous connections, and some philosophy.</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00515.html">Re: [MUD-Dev] How to support 1000+ simultaneous connections, and some philosophy.</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00523"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00523"><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="00532" HREF="msg00532.html">RE: [MUD-Dev] How to support 1000+ simultaneous connections, and some  philosophy.</A></strong>, 
Koster, Raph <a href="mailto:rkoster#origin,ea.com">rkoster#origin,ea.com</a>, Thu 11 Mar 1999, 15:14 GMT
<LI><strong><A NAME="00517" HREF="msg00517.html">[MUD-Dev] ADMIN: Kanga.Nu outage and other news -- please read</A></strong>, 
J C Lawrence <a href="mailto:claw#varesearch,com">claw#varesearch,com</a>, Wed 10 Mar 1999, 22:38 GMT
<LI><strong><A NAME="00513" HREF="msg00513.html">[MUD-Dev] How to support 1000+ simultaneous connections, and some philosophy.</A></strong>, 
Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Wed 10 Mar 1999, 05:33 GMT
<UL>
<LI><strong><A NAME="00514" HREF="msg00514.html">Re: [MUD-Dev] How to support 1000+ simultaneous connections, and some philosophy.</A></strong>, 
Matthew D. Fuller <a href="mailto:fullermd#futuresouth,com">fullermd#futuresouth,com</a>, Wed 10 Mar 1999, 05:56 GMT
<UL>
<LI><strong><A NAME="00523" HREF="msg00523.html">Re: [MUD-Dev] How to support 1000+ simultaneous connections, and some philosophy.</A></strong>, 
Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Thu 11 Mar 1999, 03:14 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00515" HREF="msg00515.html">Re: [MUD-Dev] How to support 1000+ simultaneous connections, and some philosophy.</A></strong>, 
Oliver Jowett <a href="mailto:icecube#ihug,co.nz">icecube#ihug,co.nz</a>, Wed 10 Mar 1999, 06:50 GMT
<UL>
<LI><strong><A NAME="00524" HREF="msg00524.html">Re: [MUD-Dev] How to support 1000+ simultaneous connections, and some philosophy.</A></strong>, 
Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Thu 11 Mar 1999, 03:19 GMT
<UL>
<LI><strong><A NAME="00527" HREF="msg00527.html">Re: [MUD-Dev] How to support 1000+ simultaneous connections, and some philosophy.</A></strong>, 
Oliver Jowett <a href="mailto:icecube#ihug,co.nz">icecube#ihug,co.nz</a>, Thu 11 Mar 1999, 04:23 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
<LI><strong><A NAME="00519" HREF="msg00519.html">[MUD-Dev] How to support 1000+ simultaneous connections, and some philosophy.</A></strong>, 
Petri Virkkula <a href="mailto:pvirkkul#iki,fi">pvirkkul#iki,fi</a>, Thu 11 Mar 1999, 00:40 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>