1997Q2/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: Of disk swapping, database structure &#38; project management.. -->
<!--X-From-R13: pbqreNvoz.arg -->
<!--X-Date: from babe.globecomm.net [207.51.48.8] by mx4.ibm.net id 860950534.46814&#45;1 Sun Apr 13 16:55:34 1997 -->
<!--X-Message-Id: 199704131701.RAA70162#out1,ibm.net -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 199704120340.DAA603411#out2,ibm.net -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, Re: Of disk swapping, database structure &amp; project management.</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:coder#ibm,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="msg00115.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00120.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00107.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00121.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00117">Author</A>
&nbsp;|&nbsp;<A HREF="#00117">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00117">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: Of disk swapping, database structure &amp; project management..</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: Multiple Recipients of MUD Design Mailing List &lt;<A HREF="mailto:mud-dev#null,net">mud-dev#null,net</A>&gt;</LI>
<LI><em>Subject</em>: Re: Of disk swapping, database structure &amp; project management..</LI>
<LI><em>From</em>: <A HREF="mailto:coder#ibm,net">coder#ibm,net</A></LI>
<LI><em>Date</em>: Sun, 13 Apr 97 09:00:01 -0700</LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>

On 01/05/97 at 09:03 PM, Greg Munt &lt;greg#uni-corn,demon.co.uk&gt; said:

&gt;Has anyone experimented with swapping unused parts of the mud database to
&gt; disk, reading it back in when needed? What sort of format is it stored
&gt;in  (eg binary, ASCII, etc)?

Not exactly.  I do the exact reverse.  I keep the entire DB on disk and
work from that.  As such everything lives on disk and nothing lives in
RAM.  My DB module reads in objects from the disk as they are requested,
and writes them back out as they are changed.  As such I keep damned
little in memory at any time.

All this being true, I also run a large cache and try as much as possible
to minimise the reads/writes with clever cache management, staging,
delayed writes, etc.

&gt;Also, what were your considerations when designing the structure of the 
&gt;db (both memory and disk images) - ie i have a hex tree (like binary 
&gt;tree, but with 16 child nodes instead of 2), but im not sure how 
&gt;efficient it is.. a number of calculations have to be made to progress 
&gt;down each 'level' of the tree, I was wondering what other ppl had done?

My DB is a strict linear affair.  As discussed earlier my Objects have a
unique ObjectID, a 64bit value composed of a 32bit timestamp of creation,
and a 32bit record #.  The record # half maps directly to the object's
position in the DB.  I don't use any clever searching techniques as pretty
well everything knows the ObjectID of what it wants in advance.

&gt;Now my project report has been handed in (phew) I can now accept 
&gt;contributions from others. At the present time, there are about three or 
&gt;four interested parties. Has anyone had any particularly good/bad 
&gt;experiences related to project management in the area of mud development?

I'm a contract programmer, so I have *lots* of war stories of bad project
management, etc etc etc yada yada.  Up front suggestions:

  Establish a set of agreed upon base purposes for the project up 
    front.
  Establish a set of agreed upon base principles up front.
  Have one guy be the boss.
  Have the boss'es final word be the final law without argument.
  *NEVER* attempt to work via democracy or concensus.
  Assign responsibilities in clearly defined areas/boxes.
  Attempt to minimise the extent to which those boxes overlap.
  Attempt to minimise the extent to which those boxes inter-depend.
  Base all decisions on stated principles.
  Re-state the base principles used in making decisions, especially 
    if contested.
  If a decision doesn't rest on solid base principles it ain't worth 
    squat.

&gt;The more I travel up the learning curve, the steeper it seems to get.. 
&gt;ah, but I'll get there in the end (wont i??)

Nahh, its an asymptotic curve that occassionally reflexes back to 0,

-- 
J C Lawrence                               Internet: claw#null,net
----------(*)                              Internet: coder#ibm,net
...Honourary Member of Clan McFud -- Teamer's Avenging Monolith...


</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="msg00115.html">Re: Ho hum</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00120.html">Re: Random thoughts</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00107.html">Re: Of disk swapping, database structure &amp; project management..</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00121.html">Re: Of disk swapping, database structure &amp; project management..</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00117"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00117"><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="00086" HREF="msg00086.html">Of disk swapping, database structure &amp; project management..</A></strong>, 
Greg Munt <a href="mailto:greg#uni-corn,demon.co.uk">greg#uni-corn,demon.co.uk</a>, Sat 12 Apr 1997, 03:40 GMT
<UL>
<li>&lt;Possible follow-up(s)&gt;<br>
<LI><strong><A NAME="00100" HREF="msg00100.html">Re: Of disk swapping, database structure &amp; project management..</A></strong>, 
Jeff Kesselman <a href="mailto:jeffk#tenetwork,com">jeffk#tenetwork,com</a>, Sat 12 Apr 1997, 11:04 GMT
</LI>
<LI><strong><A NAME="00102" HREF="msg00102.html">Re: Of disk swapping, database structure &amp; project management..</A></strong>, 
Jon A. Lambert <a href="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</a>, Sat 12 Apr 1997, 12:57 GMT
</LI>
<LI><strong><A NAME="00107" HREF="msg00107.html">Re: Of disk swapping, database structure &amp; project management..</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Sun 13 Apr 1997, 00:16 GMT
</LI>
<LI><strong><A NAME="00117" HREF="msg00117.html">Re: Of disk swapping, database structure &amp; project management..</A></strong>, 
coder <a href="mailto:coder#ibm,net">coder#ibm,net</a>, Sun 13 Apr 1997, 23:55 GMT
</LI>
<LI><strong><A NAME="00121" HREF="msg00121.html">Re: Of disk swapping, database structure &amp; project management..</A></strong>, 
Jeff Kesselman <a href="mailto:jeffk#tenetwork,com">jeffk#tenetwork,com</a>, Mon 14 Apr 1997, 02:45 GMT
</LI>
<LI><strong><A NAME="00129" HREF="msg00129.html">Re: Of disk swapping, database structure &amp; project management..</A></strong>, 
clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Mon 14 Apr 1997, 23:16 GMT
</LI>
<LI><strong><A NAME="00132" HREF="msg00132.html">Re: Of disk swapping, database structure &amp; project management..</A></strong>, 
clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Mon 14 Apr 1997, 23:27 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00083" HREF="msg00083.html">short absence</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Sat 12 Apr 1997, 02:16 GMT
</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>