1997Q3/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD&#45;Dev] Persistance/stability -->
<!--X-From-R13: Penaqba Uvyyrfcvr <oenaqbaNebthrgenqre.pbz> -->
<!--X-Date: from stimpy.globecomm.net [207.51.48.4] by in3.ibm.net id 870558338.104702&#45;1 Sat Aug  2 21:45:38 1997 CUT -->
<!--X-Message-Id: Pine.BSF.3.96.970802154028.1414A&#45;100000#roguetrader,com -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 9708021605.8a7a@ami&#45;cg.GraySage.Edmonton.AB.CA -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, Re: [MUD-Dev] Persistance/stability</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:brandon#roguetrader,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="msg00345.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00347.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00343.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00347.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00346">Author</A>
&nbsp;|&nbsp;<A HREF="#00346">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00346">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: [MUD-Dev] Persistance/stability</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] Persistance/stability</LI>
<LI><em>From</em>: Brandon Gillespie &lt;<A HREF="mailto:brandon#roguetrader,com">brandon#roguetrader,com</A>&gt;</LI>
<LI><em>Date</em>: Sat, 2 Aug 1997 15:46:19 -0600 (MDT)</LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
On Sat, 2 Aug 1997, Chris Gray wrote:
&gt; [Chris L:]
&gt; :[Miro S:]
&gt; :&gt;MUSHes and MOOs save everything across the reboot. MOOs even save the
&gt; :&gt;active processes (something Cold doesn't do, and I don't know about
&gt; :&gt;MUSH).
&gt; 
&gt; :FWIW I save active processes at runtime (ie across crashes).  Well,
&gt; :sorta -- there's some caching and delays on the writes.  Upon restart
&gt; :the machine will resume exactly as of some state minutes before the
&gt; :crash.
&gt; 
&gt; Saving the state of everything without saving information about how that
&gt; state is being changed would kind of defeat the point of saving. I'm more
&gt; of an event-based model, but I don't actually save the list of pending
&gt; events.

This is essentially what cold is like.  It doesn't just halt execution
when you shutdown.  It lets any existing task run until it completes or
preempts, then it shuts down.  With this in mind, the only state saves
that need to be made are from the preempted task list.  Also keep in mind
that any scheduling or sleeping tasks are handled in-db, so that is
technically already saved as the scheduler object is already saved.

Now, we do need to store the 'preempted' task list.  It hasn't been done
before not primarily because we've had many other things to worry about :) 

Aside from this, the ColdCore db basically has two states 'running' and
'shutdown'.  Transition between the two states is handled every time you
startup and shutdown (the system notifies things as appropriate).  So
basically, its not really a big deal to ColdCore.  Having it store the
preempted task list will be nice, but thats it--its not a gaping hole in
the ColdC design..

-Brandon Gillespie


</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="00343" HREF="msg00343.html">Re: [MUD-Dev] Persistance/stability</A></STRONG>
<UL><LI><EM>From:</EM> cg#ami-cg,GraySage.Edmonton.AB.CA (Chris Gray)</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00345.html">Re: [MUD-Dev]  Virtual Chemistry</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00347.html">[MUD-Dev] New Topic: Butthead features</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00343.html">Re: [MUD-Dev] Persistance/stability</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00347.html">[MUD-Dev] New Topic: Butthead features</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00346"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00346"><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] Persistance/stability</STRONG>, <EM>(continued)</EM>
<ul compact>
<ul compact>
<LI><strong><A NAME="00322" HREF="msg00322.html">Re: [MUD-Dev] Persistance/stability</A></strong>, 
Matt Chatterley <a href="mailto:root#mpc,dyn.ml.org">root#mpc,dyn.ml.org</a>, Fri 01 Aug 1997, 13:21 GMT
</LI>
<LI><strong><A NAME="00330" HREF="msg00330.html">Re: [MUD-Dev] Persistance/stability</A></strong>, 
clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Sat 02 Aug 1997, 06:24 GMT
</LI>
</ul>
<LI><strong><A NAME="00357" HREF="msg00357.html">Re: [MUD-Dev] Persistance/stability</A></strong>, 
Adam Wiggins <a href="mailto:nightfall#user1,inficad.com">nightfall#user1,inficad.com</a>, Mon 04 Aug 1997, 02:56 GMT
</LI>
<LI><strong><A NAME="00343" HREF="msg00343.html">Re: [MUD-Dev] Persistance/stability</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Sun 03 Aug 1997, 02:19 GMT
<UL>
<LI><strong><A NAME="00346" HREF="msg00346.html">Re: [MUD-Dev] Persistance/stability</A></strong>, 
Brandon Gillespie <a href="mailto:brandon#roguetrader,com">brandon#roguetrader,com</a>, Sun 03 Aug 1997, 04:45 GMT
</LI>
<LI><strong><A NAME="00347" HREF="msg00347.html">[MUD-Dev] New Topic: Butthead features</A></strong>, 
Jeff Kesselman <a href="mailto:jeffk#tenetwork,com">jeffk#tenetwork,com</a>, Sun 03 Aug 1997, 06:40 GMT
<UL>
<LI><strong><A NAME="00351" HREF="msg00351.html">Re: [MUD-Dev] New Topic: Butthead features</A></strong>, 
Matt Chatterley <a href="mailto:root#mpc,dyn.ml.org">root#mpc,dyn.ml.org</a>, Sun 03 Aug 1997, 15:48 GMT
<UL>
<LI><strong><A NAME="00365" HREF="msg00365.html">Re: [MUD-Dev] New Topic: Butthead features</A></strong>, 
Jeff Kesselman <a href="mailto:jeffk#tenetwork,com">jeffk#tenetwork,com</a>, Mon 04 Aug 1997, 08:57 GMT
<UL>
<LI><strong><A NAME="00368" HREF="msg00368.html">Re: [MUD-Dev] New Topic: Butthead features</A></strong>, 
Matt Chatterley <a href="mailto:root#mpc,dyn.ml.org">root#mpc,dyn.ml.org</a>, Mon 04 Aug 1997, 13:33 GMT
</LI>
</UL>
</LI>
</UL>
</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>