1999Q1/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD&#45;Dev] How to support 1000+ simultaneous connections, and some philosophy. -->
<!--X-From-R13: [nex Uevggre <znexNreqbf.Egnasbeq.SRG> -->
<!--X-Date: Thu, 11 Mar 1999 23:08:41 &#45;0800 -->
<!--X-Message-Id: 199903120707.XAA16335#erdos,Stanford.EDU -->
<!--X-Content-Type: text -->
<!--X-Reference: E10LLMt&#45;0000X9&#45;00#koala,kanga.nu -->
<!--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:mark#erdos,Stanford.EDU">
</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="msg00545.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00547.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00545.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00554.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00546">Author</A>
&nbsp;|&nbsp;<A HREF="#00546">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00546">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>: Mark Gritter &lt;<A HREF="mailto:mark#erdos,Stanford.EDU">mark#erdos,Stanford.EDU</A>&gt;</LI>
<LI><em>Date</em>: Thu, 11 Mar 1999 23:07:53 -0800 (PST)</LI>
<LI><em>Cc</em>: <A HREF="mailto:mark#erdos,stanford.edu">mark#erdos,stanford.edu</A></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>
J C Lawrence writes:
&gt; 
&gt; On Thu, 11 Mar 1999 22:28:16 -0700 
&gt; Chris Gray&lt;cg#ami-cg,GraySage.Edmonton.AB.CA&gt; wrote:
&gt; 
&gt; &gt; [Petri Virkkula:]
&gt; 
&gt; &gt; Doesn't that require a custom DNS, so that it does hand out the IP's
&gt; &gt; in round-robin fashion? What about DNS's that cache associations?
&gt; 
&gt; Round-robin DNS ias part of the base BIND/named supports.  It comes by
&gt; default -- all you have to do is define more than one IP per host.
&gt; 

To expand that a little bit--- if the name is associated with multiple
addresses, all of them get reported, but the "first" one varies from
request to request, even on cached entries.  The resolver usually
takes the first IP address, but I'm not sure if this is required.

Caching is more of a problem if you want to do your own load-balancing.  
The recommended solution is usually to use short TTLs.

Interestingly, BIND also supports round-robin DNS based on aliases.
If you put multiple CNAME entries in the database, the one you get back
alternates between the aliases, e.g.,

server	cname	foo
	cname	bar
	cname	quux
foo	a	10.0.0.10    # first return this name
bar	a	10.0.0.11    # 2nd request gets this
quux	a	10.0.0.12

This isn't actually defined as meaningful in the relevant RFCs.  But I 
think it's nicer when you want to enforce a 1 canonical name &lt;-&gt; 1 address 
policy.

Mark Gritter
mgritter#cs,stanford.edu


_______________________________________________
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="00545" HREF="msg00545.html">Re: [MUD-Dev] How to support 1000+ simultaneous connections, and some philosophy.</A></STRONG>
<UL><LI><EM>From:</EM> J C Lawrence &lt;claw#kanga,nu&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00545.html">Re: [MUD-Dev] How to support 1000+ simultaneous connections, and some philosophy.</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00547.html">[MUD-Dev] Naming and Directories?</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00545.html">Re: [MUD-Dev] How to support 1000+ simultaneous connections, and some philosophy.</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00554.html">[MUD-Dev] Balancing a Mud</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00546"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00546"><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>Re: [MUD-Dev] How to support 1000+ simultaneous connections, and some philosophy.</STRONG>, <EM>(continued)</EM>
<ul compact>
<ul compact>
<LI><strong><A NAME="00541" HREF="msg00541.html">Re: [MUD-Dev] How to support 1000+ simultaneous connections, and some philosophy.</A></strong>, 
J C Lawrence <a href="mailto:claw#varesearch,com">claw#varesearch,com</a>, Fri 12 Mar 1999, 02:32 GMT
<UL>
<LI><strong><A NAME="00552" HREF="msg00552.html">RE: [MUD-Dev] How to support 1000+ simultaneous connections, and some philosophy.</A></strong>, 
Jay Carlson <a href="mailto:nop#mitre,org">nop#mitre,org</a>, Fri 12 Mar 1999, 13:55 GMT
</LI>
</UL>
</LI>
</ul>
<LI><strong><A NAME="00542" HREF="msg00542.html">Re: [MUD-Dev] How to support 1000+ simultaneous connections, and some philosophy.</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Fri 12 Mar 1999, 05:30 GMT
<UL>
<LI><strong><A NAME="00545" HREF="msg00545.html">Re: [MUD-Dev] How to support 1000+ simultaneous connections, and some philosophy.</A></strong>, 
J C Lawrence <a href="mailto:claw#kanga,nu">claw#kanga,nu</a>, Fri 12 Mar 1999, 06:24 GMT
<UL>
<LI><strong><A NAME="00546" HREF="msg00546.html">Re: [MUD-Dev] How to support 1000+ simultaneous connections, and some philosophy.</A></strong>, 
Mark Gritter <a href="mailto:mark#erdos,Stanford.EDU">mark#erdos,Stanford.EDU</a>, Fri 12 Mar 1999, 07:08 GMT
</LI>
<LI><strong><A NAME="00554" HREF="msg00554.html">[MUD-Dev] Balancing a Mud</A></strong>, 
Martin C Sweitzer <a href="mailto:msew+@andrew.cmu.edu">msew+@andrew.cmu.edu</a>, Fri 12 Mar 1999, 16:02 GMT
<UL>
<LI><strong><A NAME="00557" HREF="msg00557.html">Re: [MUD-Dev] Balancing a Mud</A></strong>, 
Mik Clarke <a href="mailto:mikclrk#ibm,net">mikclrk#ibm,net</a>, Fri 12 Mar 1999, 20:26 GMT
<UL>
<LI><strong><A NAME="00560" HREF="msg00560.html">Re: [MUD-Dev] Balancing a Mud</A></strong>, 
Martin C Sweitzer <a href="mailto:msew+@andrew.cmu.edu">msew+@andrew.cmu.edu</a>, Sat 13 Mar 1999, 01:54 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
<LI><strong><A NAME="00559" HREF="msg00559.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>, Sat 13 Mar 1999, 00:55 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>