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

Stack Overflow Roundup: Neo4j (OGM in PHP, Performance, Concurrency, and Spring Data Neo4j 4)

DZone's Guide to

Stack Overflow Roundup: Neo4j (OGM in PHP, Performance, Concurrency, and Spring Data Neo4j 4)

Looking for your weekly fix of what's going on in the world of Neo4j on Stack Overflow? Well, look no further as it's that time of the week again!

· Database Zone
Free Resource

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

Looking for your weekly fix of what's going on in the world of Neo4j on Stack Overflow? Well, look no further as it's that time of the week again!

This week, we see the introduction of another implementation of the Neo4j OGM (Object-Graph Mapper), some questions concerning performance and scalability, a question related to concurrent MERGE'ing, and quite a few questions related to the use of Spring Data Neo4j (SDN) 4.x.

(We might even throw in a question concerning Neo4j 3.0 to keep that current trend going.)

Neo4j OGM in PHP

Hot off the presses, a PHP implementation of the Neo4j OGM is now available! In spite of it having just been released this morning (May 25, 2016), there is already a question concerning how to make use of it (don't let the title fool you).

Performance and Scalability

  • Node in multiple linked list. Linked lists are a common use case for using a graph and it is worthwhile to understand the ins and outs of such lists in Neo4j. The question asked is a common one, but a couple different answers are given and compared for scalability reasons. I strongly suggest having a look over this one.

  • Bad performance with OR operator. Sometimes, even with the right indices and a good data model setup, you can't always get the performance you want. Have a look at this question to see an example of such a situation, though the real value of this question is trying to set up something similar and use Cypher's EXPLAIN feature to see just what is possible with Cypher's query execution planner.

Concurrent MERGE

This question, while it may seem fairly obvious, is still one worth looking at given the parallel/concurrent nature of its usage. The answers to the question help reinforce a key point about MERGE and how it operates with constraints, so be sure to have a read through.

Spring Data Neo4j 4.x

This week has seen a slew of questions related to the use of SDN 4.x.  It would look as though its adoption is picking up as more and more users migrate from 3.x.

Legacy Index in Neo4j 3.x

There currently exists an issue in Neo4j 3.x that does not allow for the proper indexing, searching, and sorting of numeric value in manual (legacy) indices. This previously used to work in Neo4j 2.x. Keep an eye on this question (and the related GitHub issue) if this issue affects you.

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

Topics:
neo4j ,stack overflow ,graph databases ,database ,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 }}