Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Stack Overflow Roundup: Neo4j (More 3.0, More Bolt, and Some Common Questions)

DZone's Guide to

Stack Overflow Roundup: Neo4j (More 3.0, More Bolt, and Some Common Questions)

This week's SO roundup for Neo4j shows a continuing trend. We also have a look at some fundamental questions.

· Database Zone
Free Resource

Learn how to create flexible schemas in a relational database using SQL for JSON.

It's time for our weekly roundup of what's going on in the world of Neo4j on Stack Overflow.

As we saw last week, the latest, major Neo4j release, 3.0, is fresh in the minds of graph database users. Included in that release was the much-awaited Bolt driver which promises a massive performance boost in dealing with Neo4j databases.

This week continues that trend with more questions about Neo4j 3.0 and especially about Bolt. I see this trend continuing on for some time to come so don't be surprised if those particular questions appear rather frequently in the coming weeks and months.

We can also see several questions concerning paths and other Cypher-specific questions, but this week I've picked out some questions that are a little more unique.

Neo4j 3.0 and Bolt

Implementation

It can be easy to forget that Neo4j is actually open sourced. Have a question about how something is implemented? With a little time and patience, you can often uncover the answer you're looking for.

Implementation of toInt in neo4j asks such a question, and as can be seen in the answer which cites the code from the implementation, values that exceed an integer's range will automatically be cast to a long.

Operations

  • neo4j in subfolder behind nginx reverse proxy. It is rather common these days to run a reverse proxy in front of application and database servers. How do we accomplish this with NGINX, one of the most popular reverse proxies available? How do we ensure that the Neo4j server will respect any path segments/prefixes?

  • How to encrypt Neo4j Database. While Neo4j does not currently have any built-in encryption, it is possible to use an encrypted file system as something of a workaround.

Architectural

Neo4J backed by MongoDB or just Neo4J? I've frequently asked this question myself: "I have a lot of data that needs to be stored in addition to their relationships. Should I stick everything in the graph or should I have references into a document store from the graph?"

While there are a few schools of thought on this, the answer given in the Stack Overflow link above is about as succinct as they come. I strongly suggest having a look at it as the answer provides some excellent guidelines for your planning.

Create flexible schemas using dynamic columns for semi-structured data. Learn how.

Topics:
neo4j ,stack overflow ,graph databases ,database ,questions ,answers ,trends

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}