<!-- MHonArc v2.4.4 --> <!--X-Subject: Re: [MUD-Dev] World Persistence, flat files v/s DB v/s ?? --> <!--X-From-R13: [ngg Qunggreyrl <znggNzcp.qla.zy.bet> --> <!--X-Date: Sun, 22 Mar 1998 19:24:13 +0000 --> <!--X-Message-Id: Pine.LNX.3.96.980322191935.1367B-100000#mpc,dyn.ml.org --> <!--X-Content-Type: text/plain --> <!--X-Reference: 35155988.3A81EF2D#freehold,crocodile.org --> <!--X-Head-End--> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <html> <head> <title>MUD-Dev message, Re: [MUD-Dev] World Persistence, flat files v/s DB v/s ??</title> <!-- meta name="robots" content="noindex,nofollow" --> <link rev="made" href="mailto:matt#mpc,dyn.ml.org"> </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> [ <a href="../">Other Periods</a> | <a href="../../">Other mailing lists</a> | <a href="/search.php3">Search</a> ] <br clear=all><hr> <!--X-Body-Begin--> <!--X-User-Header--> <!--X-User-Header-End--> <!--X-TopPNI--> Date: [ <a href="msg00823.html">Previous</a> | <a href="msg00825.html">Next</a> ] Thread: [ <a href="msg00820.html">Previous</a> | <a href="msg00853.html">Next</a> ] Index: [ <A HREF="author.html#00824">Author</A> | <A HREF="#00824">Date</A> | <A HREF="thread.html#00824">Thread</A> ] <!--X-TopPNI-End--> <!--X-MsgBody--> <!--X-Subject-Header-Begin--> <H1>Re: [MUD-Dev] World Persistence, flat files v/s DB v/s ??</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] World Persistence, flat files v/s DB v/s ??</LI> <LI><em>From</em>: Matt Chatterley <<A HREF="mailto:matt#mpc,dyn.ml.org">matt#mpc,dyn.ml.org</A>></LI> <LI><em>Date</em>: Sun, 22 Mar 1998 19:22:29 +0000 (GMT)</LI> <LI><em>Reply-To</em>: <A HREF="mailto:neddy#itl,net">neddy#itl,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> On Sun, 22 Mar 1998, Vadim Tkachenko wrote: > Joel Dillon wrote: > > On Sat, 21 Mar 1998, Ben Greear wrote: > > > > > > > > I'm contemplating a space based game, where once started, it will > > > never again resemble it's starting state (unless the starting world > > > image is saved of course.) It will be written in Java. > > > > > I've been thinking along these lines (a non-resetable mud) except > > I'm using C++. > > > > > The game will need to update it's persistant storage very often > > > to make this feasible. > > > > How often is very often? Wouldn't a backup and save to disk every > > half-hour or so be ok? > > Why don't you think about some abstract number instead of half-hour? > What about 'as soon as needed', and make it incremental, so only changed > data is being queued for update, and update is being performed in a > background low-priority thread? A valid notion. My mud is being set up so that rather than the (standard for LPmuds as far as I know) system of rebooting once per period of time (usually 24-48 hours), it will reboot at any time within a period of 6 hours when there are no user connections open to the server. Obvious advantage: Players are never inconvenienced by reboots. Obvious disadvantage: What if there is never such a gap? Well, statistically speaking, if it checks every 6 hours, it'll check 28 times a week (and these times will reflect the period at which it last rebooted, so it will hit the same time again). Should it go a period of y days with no reboot, it will reduce the frequency of checks. At some time, the mud will be empty. :P I was briefly toying with the idea of rigging a system so that users were not disconnected during reboots. Unsure on this currently. [Snip rest] -- Regards, -Matt Chatterley Spod: <A HREF="http://user.super.net.uk/~neddy/spod/spod.html">http://user.super.net.uk/~neddy/spod/spod.html</A> </PRE> <!--X-Body-of-Message-End--> <!--X-MsgBody-End--> <!--X-Follow-Ups--> <HR> <ul compact><li><strong>Follow-Ups</strong>: <ul> <li><strong><A NAME="00881" HREF="msg00881.html">Re: [MUD-Dev] World Persistence, flat files v/s DB v/s ??</A></strong> <ul compact><li><em>From:</em> Vadim Tkachenko <vt#freehold,crocodile.org></li></ul> <li><strong><A NAME="00853" HREF="msg00853.html">World Persistence, flat files v/s DB v/s ??</A></strong> <ul compact><li><em>From:</em> s001gmu#nova,wright.edu</li></ul> </UL></LI></UL> <!--X-Follow-Ups-End--> <!--X-References--> <UL><LI><STRONG>References</STRONG>: <UL> <LI><STRONG><A NAME="00820" HREF="msg00820.html">Re: [MUD-Dev] World Persistence, flat files v/s DB v/s ??</A></STRONG> <UL><LI><EM>From:</EM> Vadim Tkachenko <vt#freehold,crocodile.org></LI></UL></LI> </UL></LI></UL> <!--X-References-End--> <!--X-BotPNI--> <UL> <LI>Prev by Date: <STRONG><A HREF="msg00823.html">Re: [MUD-Dev] World Persistence, flat files v/s DB v/s ??</A></STRONG> </LI> <LI>Next by Date: <STRONG><A HREF="msg00825.html">Re: [MUD-Dev] Dynamic Loading of Modules</A></STRONG> </LI> <LI>Prev by thread: <STRONG><A HREF="msg00820.html">Re: [MUD-Dev] World Persistence, flat files v/s DB v/s ??</A></STRONG> </LI> <LI>Next by thread: <STRONG><A HREF="msg00853.html">World Persistence, flat files v/s DB v/s ??</A></STRONG> </LI> <LI>Index(es): <UL> <LI><A HREF="index.html#00824"><STRONG>Date</STRONG></A></LI> <LI><A HREF="thread.html#00824"><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] World Persistence, flat files v/s DB v/s ??</STRONG>, <EM>(continued)</EM> <ul compact> <ul compact> <LI><strong><A NAME="00882" HREF="msg00882.html">Re: [MUD-Dev] World Persistence, flat files v/s DB v/s ??</A></strong>, Vadim Tkachenko <a href="mailto:vt#freehold,crocodile.org">vt#freehold,crocodile.org</a>, Wed 25 Mar 1998, 05:02 GMT </LI> </ul> </ul> </LI> <LI><strong><A NAME="00810" HREF="msg00810.html">World Persistence, flat files v/s DB v/s ??</A></strong>, Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Sun 22 Mar 1998, 05:39 GMT <UL> <LI><strong><A NAME="00811" HREF="msg00811.html">Re: [MUD-Dev] World Persistence, flat files v/s DB v/s ??</A></strong>, Joel Dillon <a href="mailto:emily#cornholio,new.ox.ac.uk">emily#cornholio,new.ox.ac.uk</a>, Sun 22 Mar 1998, 12:30 GMT <UL> <LI><strong><A NAME="00820" HREF="msg00820.html">Re: [MUD-Dev] World Persistence, flat files v/s DB v/s ??</A></strong>, Vadim Tkachenko <a href="mailto:vt#freehold,crocodile.org">vt#freehold,crocodile.org</a>, Sun 22 Mar 1998, 18:34 GMT <UL> <LI><strong><A NAME="00824" HREF="msg00824.html">Re: [MUD-Dev] World Persistence, flat files v/s DB v/s ??</A></strong>, Matt Chatterley <a href="mailto:matt#mpc,dyn.ml.org">matt#mpc,dyn.ml.org</a>, Sun 22 Mar 1998, 19:24 GMT <UL> <LI><strong><A NAME="00853" HREF="msg00853.html">World Persistence, flat files v/s DB v/s ??</A></strong>, s001gmu <a href="mailto:s001gmu#nova,wright.edu">s001gmu#nova,wright.edu</a>, Mon 23 Mar 1998, 19:44 GMT <UL> <LI><strong><A NAME="00871" HREF="msg00871.html">Re: [MUD-Dev] World Persistence, flat files v/s DB v/s ??</A></strong>, Joel Dillon <a href="mailto:emily#cornholio,new.ox.ac.uk">emily#cornholio,new.ox.ac.uk</a>, Tue 24 Mar 1998, 08:14 GMT </LI> <LI><strong><A NAME="00893" HREF="msg00893.html">Re: [MUD-Dev] World Persistence, flat files v/s DB v/s ??</A></strong>, Matt Chatterley <a href="mailto:matt#mpc,dyn.ml.org">matt#mpc,dyn.ml.org</a>, Wed 25 Mar 1998, 08:40 GMT </LI> </UL> </LI> <LI><strong><A NAME="00881" HREF="msg00881.html">Re: [MUD-Dev] World Persistence, flat files v/s DB v/s ??</A></strong>, Vadim Tkachenko <a href="mailto:vt#freehold,crocodile.org">vt#freehold,crocodile.org</a>, Wed 25 Mar 1998, 04:53 GMT </LI> </UL> </LI> </UL> </LI> </UL> </LI> </UL> </LI> </UL></BLOCKQUOTE> </ul> <hr> <center> [ <a href="../">Other Periods</a> | <a href="../../">Other mailing lists</a> | <a href="/search.php3">Search</a> ] </center> <hr> </body> </html>