2

Neo4j vs Mongo vs SQL

Which one would you choose for a high density scalable database?

Please comment with your ideas about speed and scalability.

Comments
  • 0
    I think you mean mysql
  • 0
    @RazorSh4rk Why? Is oracle's SQL server not even worth mentioning?
  • 3
    A graph db, document db and relational db ?, I mean wouldn't it depend more on the application ?
  • 2
    A lot more parameters if you ask me. What will the database contain? How many users? How many estimated queries per user? Location? Centralisation? To name just a few @ksdme
  • 0
    Take DevRant for example, if you created it what kinda database would you use.
  • 2
    I would say neo4j if you have enough numbers of relations or you want to find patterns in the data (neo4j user myself)

    MongoDb if you dont know the model yet
    Or the model you need to represent doesnt need special contraints and restrictions.

    MySQL well, I would go with Postgres but if everything is well defined and you need integrity and contraints

    Again, IMO
  • 0
    Any ideas on speed? Obviously in-memory databases are the best but for traditional databases which is the way to go for low latency queries?
  • 0
    Elasticsearch all the way!
  • 0
    Postgresql , I have already explained in a long comment why and bored to re-explain.. however take a look to it, performances are awesome!
  • 1
    Postgresql , I have already explained in a long comment why and bored to re-explain.. however take a look to it, performances are awesome!
  • 0
    @omomthings thanks! I'll find your post and read it. We're using postgresql now actually, I was just wondering if there's something even faster than that. Cos we don't really need sql
  • 0
    @vertti I didn't really worked with nosql, however I made some researchs and to make it short: if you have linked data go for sql, otherwise you can go on whatever you want.
    However indexed sql data is faster than nosql but is in a fixed schema. Nosql lacks speed since it's not structured but it gives you more possibilities if you're data is not obeing to a schematical structure but a logical structure..
  • 1
    @omomthings ok got it! Looks like our current setup of postgres + mnesia as an in-memory db is perhaps the best alternative then. Plus postgres is very mature and has a huge set of functionality for business analytics purposes etc.
  • 7
    Like a few people have said it really depends on the type of application and requirements.

    The structure of devRant lends really well to a graph database so that's why we use Neo4j.
  • 2
    @dfox yes I agree, each database is good for a different purpose. Your choice is certainly not a conventional one, it looks interesting!

    I'd like to experiment with kdb+ next
Add Comment