When trying to diagnose performance issues with parallelized writes running on a kubernetes cluster, I found that running Runtime.getRuntime().availableProcessors() in a stored procedure returns 1, even though it's running on a node with 8 cores. Ru...
@benjamin.squire ah OK, that explains it. The subgraphs I'm iterating over in my above example ensure that all subgraph nodes are dropped in the same thread. However, because subgraphs are connected through shared nodes, dropping a subgraph resulte...
@benjamin.squire thanks for sharing--a lot of food for thought there. I was able to implement a solution following your 3 method: in parallel, mark all nodes for deletion; in sequence, delete all relationships; in parallel, delete all nodes. Unfort...
In graph-algos we're currently trying to use clustering (e.g. unionFind) to find independent clusters which then can have their relationships created/deleted in concurrently.
@michael.hunger does this imply that relationships should be able to be d...
Figured out how to set heap size via env variable: NEO4J_dbms_jvm_additional=-Xms10g -Xmx10g, which seems preferable to maintaining the ConfigMap as mentioned above. In all, the StatefulSet definition looks like:
apiVersion: apps/v1
kind: StatefulSe...
Good call, setting resources.limits.cpu to 8 causes the JDK runtime availableProcessors() to return 8. E.g.
containers:
- name: neo4j
image: neo4j:3.5-enterprise
resources:
requests:
memory...