1997Q2/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD&#45;Dev]  Disk v. Mem -->
<!--X-From-R13: pynjerapNphc.uc.pbz -->
<!--X-Date: from ren.globecomm.net [207.51.48.3] by mx5.ibm.net id 863719927.32616&#45;1 Thu May 15 18:12:07 1997 -->
<!--X-Message-Id: 199705151818.LAA20142#xsvr3,cup.hp.com -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 199705130518.TAA20541#mail,pixi.com -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, Re: [MUD-Dev]  Disk v. Mem</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:clawrenc#cup,hp.com">
</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="msg00485.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00487.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00460.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00448.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00486">Author</A>
&nbsp;|&nbsp;<A HREF="#00486">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00486">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: [MUD-Dev]  Disk v. Mem</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: <A HREF="mailto:mud-dev#null,net">mud-dev#null,net</A></LI>
<LI><em>Subject</em>: Re: [MUD-Dev]  Disk v. Mem</LI>
<LI><em>From</em>: <A HREF="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</A></LI>
<LI><em>Date</em>: Wed, 14 May 97 11:14:03 -0700</LI>
<LI><em>Reply-to</em>: <A HREF="mailto:claw#null,net">claw#null,net</A></LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
In &lt;<A HREF="msg00422.html">199705130518.TAA20541#mail,pixi.com</A>&gt;, on 05/12/97 
   at 10:51 PM, "ashen" &lt;ashen#pixi,com&gt; said:

&gt;what are the advantages of swapping out objects
&gt;to disk as opposed to keeping them in memory?

Ease of recovery in case of a server or system crash.  If done right,
nothing is lost.  The game restarts in exactly the same state as it
went down in.  (Of course this can be a problem if its that state
which lead to the crash -- you get an endless cycle of
crash/restart/crash/restart/crash/restart...)

A truly persistant world where changes *ARE* permanent.  (Bubba drops
a stick in the town square?  That stick will be there for all eternity
until something comes along and explicitly (re)moves it)

Reduced memory consumption.  You want to really run in-memory when
your DB size is measured in Gigabytes?

Increased peformance:  You know more about your data handling
behaviours than the OS is ever going to know.  The OS swaps out pages. 
Your objects are not synonymous with pages.  You can do a much better
job.

&gt;isn't it more costly in speed to write to disk? 

Yup.  That's why cacheing is so important.

&gt;what kind of savings do you get versus this extra cost?

See above.

-- 
J C Lawrence                           Internet: claw#null,net
(Contractor)                           Internet: coder#ibm,net
---------------(*)               Internet: clawrenc#cup,hp.com
...Honorary Member 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-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00422" HREF="msg00422.html">Disk v. Mem</A></STRONG>
<UL><LI><EM>From:</EM> "ashen" &lt;ashen#pixi,com&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00485.html">Re: [MUD-Dev] Re: Administrative notes</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00487.html">Re: [MUD-Dev]  Re: Role-playing [was Re: several messages]</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00460.html">Re: [MUD-Dev]  Disk v. Mem</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00448.html">Re: Disk v. Mem</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00486"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00486"><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="00451" HREF="msg00451.html">Mud tree</A></strong>, 
coder <a href="mailto:coder#ibm,net">coder#ibm,net</a>, Wed 14 May 1997, 10:39 GMT
<LI><strong><A NAME="00422" HREF="msg00422.html">Disk v. Mem</A></strong>, 
ashen <a href="mailto:ashen#pixi,com">ashen#pixi,com</a>, Tue 13 May 1997, 12:10 GMT
<UL>
<LI><strong><A NAME="00435" HREF="msg00435.html">Re: [MUD-Dev]  Disk v. Mem</A></strong>, 
Dan Root <a href="mailto:dar#thekeep,org">dar#thekeep,org</a>, Wed 14 May 1997, 01:10 GMT
</LI>
<LI><strong><A NAME="00460" HREF="msg00460.html">Re: [MUD-Dev]  Disk v. Mem</A></strong>, 
Miroslav Silovic <a href="mailto:silovic#srce,hr">silovic#srce,hr</a>, Wed 14 May 1997, 14:58 GMT
</LI>
<LI><strong><A NAME="00486" HREF="msg00486.html">Re: [MUD-Dev]  Disk v. Mem</A></strong>, 
clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Fri 16 May 1997, 01:12 GMT
</LI>
</UL>
<UL>
<li>&lt;Possible follow-up(s)&gt;<br>
<LI><strong><A NAME="00448" HREF="msg00448.html">Re: Disk v. Mem</A></strong>, 
Cynbe ru Taren <a href="mailto:cynbe#laurel,actlab.utexas.edu">cynbe#laurel,actlab.utexas.edu</a>, Wed 14 May 1997, 09:48 GMT
<UL>
<LI><strong><A NAME="00475" HREF="msg00475.html">Re: [MUD-Dev]  Re: Disk v. Mem</A></strong>, 
Nathan Yospe <a href="mailto:yospe#hawaii,edu">yospe#hawaii,edu</a>, Thu 15 May 1997, 05:50 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
<LI><strong><A NAME="00417" HREF="msg00417.html">Abnother RP paradigm</A></strong>, 
Jeff Kesselman <a href="mailto:jeffk#tenetwork,com">jeffk#tenetwork,com</a>, Tue 13 May 1997, 10:19 GMT
<LI><strong><A NAME="00409" HREF="msg00409.html">Roll-playing</A></strong>, 
Khanone <a href="mailto:Khanone#aol,com">Khanone#aol,com</a>, Tue 13 May 1997, 01:58 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>