Im trying to make simpe desktop app with electron or nw.js (not decided yet). But I see a big problem right now with databases.
I need to handle something about 1-2 millions of records, so i started to search and test. Sqlite looks ok, it can handle it, but its hard to compile for both - nw and electron. Always some errors and I gived up for now. So I tested NeDB. Fast, little, nice. After inserting 200k records on nw.js, database was never fully loaded, and count operation was not possible. So i never have any chance to test it with million records. Key / value databases to much work, need SQL or collections like MongoDb.
Do you have any ideas to make fast, embedded database for Nw.js/Electron desktop apps?