Re: [Neo4j] Rest API requests

2010-11-30 Thread Peter Neubauer
Max,
with my neo4j server 1.2.M04, I am getting quite ok results for 10.000
nodes threaded:

[~/code/ruby/neography] $rspec spec/integration/rest_bulk_spec.rb
No Extensions Found: /Users/peterneubauer/.neography
created neo4j REST
can crate many nodes
.created neo4j REST
  user system  totalreal
create 5000 nodes  22.322000   0.00  22.322000 ( 22.322000)
create 5000 nodes threaded 12.262000   0.00  12.262000 ( 12.262000)
create 1 nodes threaded 19.30   0.00  19.30 ( 19.30)
.created neo4j REST
.created neo4j REST
.created neo4j REST
.created neo4j REST
.created neo4j REST
.created neo4j REST
  user system  totalreal
create 1 node  0.004000   0.00   0.004000 (  0.004000)
create 10 nodes  0.023000   0.00   0.023000 (  0.023000)
create 100 nodes  0.369000   0.00   0.369000 (  0.369000)
.created neo4j REST
.created neo4j REST
.created neo4j REST
  user system  totalreal
get 1 node   0.002000   0.00   0.002000 (  0.002000)
get 10 nodes  0.016000   0.00   0.016000 (  0.016000)
get 100 nodes  0.379000   0.00   0.379000 (  0.378000)
.

Finished in 55.3 seconds
11 examples, 0 failures


Of course the REST API is not superfast, but it seems to work at least
for these tests. Would like reproduce your problem though - maybe we
could use neography (especially when integrated with neo4j.rb) as a
performance test we can run against both the server and the embedded
case to monitor performance between releases. WDYT?

Cheers,

/peter neubauer

COO and Sales, Neo Technology

GTalk:      neubauer.peter
Skype       peter.neubauer
Phone       +46 704 106975
LinkedIn   http://www.linkedin.com/in/neubauer
Twitter      http://twitter.com/peterneubauer

http://www.neo4j.org               - Your high performance graph database.
http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.



On Sat, Nov 27, 2010 at 12:27 AM, Max De Marzi Jr. maxdema...@gmail.com wrote:
 Try upping the number of nodes created.  Try 200, 500, 1000.

 On Fri, Nov 26, 2010 at 9:30 AM, Peter Neubauer
 neubauer.pe...@gmail.com wrote:
 Ok,
 Andreas helped me to get RVM set up and things working.

 When are you getting the problem? My testing ran good ...

 /peter

 On Wed, Nov 24, 2010 at 5:26 AM, Max De Marzi Jr. maxdema...@gmail.com
 wrote:
 Hum... not sure try just:

  rspec spec/integration/rest_experimental_spec.rb

 On Tue, Nov 23, 2010 at 3:20 PM, Peter Neubauer
 peter.neuba...@neotechnology.com wrote:
 Mmh,
 to start with, I am stuck with some OpenSSL error when trying to run
 rspecs:

 bundle exec rspec spec/integration/rest_node_spec.rb
 JRuby limited openssl loaded. gem install jruby-openssl for full
 support.
 http://jruby.kenai.com/pages/JRuby_Builtin_OpenSSL
 JRuby limited openssl loaded. gem install jruby-openssl for full
 support.
 http://jruby.kenai.com/pages/JRuby_Builtin_OpenSSL
 No Extensions Found: /Users/peterneubauer/.neography
 FFF

 Failures:
  1) Neography::Rest get_root can get the root node
     Failure/Error: root_node = @neo.get_root
     OpenSSL::SSL requires the jruby-openssl gem
     # ./lib/neography/rest.rb:268:in `get'
     # ./lib/neography/rest.rb:27:in `get_root'
     # ./spec/integration/rest_node_spec.rb:10
     # :1

  2) Neography::Rest create_node can create an empty node
     Failure/Error: new_node = @neo.create_node
     uninitialized constant OpenSSL::SSL
     # ./lib/neography/rest.rb:272:in `post'
     # ./lib/neography/rest.rb:35:in `create_node'
     # ./spec/integration/rest_node_spec.rb:17
     # :1

  3) Neography::Rest create_node can create a node with one property
     Failure/Error: new_node = @neo.create_node(name = Max)
     uninitialized constant OpenSSL::SSL
     # ./lib/neography/rest.rb:272:in `post'
     # ./lib/neography/rest.rb:33:in `create_node'
     # ./spec/integration/rest_node_spec.rb:22
     # :1


 Any hints what could be the reason? I have installed

 gem install jruby-openssl but are still getting that error on Mac OSX.
 Any hints?

 /peter
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Rest API requests

