i have large file updated (around 10mb grow +100mb)
it json , using database. don't want use mongo in case because needs live self contained on client machine (i using electron package it) , because distributed windows trying avoid compiled code.
the problem gets corrupted when node closes. have tried saving .tmp file , renaming once done, has reduced number of corrupted incidents, there better way (or native js db system)? don't need querying, load , save.
Comments
Post a Comment