<Keeping data in memory instead of using databases...
# forum
r
Keeping data in memory instead of using databases Lately I have been developing server-side web apps where I keep all the data in memory instead of using databases. Sounds crazy, right? Of course, for apps with huge amounts of data this would not work. For apps with smaller amounts of data, this works pretty good. Where the threshold goes, I don’t know yet, but I imagine most of SAAS apps can be developed this way: Saving data Dump the data to a JSON file before the app instance gets restarted. When you want to restart the app, always run a...