Currently we load Game from DB every N ms. Maybe we can track for changes in game in DB and reload it when change appears only? Usually loop doesn't do anything. Even if we must remove buff/debuff in automatic mode - OK we finally did it, saved Game into DB. As it being updated we reloaded game again and that's it.
Currently we load Game from DB every N ms. Maybe we can track for changes in game in DB and reload it when change appears only? Usually loop doesn't do anything. Even if we must remove buff/debuff in automatic mode - OK we finally did it, saved Game into DB. As it being updated we reloaded game again and that's it.