Hi,

each option in the database space is good at different things and have very 
different usage profiles. The most important question you have to answer 
before you even think of which DB system to use or whether you even want to 
use one at all is:

What is my data and access profile.

For example:
 * If you never search for data, because you always have a unique 
identifier (primary key), then maybe you don't need a DB system, but are 
better off with a Key Value store.
 * If you never modify data once it has been stored, but simply write once 
read often, then you have a different need than if you modify your data. 
(Example: CouchDB gives you strong version enforcement, which you don't 
need in that case then at the cost of speed and complexity).
 * How much data are you expecting? Does it even need to be persisted at 
all? For example if you are only doing session storage, you might be better 
of just doing a memcached cluster, because if you calculate your data-size, 
you might be able to handle multiple million users with a few gigs of ram.

So the question you have asked is like: "I want to move an object, what 
kind of vehicle should I use"
Well first you need to think about: "What kind of object? Over what kind of 
terrain? Across Oceans? Off planet? At what speed? …"

So before you consider what DB to use, first consider your data, then your 
access patterns, then research the options, and then decide ;)




On Wednesday, August 28, 2013 3:35:40 PM UTC+2, Dylan Hassinger wrote:
>
> Hi everybody - I am a Node newb building my first app, and trying to 
> figure out which database system to use. Can anybody shed some light on 
> what the major differences are between Mongo, Couch and LevelDB - and when 
> is the right time to to use them?
>
> Specifically, is the syntax similar between them / is it easy to switch 
> after-the-fact?
>
> Also wondering if anybody has suggestions for hosted database-as-a-service 
> options? I've heard good things about MongoHQ, but not sure if there's 
> hosted options for Couch or LevelDB. Thanks for any help!!
>
> dylan
>

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to