What are the benefits of using Spring Data neo4j only when directly using neo4j?

I am completely new to NOSQL databases (or any database) and I need to build a graph database in Java. I have never used SpringSource before. Will using spring neo4j data simplify the process of creating a graph database or will it complicate the situation? Should I just try to work with neo4j directly? Thank you very much.

+6
source share
1 answer

It depends on your use case. SDN works well when you are already running Spring and have a rich domain model that you want to display on the chart. An SDN works well in all cases where you primarily work with the results of several hundred or thousands of POJOs that must interact with existing libraries, ui layers, or other parts of the application that deal with POJOs.

If you do not work in the Spring environment, it is up to you, this adds some complexity to the settings and dependencies. There are also other solutions like jo4neo or Tinkerpop Frames that work on top of Neo4j.

This is slower than the Neo4j native API due to the introduced indirection.

For maximum performance, you can always opt out of the Neo4j API.

In general, the Core-API is the fastest, while there is a good cypher-query language that is very expressive.

+5
source

Source: https://habr.com/ru/post/913742/


All Articles