<!-- MHonArc v2.4.4 --> <!--X-Subject: Re: [MUD-Dev] World Persistence, flat files v/s DB v/s ?? --> <!--X-From-R13: Pra Uerrne <terrneNploreuvtujnl.arg> --> <!--X-Date: Sun, 22 Mar 1998 20:05:43 +0000 --> <!--X-Message-Id: Pine.LNX.3.96.980322130019.3549C-100000#shamen,cyberhighway.net --> <!--X-Content-Type: text/plain --> <!--X-Reference: Pine.LNX.3.95.980322122724.21929C-100000#cornholio,new.ox.ac.uk --> <!--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:greear#cyberhighway,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> [ <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="msg00826.html">Previous</a> | <a href="msg00828.html">Next</a> ] Thread: [ <a href="msg00924.html">Previous</a> | <a href="msg00812.html">Next</a> ] Index: [ <A HREF="author.html#00827">Author</A> | <A HREF="#00827">Date</A> | <A HREF="thread.html#00827">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>: mud-dev <<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>: Ben Greear <<A HREF="mailto:greear#cyberhighway,net">greear#cyberhighway,net</A>></LI> <LI><em>Date</em>: Sun, 22 Mar 1998 13:04:38 -0700 (MST)</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, Joel Dillon wrote: > > > 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? I might go with something like that. I would like to update more often, but it will probably induce quite a bit of lag (several seconds at least..) > > > In my current game, I use ascii based flat files. I don't think > > this will work so well for the space game. > > Well, it depends on what sort of machine spec you have, but I'd > have thought ASCII flat files wouldn't be a big problem as long as > you load all the data into memory when the server starts up It's writing, not reading that will kill me. It will definately be held entirely in memory, but I need a persistant image to reboot from. The other thing is, if I can get it to crash very rarely (less than weekly at least) then just saving an image every hour or so might be workable..) > What's wrong with that? Threads aren't too expensive. Unless you're > anticipating literally thousands of simultaneous players you should be > fine. I'll have to see on that. Also, there is usually a 256 limit on file descriptors (sockets). Does java automatically mux/demux to get around that, or do you have to write it yourself? It wouldn't be too hard, but it will need to be dealt with... > > Jo Ben Greear (greear#cyberhighway,net) <A HREF="http://www.primenet.com/~greear">http://www.primenet.com/~greear</A> Author of ScryMUD: mud.primenet.com 4444 <A HREF="http://www.primenet.com/~greear/ScryMUD/scry.html">http://www.primenet.com/~greear/ScryMUD/scry.html</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="00811" HREF="msg00811.html">Re: [MUD-Dev] World Persistence, flat files v/s DB v/s ??</A></STRONG> <UL><LI><EM>From:</EM> Joel Dillon <emily#cornholio,new.ox.ac.uk></LI></UL></LI> </UL></LI></UL> <!--X-References-End--> <!--X-BotPNI--> <UL> <LI>Prev by Date: <STRONG><A HREF="msg00826.html">Re: [MUD-Dev] World Persistence, flat files v/s DB v/s ??</A></STRONG> </LI> <LI>Next by Date: <STRONG><A HREF="msg00828.html">Re: [MUD-Dev] World Persistence, flat files v/s DB v/s ??</A></STRONG> </LI> <LI>Prev by thread: <STRONG><A HREF="msg00924.html">Re: [MUD-Dev] World Persistence, flat files v/s DB v/s ??</A></STRONG> </LI> <LI>Next by thread: <STRONG><A HREF="msg00812.html">Re: [MUD-Dev] World Persistence, flat files v/s DB v/s ??</A></STRONG> </LI> <LI>Index(es): <UL> <LI><A HREF="index.html#00827"><STRONG>Date</STRONG></A></LI> <LI><A HREF="thread.html#00827"><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> <ul compact> <ul compact> <ul compact> <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><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 <UL> <LI><strong><A NAME="00924" HREF="msg00924.html">Re: [MUD-Dev] World Persistence, flat files v/s DB v/s ??</A></strong>, J C Lawrence <a href="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</a>, Wed 01 Apr 1998, 00:49 GMT </LI> </UL> </LI> </ul> </ul> <LI><strong><A NAME="00827" HREF="msg00827.html">Re: [MUD-Dev] 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, 20:05 GMT </LI> </ul> <LI><strong><A NAME="00812" HREF="msg00812.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, 12:44 GMT <UL> <LI><strong><A NAME="00814" HREF="msg00814.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:50 GMT <UL> <LI><strong><A NAME="00815" HREF="msg00815.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, 13:40 GMT <UL> <LI><strong><A NAME="00816" HREF="msg00816.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, 13:55 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>