I was asked to develop an application that keeps track of the count of the users
created and keep it in a in-memory database and to design it in such way that it is easily changed to a persistent database.
My question is what is an in memory database and how to make it easily changed to a persistent one.