Answer the question
In order to leave comments, you need to log in
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
Well, if for self-education and javascript, then try using CouchDB . Not that very native, but there is a linguistic connection.
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/
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).
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 questionAsk a Question
731 491 924 answers to any question