2010-11-30 Thread Max De Marzi Jr.
I still can't get more than 100 to work on jruby 1.5.5 for some reason.

1.8.7 and 1.9.2 finished just fine, although much slower than your numbers.

Is your neo4j server configured different from the basic install?

My numbers are below.
Ubuntu 10.04.1 LTS
Dual Six-Core AMD Opteron(tm) Processor 2435 (2600 mhz)
MemTotal:   66111528 kB

ubuntu ~/forks/neography: ruby -v
ruby 1.8.7 (2010-08-16 patchlevel 302) [x86_64-linux]
ubuntu ~/forks/neography: rspec spec/integration/rest_bulk_spec.rb
No Extensions Found: /home/max/.neography
.  user system  totalreal
create 5000 nodes  10.40   1.34  11.74 (117.091802)
create 5000 nodes threaded 14.98   1.56  16.54 (102.201464)
create 10 nodes threaded 34.68   2.74  37.42 (202.093270)
..  user system  totalreal
create 1 node  0.00   0.01   0.01 (  0.024057)
create 10 nodes  0.01   0.00   0.01 (  0.284310)
create 100 nodes  0.33   0.03   0.36 (  2.615432)
...  user system  totalreal
get 1 node   0.00   0.00   0.00 (  0.002379)
get 10 nodes  0.02   0.00   0.02 (  0.022404)
get 100 nodes  0.28   0.02   0.30 (  0.349996)
.

Finished in 428.01 seconds
11 examples, 0 failures
-

ubuntu ~/forks/neography: ruby -v
ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-linux]
ubuntu ~/forks/neography: rspec spec/integration/rest_bulk_spec.rb
No Extensions Found: /home/max/.neography
.  user system  totalreal
create 5000 nodes   8.00   1.45   9.45 (114.810846)
create 5000 nodes threaded  8.05   1.48   9.53 (104.294498)
create 10 nodes threaded 18.21   2.99  21.20 (207.637774)
..  user system  totalreal
create 1 node  0.00   0.00   0.00 (  0.020086)
create 10 nodes  0.00   0.00   0.00 (  0.200155)
create 100 nodes  0.20   0.01   0.21 (  2.203726)
...  user system  totalreal
get 1 node   0.00   0.00   0.00 (  0.001373)
get 10 nodes  0.01   0.00   0.01 (  0.012774)
get 100 nodes  0.20   0.01   0.21 (  0.221110)
.

Finished in 432.28 seconds
11 examples, 0 failures
-

ubuntu ~/forks/neography: ruby -v
jruby 1.5.5 (ruby 1.8.7 patchlevel 249) (2010-11-10 4bd4200) (Java
HotSpot(TM) 64-Bit Server VM 1.6.0_20) [amd64-java]
ubuntu ~/forks/neography: rspec spec/integration/rest_bulk_spec.rb

No Extensions Found: /home/max/.neography
.  user system  totalreal
create 5000 nodes FFF...  user system  totalreal
create 1 node  0.034000   0.00   0.034000 (  0.034000)
create 10 nodes  0.453000   0.00   0.453000 (  0.453000)
create 100 nodes  2.882000   0.00   2.882000 (  2.882000)
...  user system  totalreal
get 1 node   0.004000   0.00   0.004000 (  0.004000)
get 10 nodes  0.037000   0.00   0.037000 (  0.037000)
get 100 nodesF


