【发布时间】:2023-01-26 17:31:45
【问题描述】:
我正在使用包含 MAGE 1.5.1 的 Memgraph Platform 2.6.4。我注意到 MAGE 有一个 interesting part of the code 告诉我您可以在服务器上使用多处理。但是,我可以绕过 mgp.ProcCtx 并在使用实际图形的 Python 中实现并行图形算法,还是我需要像 this example 那样处理图形表示?
【问题讨论】:
标签: memgraphdb
我正在使用包含 MAGE 1.5.1 的 Memgraph Platform 2.6.4。我注意到 MAGE 有一个 interesting part of the code 告诉我您可以在服务器上使用多处理。但是,我可以绕过 mgp.ProcCtx 并在使用实际图形的 Python 中实现并行图形算法,还是我需要像 this example 那样处理图形表示?
【问题讨论】:
标签: memgraphdb
您可以将 mgp.ProcCtx 对象传递给函数并以多处理方式处理它们。但是您不能做的是以多处理方式写入该处理图上的 Memgraph 更改。
【讨论】: