Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yes, on the queries that I've done (mostly friendship graphs, and doing queries like getting friends of friends) postgres was pretty much on par with neo4j. I'm way more familiar with tuning postgres though, so there's that.

I really liked the cypher query language of neo4j, it was super easy to learn and is way simpler to express complex traversals across a graph. Writing a query in postgres to traverse a graph isn't as straightforward, and unless you're doing it often will take a long time to get used to.



i wasnt expecting that answer...

how large was your friends table? maybe it was quick when doing friends of friends because the friends table was already wholly loaded into memory?

i wonder if your relationship traversals spanned across different tables, if postgres would still be as quick?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: