Storing data in memory together with the database is hectic. This is because most of the times, data in the database is not similar to the one in memory.
This inconsistencies are raising bugs. To avoid this, let's store data in the database, and read data from the database. This means that most of the operations like searching will rely on the database. SQL here I come.
Storing data in memory together with the database is hectic. This is because most of the times, data in the database is not similar to the one in memory.
This inconsistencies are raising bugs. To avoid this, let's store data in the database, and read data from the database. This means that most of the operations like searching will rely on the database. SQL here I come.