mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-18 01:31:02 +02:00
- Separate memgraph query/write modules to optimise for memgraph
- Used 2GB memory for Memgraph, overkill, gonna wind that back
This commit is contained in:
parent
e3d06ab80b
commit
1a4388ee59
12 changed files with 625 additions and 6 deletions
|
|
@ -16,7 +16,7 @@ memgraph + {
|
|||
engine.container("store-triples")
|
||||
.with_image(images.trustgraph)
|
||||
.with_command([
|
||||
"triples-write-neo4j",
|
||||
"triples-write-memgraph",
|
||||
"-p",
|
||||
url.pulsar,
|
||||
"-g",
|
||||
|
|
@ -50,7 +50,7 @@ memgraph + {
|
|||
engine.container("query-triples")
|
||||
.with_image(images.trustgraph)
|
||||
.with_command([
|
||||
"triples-query-neo4j",
|
||||
"triples-query-memgraph",
|
||||
"-p",
|
||||
url.pulsar,
|
||||
"-g",
|
||||
|
|
|
|||
|
|
@ -10,8 +10,11 @@ local images = import "values/images.jsonnet";
|
|||
local container =
|
||||
engine.container("memgraph")
|
||||
.with_image(images.memgraph_mage)
|
||||
.with_limits("1.0", "1000M")
|
||||
.with_reservations("0.5", "1000M")
|
||||
.with_environment({
|
||||
MEMGRAPH: "--storage-properties-on-edges=true --storage-enable-edges-metadata=true"
|
||||
})
|
||||
.with_limits("1.0", "2000M")
|
||||
.with_reservations("0.5", "2000M")
|
||||
.with_port(7474, 7474, "api")
|
||||
.with_port(7687, 7687, "api2");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue