JanusGraph packages a long running server process that, when started, allows a remote client or logic running in a separate program (??) to make JanusGraph calls. This long running server process is called JanusGraph Server.
For the JanusGraph Server, JanusGraph 使用 Apache TinkerPop 的Gremlin Server 来服务client的请求。JanusGraph提供了一个开箱即用的配置,可以快速启动JanusGraph Server,但可以更改配置以提供广泛的服务器功能。
配置JanusGraph Server是通过位于JanusGraph发行版的./conf/gremlin-server目录中的JanusGraph Server yaml配置文件完成的。要使用graph实例(JanusGraph)配置JanusGraph Server ,JanusGraph Server配置文件需要以下设置:
The plugins entry enables the JanusGraph Gremlin Plugin, which enables auto-imports of JanusGraph classes(自动导入的 JanusGraph classes) so that 它们可以在远程提交的脚本中被引用.