Reputation: 1
Insert data in sqlite database concurrently uisng node js.
How to insert data in sqlite database concurrently using node js considering 10000 records per seconds.Issue im facing is of database locked if alreday database is in write mode and some data comes at that time to write in db. Npm library used is node-sqlite3. Even other api process is reading from the same file multiple time.
Is there any way to insert records at faster rate using node js in batches. Because row by row insertion is very slow.
Upvotes: 0
Views: 55