I have deployed a neo4j DB on microsoft Azure , it takes so long (2-3 seconds) to make connection and a much longer time ( 5- 7 seconds!) on making a simple queries , like:
client.Cypher.Match("(recipe:Recipe)")
.Where("recipe.name = {name} AND recipe.whoMadeItEmail = {mader}")
.WithParams(parameters)
.Return(recipe => recipe.As<Recipe>())
.Results;
it's so frustrating , we're developing a web and two applications for startup and we're struggling with the this poor performance , I also keep getting this weird error that the cord is unplugged! I run it on a ubuntu 12.04 neo4j version : 2.0.1 virtual machine : A4 (8 cores , 14GB memory)
what's wrong !!! ?
The Neo4j VM available through the Microsoft Azure image depot is out of date. I advise deploying Neo4j to Microsoft Azure using Docker. You can find the latest available Docker image for Neo4j community here: https://registry.hub.docker.com/u/kbastani/docker-neo4j/
Also, you can use Elastic Beanstalk through Amazon EC2 using SSDs for better performance.
If you're set on Microsoft Azure's limited support for Docker, you can follow this guide: http://azure.microsoft.com/en-us/documentation/articles/virtual-machines-docker-vm-extension/
Did you
Create index on :Recipe(name)
?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.