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 ??




> It's a diku-hack-POS, (I can say that as I worked on the code it's based
> on... ick), but they rigged a 'soft-boot' system, where they reboot w/o
> dropping ppl off.  Pretty slick.  It does incure a slight delay whilst
> storing all the info, etc, but it works.  It takes advantage of Unix
> system calls... some creative work with a fork and exec as I understand
> it.
> 

  Abermud's done this for yonks. Basically it relies on the fact that
you can set things up so file handles (aka Posix sockets) aren't closed
when a program terminates. Can't remember exactly how you set that,
but a quick peek at the reboot command on any stock idirt or pdirt
abermud'll show you how, if you can stand looking at Aber code ;)

	Jo





Other Periods  | Other mailing lists  | Search  ]