首页
14 条评论
sailfast将近 12 年前
As someone that has a JS background and is looking to get started with node, this is a welcome addition. I like the idea of being able to throw a require statement in and get up and running. Syntax for inserts and queries look straightforward too. Thanks!
评论 #5912477 未加载
bsg75将近 12 年前
The trend continues where all things eventually get implemented in Javascript. Waiting for JS.js
评论 #5912506 未加载
评论 #5912426 未加载
评论 #5912325 未加载
rdudekul将近 12 年前
Great idea and project. Questions:
a) Is the database loosely coupled to query language implementation?
b) In my biased opinion RethinkDB has a much better query language. Is there a way to implement RethinkDB's query semantics and how much work is involved?
c) Underscore.js has a ton of collection manipulation functions. How easy is it to use it from within NeDB?
d) How easy/difficult is it to run NeDB as a lightweight RESTful server, in its own Node process?
评论 #5913192 未加载
Cyranix将近 12 年前
Perfect timing. I spun up a project fairly recently using node-webkit and wanted this, exactly. Getting SQLite integrated wasn't particularly painful, but a document storage model is just what I had hoped for. Thanks for the contribution; looking forward to giving it a try!
评论 #5912795 未加载
ivarvong将近 12 年前
It might be interesting to persist snapshots to S3. It might be usable for small projects on Heroku/etc with ephemeral storage. It could be patched here (?) [1], but clearly there'd be a lot of issues with the long network call, how often to do it, how durable it really is, etc.<p>1: <a href="https://github.com/louischatriot/nedb/blob/b1abd34384cefea16e7cf86c7316f602d26d4e3d/lib/datastore.js#L368" rel="nofollow">https://github.com/louischatriot/nedb/blob/b1abd34384cefea16...</a>
jdp将近 12 年前
Reminds me of a beefed-up version of this similar project: <a href="https://github.com/chjj/node-tiny" rel="nofollow">https://github.com/chjj/node-tiny</a>
itsnotlupus将近 12 年前
node-webkit seems to have a number of options for local storage: <a href="https://github.com/rogerwang/node-webkit/wiki/Save-persistent-data-in-app" rel="nofollow">https://github.com/rogerwang/node-webkit/wiki/Save-persisten...</a><p>Amongst those are a native SQL engine (sqlite) and a native NoSQL engine (levelDB, through the IndexedDB API)<p>It'd be useful to know what benefits NeDB brings over other existing storage mechanisms.
评论 #5916916 未加载
baudehlo将近 12 年前
From what I can make out, this won't work under cluster, right? You won't get new data written from one worker in another. It also has no locking so you can easily corrupt the database if you access it from multiple programs at once (or with cluster).
评论 #5912682 未加载
评论 #5912719 未加载
tantalor将近 12 年前
What does this have to do with node-webkit? My understanding is that nodejs is a subset of node-webkit, so by saying "this is for nodejs", you imply "this is for node-webkit".
评论 #5912854 未加载
glenjamin将近 12 年前
node.js used to see really slow GC cycles (>1s) at over ~5/600MB of heap usage, and bomb out fatally at 1GB. Is this still the case?<p>If it is, you should probably put a larger warning about dataset size than the line you currently have :)
评论 #5913016 未加载
WayneDB将近 12 年前
Awesome! I've been looking for a project like this for a small app and have been exploring things like EJDB and UnqLite, among others. I'll definitely be checking this out. Thanks.
评论 #5913251 未加载
fourstar将近 12 年前
How is this different from mongodb? Aside from being written in javascript and having a non-existent community around it?
评论 #5915539 未加载