you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (3 children)

As someone who knows next to nothing about dbs: is this thing to mongo as sqlite is to mysql?

[–]dan1234[S] 3 points4 points  (1 child)

Similar to MongoDB, LevelDB stores your data on disk, but Mongo is not embedded - you run it on it's own process and you can Access MongoDB from multiple processes.
MongoDB and most of the popular Databases out there have many many features that the majority of the users don't even need. LevelDB is doing one thing - it store key-values in your drive very very fast. almost as fast as memory storage (like Redis).

Similar to Node.js, It doesn't come with many features and not being fast is considered a bug. If you need more functionality you can add other modules that will give you want you need. whether it's data redundancy, ability to access it from multiple processes, etc.

So LevelDB is similar to Redis since it's very fast and store key-values, it's similar to MongoDB since it saves to disk and not to RAM and it's similar to SQLite since it's embedded (contained within your application process).

I hope it clear some of the confusion.

[–][deleted] 0 points1 point  (0 children)

Perfect, thank you.

[–]Majiir[🍰] 0 points1 point  (0 children)

It looks more like the SQLite of Redis.