On my app I have data of 5 million users. I load it into Neo4j as a graph.
Also, on Spark I processed the data, and for each user I need to query Neo4j.
I did it using a spark UDF, that http calls Neo4j server.
It took too long and get connection errors.
What is the better way to do 5M queries to neo4j?