RonPenton / KatanaMUD

A web browser MUD. It originally started life as a clone of MajorMUD, but may end up diverging from that vision significantly in the end. Who knows. We shall see!
16 stars 4 forks source link

Look into synchronization locks for MVC #2

Open RonPenton opened 9 years ago

RonPenton commented 9 years ago

The MVC portion of the game right now simply accesses the database stored on the game thread without taking into account data synchronization. It's read-mostly, and none of the data is changed all that often... still. I've got a nagging sense of doubt that this will blow up eventually; or even worse: may let someone corrupt their own character data by submitting simultaneous postbacks of their character edits.

We need to look into methods of synchronizing this data somehow.