On Tue, Nov 30, 2010 at 8:01 AM, Peter Neubauer
neubauer.pe...@gmail.com wrote:
 Max,
 with my neo4j server 1.2.M04, I am getting quite ok results for 10.000
 nodes threaded:

 [~/code/ruby/neography] $rspec spec/integration/rest_bulk_spec.rb
 No Extensions Found: /Users/peterneubauer/.neography
 created neo4j REST
 can crate many nodes
 .created neo4j REST
      user     system      total        real
 create 5000 nodes          22.322000   0.00  22.322000 ( 22.322000)
 create 5000 nodes threaded 12.262000   0.00  12.262000 ( 12.262000)
 create 1 nodes threaded 19.30   0.00  19.30 ( 19.30)
 .created neo4j REST
 .created neo4j REST
 .created neo4j REST
 .created neo4j REST
 .created neo4j REST
 .created neo4j REST
      user     system      total        real
 create 1 node  0.004000   0.00   0.004000 (  0.004000)
 create 10 nodes  0.023000   0.00   0.023000 (  0.023000)
 create 100 nodes  0.369000   0.00   0.369000 (  0.369000)
 .created neo4j REST
 .created neo4j REST
 .created neo4j REST
      user     system      total        real
 get 1 node   0.002000   0.00   0.002000 (  0.002000)
 get 10 nodes  0.016000   0.00   0.016000 (  0.016000)
 get 100 nodes  0.379000   0.00   0.379000 (  0.378000)
 .

 Finished in 55.3 seconds
 11 examples, 0 failures


 Of course the REST API is not superfast, but it seems to work at least
 for these tests. Would like reproduce your problem though - maybe we
 could use neography (especially when integrated with neo4j.rb) as a
 performance test we can run against both the server and the embedded
 case to monitor performance between releases. WDYT?

 Cheers,

 /peter neubauer

 COO and Sales, Neo Technology

 GTalk:      neubauer.peter
 Skype       peter.neubauer
 Phone       +46 704 106975
 

Re: [Neo4j] Rest API requests

2010-11-30 Thread Peter Neubauer
Mmh,
I am running on OSX with SSD, on a un-tweaked neo4j-1.2.M04 instance.
Kinda hard to know what the difference is, and if it is JRuby parts or
the server being slow. Maybe you could test going against a dummy
webservice and see what happens?

Cheers,

/peter neubauer

GTalk:      neubauer.peter
Skype       peter.neubauer
Phone       +46 704 106975
LinkedIn   http://www.linkedin.com/in/neubauer
Twitter      http://twitter.com/peterneubauer

http://www.neo4j.org               - Your high performance graph database.
http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.



