Janusgraph更新的坑
Date: 2019/06/26 Categories: 工作 Tags: janusgraph
我们目前使用的用http接口调用gremlin-server来写入数据(不想用java写), 目前遇到了以下几个坑
Groovy method size
一开始我们把所有的修改拼成字符串, 但jvm限制编译后的代码不超过64k, 因此必须用groovy重新写一遍逻辑, 然后用bindings把数据传进去.
Elasticsearch script rate limit
Too many dynamic script compilation
默认是15/m
PUT http://localhost:9200/_cluster/settings
{
"transient": {
"script.max_compilations_rate": "150/1m"
}
}