Sunday 15 May 2011

Neo4j performance on Windows Azure -



Neo4j performance on Windows Azure -

firstly apologies nonexistent knowledge in area, passion develope new useful applications not configuring cloud servers :) have spent day trying figure out optimal configuration running neo4j server on windows without success @ :( using approach first-class blog post write simple nodes empty database:

http://maxdemarzi.com/2013/02/14/neo4j-and-gatling-sitting-in-a-tree-performance-t-e-s-t-ing/

simulating 40 users posting 250 new nodes each gives me below (crappy?) results on diffrent machines:

windows azure virtual machine a1 1,75gb 1 cpu core: 41 req/s 814 ms mean response time

windows azure virtual machine a2 3,50gb 2 cpu cores: 41 req/s 971 ms mean response time

windows local machine 8gb intel b950 2.10ghz: 181 req/s 175 ms mean response time

windows local machine 4gb intel i7-3537u 2.00ghz: 140 req/s 280 ms mean response time

so raises obvious questions. why a1 , a2 having simular results? why local 4gb machine performing much improve a2?

i have tried alter wrapper.java.initmemory , wrapper.java.maxmemory 1024, 2048 , 3072 without major performance changes. have tried tweak memory mapped buffer sizes without success. problem running on windows? shouldn't able improve results machines? don't know start here, suggestions extremely appreciated!

regarding questions on can expect:

for creating nodes (despite each create beingness single transaction), if utilize cypher parameter should 1k 2k requests/s remotely.

if batch should more, here test did lately.

json info generator: https://dl.dropboxusercontent.com/u/14493611/cypher.rb

execute 1000 requests 100 nodes each , 4 concurrent users.

ab -h "x-stream: true" -k -n 1000 -c 4 -p cypher_100.json \ -t 'application/json' -h "accept: application/json" \ http://127.0.0.1:7474/db/data/transaction/commit

18s 100k nodes

azure neo4j

No comments:

Post a Comment