Question

Maybe a silly question :)

If we use separate physical servers for Application and Database, when using Traversal framework, which one of the servers should support the queries (DB or Application)?

Était-ce utile?

La solution

Neo4j traversals run on the Neo4j database server, if you are using the server version of Neo4j.

Autres conseils

Disclaimer: I'm building a similar system right now, so my view is probably biased.

My Node.js Application server provides an Angular app from the /public folder. The client application speaks only to the Application server.

Generally it works like this: Client sends a message to Server. Server returns a promise to client. Server queries the DB, performs any necessary manipulation to the data. Server resolves the promise. Client interprets the response.

hope that's helpful.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top