On Tue, Nov 30, 2010 at 6:12 PM, Max De Marzi Jr. maxdema...@gmail.com wrote:
 I still can't get more than 100 to work on jruby 1.5.5 for some reason.

 1.8.7 and 1.9.2 finished just fine, although much slower than your numbers.

 Is your neo4j server configured different from the basic install?

 My numbers are below.
 Ubuntu 10.04.1 LTS
 Dual Six-Core AMD Opteron(tm) Processor 2435 (2600 mhz)
 MemTotal:       66111528 kB

 ubuntu ~/forks/neography: ruby -v
 ruby 1.8.7 (2010-08-16 patchlevel 302) [x86_64-linux]
 ubuntu ~/forks/neography: rspec spec/integration/rest_bulk_spec.rb
 No Extensions Found: /home/max/.neography
 .      user     system      total        real
 create 5000 nodes          10.40   1.34  11.74 (117.091802)
 create 5000 nodes threaded 14.98   1.56  16.54 (102.201464)
 create 10 nodes threaded 34.68   2.74  37.42 (202.093270)
 ..      user     system      total        real
 create 1 node  0.00   0.01   0.01 (  0.024057)
 create 10 nodes  0.01   0.00   0.01 (  0.284310)
 create 100 nodes  0.33   0.03   0.36 (  2.615432)
 ...      user     system      total        real
 get 1 node   0.00   0.00   0.00 (  0.002379)
 get 10 nodes  0.02   0.00   0.02 (  0.022404)
 get 100 nodes  0.28   0.02   0.30 (  0.349996)
 .

 Finished in 428.01 seconds
 11 examples, 0 failures
 -

 ubuntu ~/forks/neography: ruby -v
 ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-linux]
 ubuntu ~/forks/neography: rspec spec/integration/rest_bulk_spec.rb
 No Extensions Found: /home/max/.neography
 .      user     system      total        real
 create 5000 nodes           8.00   1.45   9.45 (114.810846)
 create 5000 nodes threaded  8.05   1.48   9.53 (104.294498)
 create 10 nodes threaded 18.21   2.99  21.20 (207.637774)
 ..      user     system      total        real
 create 1 node  0.00   0.00   0.00 (  0.020086)
 create 10 nodes  0.00   0.00   0.00 (  0.200155)
 create 100 nodes  0.20   0.01   0.21 (  2.203726)
 ...      user     system      total        real
 get 1 node   0.00   0.00   0.00 (  0.001373)
 get 10 nodes  0.01   0.00   0.01 (  0.012774)
 get 100 nodes  0.20   0.01   0.21 (  0.221110)
 .

 Finished in 432.28 seconds
 11 examples, 0 failures
 -

 ubuntu ~/forks/neography: ruby -v
 jruby 1.5.5 (ruby 1.8.7 patchlevel 249) (2010-11-10 4bd4200) (Java
 HotSpot(TM) 64-Bit Server VM 1.6.0_20) [amd64-java]
 ubuntu ~/forks/neography: rspec spec/integration/rest_bulk_spec.rb

 No Extensions Found: /home/max/.neography
 .      user     system      total        real
 create 5000 nodes         FFF...      user     system      total        real
 create 1 node  0.034000   0.00   0.034000 (  0.034000)
 create 10 nodes  0.453000   0.00   0.453000 (  0.453000)
 create 100 nodes  2.882000   0.00   2.882000 (  2.882000)
 ...      user     system      total        real
 get 1 node   0.004000   0.00   0.004000 (  0.004000)
 get 10 nodes  0.037000   0.00   0.037000 (  0.037000)
 get 100 nodesF


 On Tue, Nov 30, 2010 at 8:01 AM, Peter Neubauer
 neubauer.pe...@gmail.com wrote:
 Max,
 with my neo4j server 1.2.M04, I am getting quite ok results for 10.000
 nodes threaded:

 [~/code/ruby/neography] $rspec spec/integration/rest_bulk_spec.rb
 No Extensions Found: /Users/peterneubauer/.neography
 created neo4j REST
 can crate many nodes
 .created neo4j REST
      user     system      total        real
 create 5000 nodes          22.322000   0.00  22.322000 ( 22.322000)
 create 5000 nodes threaded 12.262000   0.00  12.262000 ( 12.262000)
 create 1 nodes threaded 19.30   0.00  19.30 ( 19.30)
 .created neo4j REST
 .created neo4j REST
 .created neo4j REST
 .created neo4j REST
 .created neo4j REST
 .created neo4j REST
      user     system      total        real
 create 1 node  0.004000   0.00   0.004000 (  0.004000)
 create 10 nodes  0.023000   0.00   0.023000 (  0.023000)
 create 100 nodes  0.369000   0.00   0.369000 (  0.369000)
 .created neo4j REST
 .created neo4j REST
 .created neo4j REST
      user     system     

Re: [Neo4j] Rest API requests

2010-11-26 Thread Peter Neubauer
Ok,
Andreas helped me to get RVM set up and things working.

When are you getting the problem? My testing ran good ...

/peter

