Skip to content

Brainstorming: keeping data local

Spencer Hawkins edited this page Nov 12, 2018 · 2 revisions

Server costs + user desire + general speedup + privacy concerns => it may be worth it to store all user data locally, rather than in a hosted database. Some notes on that possibility:

  • Some users (myself included) would still want a web-based UI that's accessible mobile, or from a different machine, etc. We'd still have to do both
  • NeDB seems promising for node if we stick with MongoDB on the server. SQLite of course if we switch to something more SQL-y.
  • Rewriting mtgatracker-webtask to be agnostic of database driver will be prohibitively difficult (NeDB doesn't support aggregation, for example). I think that code would just need to be in two places, which sucks.
  • Consider replacing IPC with https://github.com/MarshallOfSound/electron-routes