Вопрос

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)?

Это было полезно?

Решение

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

Другие советы

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.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top