On Wed, Nov 24, 2010 at 5:26 AM, Max De Marzi Jr. maxdema...@gmail.com wrote:
 Hum... not sure try just:

  rspec spec/integration/rest_experimental_spec.rb

 On Tue, Nov 23, 2010 at 3:20 PM, Peter Neubauer
 peter.neuba...@neotechnology.com wrote:
 Mmh,
 to start with, I am stuck with some OpenSSL error when trying to run
 rspecs:

 bundle exec rspec spec/integration/rest_node_spec.rb
 JRuby limited openssl loaded. gem install jruby-openssl for full support.
 http://jruby.kenai.com/pages/JRuby_Builtin_OpenSSL
 JRuby limited openssl loaded. gem install jruby-openssl for full support.
 http://jruby.kenai.com/pages/JRuby_Builtin_OpenSSL
 No Extensions Found: /Users/peterneubauer/.neography
 FFF

 Failures:
  1) Neography::Rest get_root can get the root node
     Failure/Error: root_node = @neo.get_root
     OpenSSL::SSL requires the jruby-openssl gem
     # ./lib/neography/rest.rb:268:in `get'
     # ./lib/neography/rest.rb:27:in `get_root'
     # ./spec/integration/rest_node_spec.rb:10
     # :1

  2) Neography::Rest create_node can create an empty node
     Failure/Error: new_node = @neo.create_node
     uninitialized constant OpenSSL::SSL
     # ./lib/neography/rest.rb:272:in `post'
     # ./lib/neography/rest.rb:35:in `create_node'
     # ./spec/integration/rest_node_spec.rb:17
     # :1

  3) Neography::Rest create_node can create a node with one property
     Failure/Error: new_node = @neo.create_node(name = Max)
     uninitialized constant OpenSSL::SSL
     # ./lib/neography/rest.rb:272:in `post'
     # ./lib/neography/rest.rb:33:in `create_node'
     # ./spec/integration/rest_node_spec.rb:22
     # :1


 Any hints what could be the reason? I have installed

 gem install jruby-openssl but are still getting that error on Mac OSX.
 Any hints?

 /peter
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Rest API requests

2010-11-26 Thread Max De Marzi Jr.
Try upping the number of nodes created.  Try 200, 500, 1000.

On Fri, Nov 26, 2010 at 9:30 AM, Peter Neubauer
neubauer.pe...@gmail.com wrote:
 Ok,
 Andreas helped me to get RVM set up and things working.

 When are you getting the problem? My testing ran good ...

 /peter

 On Wed, Nov 24, 2010 at 5:26 AM, Max De Marzi Jr. maxdema...@gmail.com 
 wrote:
 Hum... not sure try just:

  rspec spec/integration/rest_experimental_spec.rb

 On Tue, Nov 23, 2010 at 3:20 PM, Peter Neubauer
 peter.neuba...@neotechnology.com wrote:
 Mmh,
 to start with, I am stuck with some OpenSSL error when trying to run
 rspecs:

 bundle exec rspec spec/integration/rest_node_spec.rb
 JRuby limited openssl loaded. gem install jruby-openssl for full support.
 http://jruby.kenai.com/pages/JRuby_Builtin_OpenSSL
 JRuby limited openssl loaded. gem install jruby-openssl for full support.
 http://jruby.kenai.com/pages/JRuby_Builtin_OpenSSL
 No Extensions Found: /Users/peterneubauer/.neography
 FFF

 Failures:
  1) Neography::Rest get_root can get the root node
     Failure/Error: root_node = @neo.get_root
     OpenSSL::SSL requires the jruby-openssl gem
     # ./lib/neography/rest.rb:268:in `get'
     # ./lib/neography/rest.rb:27:in `get_root'
     # ./spec/integration/rest_node_spec.rb:10
     # :1

  2) Neography::Rest create_node can create an empty node
     Failure/Error: new_node = @neo.create_node
     uninitialized constant OpenSSL::SSL
     # ./lib/neography/rest.rb:272:in `post'
     # ./lib/neography/rest.rb:35:in `create_node'
     # ./spec/integration/rest_node_spec.rb:17
     # :1

  3) Neography::Rest create_node can create a node with one property
     Failure/Error: new_node = @neo.create_node(name = Max)
     uninitialized constant OpenSSL::SSL
     # ./lib/neography/rest.rb:272:in `post'
     # ./lib/neography/rest.rb:33:in `create_node'
     # ./spec/integration/rest_node_spec.rb:22
     # :1


 Any hints what could be the reason? I have installed

 gem install jruby-openssl but are still getting that error on Mac OSX.
 Any hints?

 /peter
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Rest API requests

