User data

This describes how user data is being saved and loaded.


This is sub-layout for documentation pages

This was last updated when game had version: dev - 2.0.7
Top

1 Introduction

In order to save user data (items / progress / spells), database is used. Ths is one of the cases when the NodeJS application needs to saveto the database, which is quite complicated, when considering it is done from the typescript code.
User data loading is one of the slowest operations. The primary objectives when implementing this is code readability(even at cost of speed), and speed

We suggest to read about the User load / save concurrency problem