D
D
Dmitry Kuznetsov2018-12-05 13:50:50
Data storage
Dmitry Kuznetsov, 2018-12-05 13:50:50

Local data storage in ElectronJS, which is better?

Hello. An application is being developed for Windows 10 (tablet) using ElectronJs + VueJS.
There was a need to store a lot of data on the computer itself, without resorting to installing additional. ON. What do you advise? We need a database that can store data without slowing down the main application. The program does not go online, so remote databases (mysql, etc.), as well as heavyweights (Mongo, etc.) are immediately discarded.
Specifications :
Memory capacity - about 20 GB. (without Windows and other applications)
RAM - 2 GB The
application being developed will start immediately when Windows boots, and all other features and programs will be blocked, this must also be taken into account.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Andrey Sedyshev, 2018-12-05
@ musikant777

sqlite?

A
Askhat Bikmetov, 2018-12-05
@askhat

I recommend PouchDB

  • Embeddable database with support for various backends (SQLite, LevelDB, IndexedDB, WebSQL, LocalStorage)
  • Master-master replication with remote CouchDB/PouchDB
  • Versioning and CRDT
  • Nice admin interface

G
grinat, 2018-12-09
@grinat

Electron is a regular browser, the fastest is the key value, i.e. the usual dibi index will suffice. If sql is needed, then put the plugin under the node with sqlite. Pouch dibi, by the way, is a rare piece of shit.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question