2010-11-23 Thread Peter Neubauer
Max,
did you install bundler to do the bundle exec? Are you running Ruby
or JRuby, and where is the bundle binary installed after I do

gem install bundler?

Cheers,

/peter neubauer

GTalk:      neubauer.peter
Skype       peter.neubauer
Phone       +46 704 106975
LinkedIn   http://www.linkedin.com/in/neubauer
Twitter      http://twitter.com/peterneubauer

http://www.neo4j.org               - Your high performance graph database.
http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.



On Tue, Nov 23, 2010 at 9:23 AM, Max De Marzi Jr. maxdema...@gmail.com wrote:
 Hello,

 I started adding fake bulk operations to neography (
 https://github.com/maxdemarzi/neography ) but ran into issues when
 trying to create or get more than 100 nodes at a time.

 ubuntu ~/forks/neography: bundle exec rspec spec/integration/rest_bulk_spec.rb
 No Extensions Found: /home/max/.neography
 .      user     system      total        real
 create 100 nodes            3.411000   0.00   3.411000 (  3.411000)
 create 100 nodes threaded   1.909000   0.00   1.909000 (  1.909000)
 create 200 nodes threaded^C
 Exiting... Interrupt again to exit immediately.

 It just hangs when I try 200 and eventually I get a execution
 expired error.  150 fails, 125 fails, 110 sometimes worked, 100
 ALWAYS worked (threaded and non-threaded).

 Did you guys see any issues like this with your test harness against
 the Rest API?
 Anybody using another Rest client having these issues?

 Thanks,
 Max
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Rest API requests

2010-11-23 Thread Max De Marzi Jr.
Yup, just run:

gem install bundler

Assuming you have a forks\neography directory:

cd forks\neography
git pull upstream master
bundle install
bundle exec rspec spec/integration/rest_bulk_spec.rb

I'm on JRuby 1.6.0.dev (2010-08-30 3040e75) (a bit old...)

On Tue, Nov 23, 2010 at 10:57 AM, Peter Neubauer
peter.neuba...@neotechnology.com wrote:
 Max,
 did you install bundler to do the bundle exec? Are you running Ruby
 or JRuby, and where is the bundle binary installed after I do

 gem install bundler?

 Cheers,

 /peter neubauer

 GTalk:      neubauer.peter
 Skype       peter.neubauer
 Phone       +46 704 106975
 LinkedIn   http://www.linkedin.com/in/neubauer
 Twitter      http://twitter.com/peterneubauer

 http://www.neo4j.org               - Your high performance graph database.
 http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.



 On Tue, Nov 23, 2010 at 9:23 AM, Max De Marzi Jr. maxdema...@gmail.com 
 wrote:
 Hello,

 I started adding fake bulk operations to neography (
 https://github.com/maxdemarzi/neography ) but ran into issues when
 trying to create or get more than 100 nodes at a time.

 ubuntu ~/forks/neography: bundle exec rspec 
 spec/integration/rest_bulk_spec.rb
 No Extensions Found: /home/max/.neography
 .      user     system      total        real
 create 100 nodes            3.411000   0.00   3.411000 (  3.411000)
 create 100 nodes threaded   1.909000   0.00   1.909000 (  1.909000)
 create 200 nodes threaded^C
 Exiting... Interrupt again to exit immediately.

 It just hangs when I try 200 and eventually I get a execution
 expired error.  150 fails, 125 fails, 110 sometimes worked, 100
 ALWAYS worked (threaded and non-threaded).

 Did you guys see any issues like this with your test harness against
 the Rest API?
 Anybody using another Rest client having these issues?

 Thanks,
 Max
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Rest API requests

2010-11-23 Thread Peter Neubauer
Mmh,
to start with, I am stuck with some OpenSSL error when trying to run rspecs:

bundle exec rspec spec/integration/rest_node_spec.rb
JRuby limited openssl loaded. gem install jruby-openssl for full support.
http://jruby.kenai.com/pages/JRuby_Builtin_OpenSSL
JRuby limited openssl loaded. gem install jruby-openssl for full support.
http://jruby.kenai.com/pages/JRuby_Builtin_OpenSSL
No Extensions Found: /Users/peterneubauer/.neography
FFF

Failures:
  1) Neography::Rest get_root can get the root node
 Failure/Error: root_node = @neo.get_root
 OpenSSL::SSL requires the jruby-openssl gem
 # ./lib/neography/rest.rb:268:in `get'
 # ./lib/neography/rest.rb:27:in `get_root'
 # ./spec/integration/rest_node_spec.rb:10
 # :1

  2) Neography::Rest create_node can create an empty node
 Failure/Error: new_node = @neo.create_node
 uninitialized constant OpenSSL::SSL
 # ./lib/neography/rest.rb:272:in `post'
 # ./lib/neography/rest.rb:35:in `create_node'
 # ./spec/integration/rest_node_spec.rb:17
 # :1

  3) Neography::Rest create_node can create a node with one property
 Failure/Error: new_node = @neo.create_node(name = Max)
 uninitialized constant OpenSSL::SSL
 # ./lib/neography/rest.rb:272:in `post'
 # ./lib/neography/rest.rb:33:in `create_node'
 # ./spec/integration/rest_node_spec.rb:22
 # :1


