LiteDB icon indicating copy to clipboard operation
LiteDB copied to clipboard

[QUESTION]

Open ragininternet opened this issue 3 years ago • 1 comments

Hi, thanks for your great tool (used it already in a few SingelPageApps). Now I would like to use LiteDB for our small business 5 user at the same time (could be max 10). Is LiteDb working in this kind of environment? Read/ Write access /concurrency? Or Is LiteDb more of a singel user solution? I can't find any info on multiuser scenarios and limitations?

ragininternet avatar Jan 17 '22 18:01 ragininternet

LiteDB does provide a "shared" connection access, but this has performance overhead - it's generally preferred to use it in direct connection access. The main issue you will be facing for multi-user access is where you'd be placing your LiteDB file. If you place it on a network storage device (like a Cloud NAS device) and attempt to directly access the file, writing to the database will be slow because of I/O costs. If you are talking to a server, then LiteDB will be usuable, but may not be competitive with other server-dedicated databases.

agreentejada avatar Jan 26 '22 21:01 agreentejada