Database rewrite
Closed this issue · 2 comments
Blumster commented
Entity Framework
Store the data in memory, occasionally saving them to the DB
damuras commented
How will this affect the memory requirements of the server?
Blumster commented
It will increase, but if a character is logged in, we have to have that character's data loaded in the memory anyways, this enhancement is about the saving method. Periodically saving the players takes off load, but there can be data loss if the server crashes. The players could be saved while the main loop sleeps, or on another thread.