Any hints what could be the reason? I have installed

gem install jruby-openssl but are still getting that error on Mac OSX.
Any hints?

/peter
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Rest API requests

2010-11-23 Thread Max De Marzi Jr.
Hum... not sure try just:

 rspec spec/integration/rest_experimental_spec.rb

On Tue, Nov 23, 2010 at 3:20 PM, Peter Neubauer
peter.neuba...@neotechnology.com wrote:
 Mmh,
 to start with, I am stuck with some OpenSSL error when trying to run rspecs:

 bundle exec rspec spec/integration/rest_node_spec.rb
 JRuby limited openssl loaded. gem install jruby-openssl for full support.
 http://jruby.kenai.com/pages/JRuby_Builtin_OpenSSL
 JRuby limited openssl loaded. gem install jruby-openssl for full support.
 http://jruby.kenai.com/pages/JRuby_Builtin_OpenSSL
 No Extensions Found: /Users/peterneubauer/.neography
 FFF

 Failures:
  1) Neography::Rest get_root can get the root node
     Failure/Error: root_node = @neo.get_root
     OpenSSL::SSL requires the jruby-openssl gem
     # ./lib/neography/rest.rb:268:in `get'
     # ./lib/neography/rest.rb:27:in `get_root'
     # ./spec/integration/rest_node_spec.rb:10
     # :1

  2) Neography::Rest create_node can create an empty node
     Failure/Error: new_node = @neo.create_node
     uninitialized constant OpenSSL::SSL
     # ./lib/neography/rest.rb:272:in `post'
     # ./lib/neography/rest.rb:35:in `create_node'
     # ./spec/integration/rest_node_spec.rb:17
     # :1

  3) Neography::Rest create_node can create a node with one property
     Failure/Error: new_node = @neo.create_node(name = Max)
     uninitialized constant OpenSSL::SSL
     # ./lib/neography/rest.rb:272:in `post'
     # ./lib/neography/rest.rb:33:in `create_node'
     # ./spec/integration/rest_node_spec.rb:22
     # :1


 Any hints what could be the reason? I have installed

 gem install jruby-openssl but are still getting that error on Mac OSX.
 Any hints?

 /peter
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user