MUD-Dev
mailing list archive
[ Other Periods
| Other mailing lists
| Search
]
Date:
[ Previous
| Next
]
Thread:
[ Previous
| Next
]
Index:
[ Author
| Date
| Thread
]
Re: [MUD-Dev] Persistance/stability
[Chris L:]
:[Miro S:]
:>MUSHes and MOOs save everything across the reboot. MOOs even save the
:>active processes (something Cold doesn't do, and I don't know about
:>MUSH).
:FWIW I save active processes at runtime (ie across crashes). Well,
:sorta -- there's some caching and delays on the writes. Upon restart
:the machine will resume exactly as of some state minutes before the
:crash.
Saving the state of everything without saving information about how that
state is being changed would kind of defeat the point of saving. I'm more
of an event-based model, but I don't actually save the list of pending
events. What I do is allow a machine to have an action which is called
on a server restart. Similarly there is one called on a shutdown. That
allows explicit setup to gracefully resume across shutdown/restart. For
crashes, I just go with an old, but consistent, copy of the whole db.
That can result in the timing of things changing a bit, but I doubt if
its really noticeable, since there are likely to be a lot of things
getting "undone" when restarting from a pre-crash snapshot.
--
Chris Gray cg#ami-cg,GraySage.Edmonton.AB.CA
- Thread context:
- Re: [MUD-Dev] Persistance/stability, (continued)
- Re: [MUD-Dev] Persistance/stability,
Miroslav Silovic silovic#mare,zesoi.fer.hr, Thu 31 Jul 1997, 23:19 GMT
- Re: [MUD-Dev] Persistance/stability,
Adam Wiggins nightfall#user1,inficad.com, Mon 04 Aug 1997, 02:56 GMT
- Re: [MUD-Dev] Persistance/stability,
Chris Gray cg#ami-cg,GraySage.Edmonton.AB.CA, Sun 03 Aug 1997, 02:19 GMT
[ Other Periods
| Other mailing lists
| Search
]