[MUD-Dev] [TECH] Distributed MUD

Kwon Ekstrom justice at softhome.net
Wed Apr 25 00:50:58 CEST 2001


There hasn't been much posted here about distributing by role.  What
little there has been was generally on a side note.

IMHO, to distribute by role, you would need at least 3 basic types of
server.  A front end user handler, backend database, and backend
handler.

The front end user handler should be the last stop for any
connections.  It handles their input directly by retrieving any
necessary data from it's registered database handler.  It may be
necessary to have a redirect server to evenly distribute the load
amung several frontend servers.

I'm not sure how you'd setup the database, but it should be written
specifically to handle the objects being used by the server.  The
problem comes with synchronizing data, and managing bandwidth.

Perhaps the ability to handle a pseudo-SQL which only retrieves
specific fields off an object in the database.  Return a token that
holds those values, and keys to help the database retrieve the object
again to update it.  The return object only holding relational values
of changed fields?  Perhaps cache the keys to help future retrieval.

The backend handlers would be to run any mob AI, or weather,
etc... general timed events that happen consistantly.

Just a few thoughts, I'm hardly the expert...
-- Kwon J. Ekstrom.

_______________________________________________
MUD-Dev mailing list
MUD-Dev at kanga.nu
https://www.kanga.nu/lists/listinfo/mud-dev



More information about the mud-dev-archive mailing list