<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD-Dev] World Persistence, flat files v/s DB v/s ?? -->
<!--X-From-R13: "Xba O. Znzoreg" <wyflfvapNvk.argpbz.pbz> -->
<!--X-Date: Thu, 26 Mar 1998 05:03:26 +0000 -->
<!--X-Message-Id: 199803260503.XAA03939@dfw-ix1.ix.netcom.com -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 351865D0.3DEEC3D7#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:jlsysinc#ix,netcom.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>
[ <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="msg00901.html">Previous</a>
| <a href="msg00903.html">Next</a>
]
Thread:
[ <a href="msg00886.html">Previous</a>
| <a href="msg00836.html">Next</a>
]
Index:
[ <A HREF="author.html#00902">Author</A>
| <A HREF="#00902">Date</A>
| <A HREF="thread.html#00902">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>: "Jon A. Lambert" <<A HREF="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</A>></LI>
<LI><em>Date</em>: Thu, 26 Mar 1998 00:06:40 -5</LI>
<LI><em>Reply-to</em>: <A HREF="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</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 24 Mar 98 at 21:42, Vadim Tkachenko wrote:
> Chris Gray wrote:
> >
> > [Vadim Tkachenko:]
> >
> > :- You strictly divide the persistence engine from the logic;
> > :- You build the two-tiered system with the logic as a client and the
> > :persistence engine as a server;
> > :- You build them in such a way that doesn't require them both to be
> > :within the same binary (address space, whatever), or build the adaptor
> > :which will be within and will connect to the persistence engine outside;
> > :- Your problem is fixed, because as soon as you finish that, you don't
> > :have a limitation to run those thousands of threads on the same box -
> > :you can spread them through several servers.
> >
> > Some potential problems:
> >
> > - if multiple threads are updating the single image of the DB
> > (whether those threads are local or remote), then you need some
> > kind of consistency mechanism. If you use locks, then you are
> > vulnerable to a client vanishing when it holds locks - you will
> > have to detect that and rip the locks away.
>
> Sure, that's why there is a concept of a business logic - client doesn't
> hold any locks at all. Everything is split into transactions, and any
> possible locks are handled by the business logic.
>
Yes, yes, yes. An excellent way to look at this. Locking strategy
and transaction content ARE business logic. Business logic in a mud
roughly corresponds to real life activity. Throwing the spear,
opening the door, whispering, etc. Many servers resemble a
three-tiered system, driver/mudlib/client.
--
--/*\ Jon A. Lambert - TychoMUD Internet:jlsysinc#ix,netcom.com /*\--
--/*\ Mud Server Developer's Page <<A HREF="http://www.netcom.com/~jlsysinc">http://www.netcom.com/~jlsysinc</A>> /*\--
--/*\ "Everything that deceives may be said to enchant" - Plato /*\--
</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="00886" HREF="msg00886.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="msg00901.html">Re: [MUD-Dev] World Persistence, flat files v/s DB v/s ??</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00903.html">Re: [MUD-Dev] World Persistence, flat files v/s DB v/s ??</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00886.html">Re: [MUD-Dev] World Persistence, flat files v/s DB v/s ??</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00836.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#00902"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00902"><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>
<LI><strong><A NAME="00830" HREF="msg00830.html">Re: [MUD-Dev] World Persistence, flat files v/s DB v/s ??</A></strong>,
Jon A. Lambert <a href="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</a>, Sun 22 Mar 1998, 21:10 GMT
</LI>
<LI><strong><A NAME="00833" HREF="msg00833.html">Re: [MUD-Dev] World Persistence, flat files v/s DB v/s ??</A></strong>,
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Mon 23 Mar 1998, 06:54 GMT
<UL>
<LI><strong><A NAME="00864" HREF="msg00864.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>, Mon 23 Mar 1998, 21:42 GMT
</LI>
<LI><strong><A NAME="00886" HREF="msg00886.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:28 GMT
<UL>
<LI><strong><A NAME="00902" HREF="msg00902.html">Re: [MUD-Dev] World Persistence, flat files v/s DB v/s ??</A></strong>,
Jon A. Lambert <a href="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</a>, Thu 26 Mar 1998, 05:03 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
<LI><strong><A NAME="00836" HREF="msg00836.html">Re: [MUD-Dev] World Persistence, flat files v/s DB v/s ??</A></strong>,
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Mon 23 Mar 1998, 07:07 GMT
<UL>
<LI><strong><A NAME="00839" HREF="msg00839.html">Re: [MUD-Dev] World Persistence, flat files v/s DB v/s ??</A></strong>,
Ross Nicoll <a href="mailto:jrn#st-andrews,ac.uk">jrn#st-andrews,ac.uk</a>, Mon 23 Mar 1998, 08:09 GMT
</LI>
<LI><strong><A NAME="00845" HREF="msg00845.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>, Mon 23 Mar 1998, 18:05 GMT
</LI>
<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>
</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>