DEV Community

An Introduction to Graph Databases: The Power of Connected Data

Michael Bogan on May 22, 2020

In today's economy, more and more companies exist primarily online. While there's much discussion around the consequences of leaving behind the tra...
Collapse
 
sidpalas profile image
sidpalas

Graph databases are super interesting!

A while back I did some exploratory data analysis on the public Enron email dataset:

github.com/sidpalas/enron-email/bl...

After some initial work in python, I loaded the data into neo4j using the following schema:

Nodes:
- email:
    - message_id
    - timestamp
    - subject
- person:
    - email_address

Relationships:
- person - [sent|received_to|received_cc] -> email
Enter fullscreen mode Exit fullscreen mode

I ran into some HW limitations on my 2012 MacBook air at the time and didn't do much w/ the Neo4j DB, but I'm sure there is a treasure trove of interesting queries to run against those data!

Maybe now that I have a newer computer I should give it another go!

Collapse
 
thegardenman profile image
TheGardenMan

Hi thanks for this article.
I am learning Neo4j now..
I am building an Instagram-like app.
Should I store posts in an (RDBMS or NoSQL) or as a node in Neo4j?
Which would be suitable for frequent updates (likes,views)?

Collapse
 
mkunikow profile image
Michal Kunikowski

Everybody talks about graphs databases only mention Neo4j , but why nobody mention distributed graph databases like dgraph.io/ ....

Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt

Now I have to wonder, what is the starting price for deploying Neo4j, or other graph databases?

Collapse
 
aoloo profile image
Allan Oloo

@mbogan I don't think heroku offers GrapheneDb as a hosted solution anymore in their platform. docs.graphenedb.com/docs/shutdown-...