node.js - Neo4j hangs on multiple operations through rest-api, how to configure it? -
i have neo4j instance run on 10$/mo digitalocean vps:
1gb / 1 cpu, 30gb ssd disk, 2tb transfer
i'm using awesome node library seraph. while tried save bit of data (about 10 properties per node) - (around 100 root nodes + 3-5 related nodes each) after half of start econnreset, missing ids , stuff. guess it's because of wrong configuration/not enough resources.
so how check wrong? kind of logs read?
i found this issue, , added configuration:
neostore.relationshipgroupstore.db.mapped_memory=10m neostore.nodestore.db.mapped_memory=250m neostore.propertystore.db.mapped_memory=500m neostore.propertystore.db.strings.mapped_memory=500m and there less errors, still there lot of stuff lost due econnreset.
what should change? thank much!
- use neo4j 2.2.2
- configure in
neo4j.propertiesdbms.pagecache.memory=250m - configure in
neo4j-wrapper.confwrapper.java.maxmemory=512 - i'm not sure if seraph uses rest api create data or cyphers remote endpoint, latter preferred.
please provide code !!
i presume can whole operation 500 cypher statements each parametrized 10 properties passed neo map parameter can assign directly.
Comments
Post a Comment