J
J
joger2011-05-26 11:15:03
Database
joger, 2011-05-26 11:15:03

DB for node.js

for self-education, I am writing a game in JS and node.js. the question arose: is there a “native” DB for node.js? in the sense of stable libraries, a large community, performance? in this case, the most basic "key->value" functionality would suffice. it would be possible to get by with files, but I'm afraid they can grow by several MB.
Thank you

Answer the question

In order to leave comments, you need to log in

4 answer(s)
G
gaelpa, 2011-05-26
@gaelpa

Well, if for self-education and javascript, then try using CouchDB . Not that very native, but there is a linguistic connection.

G
GeniyZ, 2011-05-26
@GeniyZ

I strongly recommend MongoDB through mongoose - currently the most qualitatively developed bundle for the node
+ in many projects it is already a de facto standard
+ simple, understandable, concise and powerful toolkit
+ consumes few resources (like everything for the node, like the node itself =)) )
+ the documentation is enough
...
PS: mongoosejs.com/

I
Ivan, 2011-05-26
@iSage

In the recommended list, the node has github.com/felixge/node-mysql but it does not seem to be designed for a high load.
Best of all, IMHO, MongoDB is suitable, they have a driver for the node (even a couple).

R
Renat Ibragimov, 2011-05-26
@MpaK999

If key->value then look at Redis, they also have a queue that works properly and can be twisted with Memcache

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question