AWS Neptune 超时简单查询

问题描述 投票:0回答:1

我有一个相当简单的海王星查询,获取接下来的 5 个节点

this.g.V(id).repeat(__.inE().outV()).emit().times(depth).tree().by(__.valueMap(true));

我的图目前很小,大约有 3500 个节点。查询一般需要< 1 second to run. In my logs i see successful calls taking < 1 second, then 5 minutes later, it times out after 30 seconds. Then a call 2 minutes later works.

我现在不确定要检查什么;我遵循 https://docs.aws.amazon.com/neptune/latest/userguide/lambda-functions-examples.html 中的指南,在 lambda 处理程序外部创建连接以供重用。我准备尝试在每个 lambda 调用上重新创建连接,但想知道是否还有其他可能导致超时的情况。我检查了 cloudwatch,我的 GremlinRequestsPerSec 在过去 12 小时内仅为 2.5 max。

amazon-web-services gremlin amazon-neptune
1个回答
0
投票

单独的并发修改异常/重试导致正常查询超时。

© www.soinside.com 2019 - 2024. All rights reserved.