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

Exactly what https://dgraph.io is built for. Low latency, high throughput.


Looks interesting.

That semi-declarative query language is hideous though. Reminds me of attempts to make XML into a programming language.


(author of Dgraph)

It's based on GraphQL, which is definitely not a hack like XML => language and currently catching on faster than a forest fire. Dgraph's derivation, GraphQL+- (for lack of better name) is a lot more powerful than Cypher or Gremlin. Both of the latter allow only returning lists of results; while GraphQL+- returns back an entire subgraph. Thus, all the relationships are maintained. It also allows expressing complex joins using a function like variable blocks; feeding results from one into another like you'd do in any popular language.

You can try running some complex queries with GraphQL+-, it might change your view. http://play.dgraph.io/


Cool af

Edit: I still think it looks hideous. Def try to figure it out more tomorrow.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: