MUD-Dev
mailing list archive
[ Other Periods
| Other mailing lists
| Search
]
Date:
[ Previous
| Next
]
Thread:
[ Previous
| Next
]
Index:
[ Author
| Date
| Thread
]
Re: [MUD-Dev] World Persistence, flat files v/s DB v/s ??
- To: mud-dev#null,net
- Subject: Re: [MUD-Dev] World Persistence, flat files v/s DB v/s ??
- From: cg#ami-cg,GraySage.Edmonton.AB.CA (Chris Gray)
- Date: Sun, 22 Mar 98 19:45:56 MST
- >Received: by ami-cg.GraySage.Edmonton.AB.CA (V1.17-beta/Amiga) id <8w3n#ami-cg,GraySage.Edmonton.AB.CA>; Sun, 22 Mar 98 19:45:56 MST
[Matt Chatterley:]
: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.
Why do you need to reboot at all? If your system doesn't leak memory,
and if it can save its DB to disk consistently while running, then there
is no need. If it crashes, restart with the latest consistent copy of the
DB. What I do is to flush the DB caches to disk periodically, and when
that is done copy the resulting files to a backup directory. If this
is done without allowing any other actual writes to the DB files (changes
to the DB are OK, so long as no disk writes are done), then you get a
consistent snapshot of the world.
--
Chris Gray cg#ami-cg,GraySage.Edmonton.AB.CA
- Thread context:
- Re: [MUD-Dev] World Persistence, flat files v/s DB v/s ??, (continued)
- Re: [MUD-Dev] World Persistence, flat files v/s DB v/s ??,
Chris Gray cg#ami-cg,GraySage.Edmonton.AB.CA, Mon 23 Mar 1998, 06:54 GMT
- Re: [MUD-Dev] World Persistence, flat files v/s DB v/s ??,
J C Lawrence claw#under,engr.sgi.com, Mon 23 Mar 1998, 21:42 GMT
- Re: [MUD-Dev] World Persistence, flat files v/s DB v/s ??,
Vadim Tkachenko vt#freehold,crocodile.org, Wed 25 Mar 1998, 05:28 GMT
- Re: [MUD-Dev] World Persistence, flat files v/s DB v/s ??,
Chris Gray cg#ami-cg,GraySage.Edmonton.AB.CA, Mon 23 Mar 1998, 07:07 GMT
- Re: [MUD-Dev] World Persistence, flat files v/s DB v/s ??,
Ross Nicoll jrn#st-andrews,ac.uk, Mon 23 Mar 1998, 08:09 GMT
- Re: [MUD-Dev] World Persistence, flat files v/s DB v/s ??,
Matt Chatterley matt#mpc,dyn.ml.org, Mon 23 Mar 1998, 18:05 GMT
- Re: [MUD-Dev] World Persistence, flat files v/s DB v/s ??,
Vadim Tkachenko vt#freehold,crocodile.org, Wed 25 Mar 1998, 05:02 GMT
- World Persistence, flat files v/s DB v/s ??,
Ben Greear greear#cyberhighway,net, Sun 22 Mar 1998, 05:39 GMT
[ Other Periods
| Other mailing lists
| Search
]