InfiniteRasa/Rasa.NET

Database rewrite

Closed this issue · 2 comments

Entity Framework
Store the data in memory, occasionally saving them to the DB

How will this affect the memory requirements of the server?

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.