Re: Request consideration of DBD::Neo4p registration

2014-02-13 Thread Tim Bunce
On Mon, Feb 10, 2014 at 08:59:17AM +, Martin J. Evans wrote:
 
 That lets you, and others, implement other transport/connection modules.
 I mention this because LWP is not the fastest HTTP interface. There are
 several transports for Elasticsearch that are significantly faster.
 For example https://metacpan.org/pod/Elasticsearch::Cxn::NetCurl
 
 We found curl much faster than LWP - see
 http://www.martin-evans.me.uk/node/117 for some numbers and a problem
 I hit (and got around) with POSTing in Curl.

That's a great article. Thanks.

Any chance you could update those benchmarks Martin?  Would be nice to
get numbers for the current versions and also include Hijk.

I'd also be really interested in the results for HTTP::Tiny with
Clinton's persistent connections pull request applied:
https://github.com/chansen/p5-http-tiny/pull/30
(I think that might get merged during the QA Hackathon in March).

Tim.


Re: Request consideration of DBD::Neo4p registration

2014-02-13 Thread Tim Bunce
On Mon, Feb 10, 2014 at 12:19:05AM -0500, Mark Jensen wrote:
Greetings DBI, I would like to register DBD::Neo4p in DBI with prefix 
 neo_. It provides a DBI wrapper
for a REST interface to the Neo4j db.
https://metacpan.org/pod/DBD::Neo4p
https://metacpan.org/pod/REST::Neo4p

Mark, the Neo4p name has been nagging at me a little.

It's a cute play on the fact that it's a Neo4j interface for perl,
and that kind of play has precedents in modules like Log4p.

However, Log4p is a clone of 'log-4-java' so 'log-4-perl' makes sense.

Neo4p on the other hand, isn't clone of Neo4j, it's an interface to it.

Would you consider renaming the modules to *::Neo4j?

Tim.


Re: Request consideration of DBD::Neo4p registration

2014-02-13 Thread Martin J. Evans

On 13/02/14 09:24, Tim Bunce wrote:

On Mon, Feb 10, 2014 at 08:59:17AM +, Martin J. Evans wrote:



That lets you, and others, implement other transport/connection modules.
I mention this because LWP is not the fastest HTTP interface. There are
several transports for Elasticsearch that are significantly faster.
For example https://metacpan.org/pod/Elasticsearch::Cxn::NetCurl


We found curl much faster than LWP - see
http://www.martin-evans.me.uk/node/117 for some numbers and a problem
I hit (and got around) with POSTing in Curl.


That's a great article. Thanks.

Any chance you could update those benchmarks Martin?  Would be nice to
get numbers for the current versions and also include Hijk.

I'd also be really interested in the results for HTTP::Tiny with
Clinton's persistent connections pull request applied:
https://github.com/chansen/p5-http-tiny/pull/30
(I think that might get merged during the QA Hackathon in March).

Tim.
.



See http://www.martin-evans.me.uk/node/117#comment-2129

I did not find keep_alive = 1 made any difference to me but see my notes in the 
comment above.

Martin


[perl5-dbi/DBI-Test] bd5b6f: add some playground for separation of concerns

2014-02-13 Thread Jens Rehsack
  Branch: refs/heads/master
  Home:   https://github.com/perl5-dbi/DBI-Test
  Commit: bd5b6f545051e3263f3f694c9a7bb3bb2c170eb8
  
https://github.com/perl5-dbi/DBI-Test/commit/bd5b6f545051e3263f3f694c9a7bb3bb2c170eb8
  Author: Jens Rehsack s...@netbsd.org
  Date:   2014-02-11 (Tue, 11 Feb 2014)

  Changed paths:
A sandbox/jens/plug/MXCT/Simple.pm
A sandbox/jens/tumbler.pl

  Log Message:
  ---
  add some playground for separation of concerns




[perl5-dbi/DBI-Test] 89c106: Move quote_value_as_perl into Context.pm which is ...

2014-02-13 Thread Tim Bunce
  Branch: refs/heads/master
  Home:   https://github.com/perl5-dbi/DBI-Test
  Commit: 89c106bb3bbc01666d3264aaf7dc8a00c4d71b3a
  
https://github.com/perl5-dbi/DBI-Test/commit/89c106bb3bbc01666d3264aaf7dc8a00c4d71b3a
  Author: Tim Bunce tim.bu...@pobox.com
  Date:   2014-02-12 (Wed, 12 Feb 2014)

  Changed paths:
M sandbox/tim/README.pod
M sandbox/tim/lib/Context.pm
M sandbox/tim/tumbler.pl

  Log Message:
  ---
  Move quote_value_as_perl into Context.pm which is the only place that uses it


  Commit: 7933736bea30c526e5d33eb2d9401eb9129aace8
  
https://github.com/perl5-dbi/DBI-Test/commit/7933736bea30c526e5d33eb2d9401eb9129aace8
  Author: Tim Bunce tim.bu...@pobox.com
  Date:   2014-02-12 (Wed, 12 Feb 2014)

  Changed paths:
M sandbox/tim/lib/Context.pm

  Log Message:
  ---
  Add support for 'use $module (@$imports)' to Context.pm


  Commit: ff6fb04996082cc0efdeb6f63c977346b48128a0
  
https://github.com/perl5-dbi/DBI-Test/commit/ff6fb04996082cc0efdeb6f63c977346b48128a0
  Author: Tim Bunce tim.bu...@pobox.com
  Date:   2014-02-12 (Wed, 12 Feb 2014)

  Changed paths:
M sandbox/tim/tumbler.pl

  Log Message:
  ---
  Add *-thread variants to tests if the perl supports useithreads.


Compare: 
https://github.com/perl5-dbi/DBI-Test/compare/bd5b6f545051...ff6fb0499608

[perl5-dbi/DBI-Test] 6209ed: Minor changes/cleanup to match latest Context

2014-02-13 Thread Tim Bunce
  Branch: refs/heads/master
  Home:   https://github.com/perl5-dbi/DBI-Test
  Commit: 6209ed605a3acd8274dcd1e4f78d57ee8402ca2b
  
https://github.com/perl5-dbi/DBI-Test/commit/6209ed605a3acd8274dcd1e4f78d57ee8402ca2b
  Author: Tim Bunce tim.bu...@pobox.com
  Date:   2014-02-12 (Wed, 12 Feb 2014)

  Changed paths:
M sandbox/jens/tumbler.pl

  Log Message:
  ---
  Minor changes/cleanup to match latest Context




[perl5-dbi/DBI-Test] 1d194d: add options test case

2014-02-13 Thread Jens Rehsack
  Branch: refs/heads/master
  Home:   https://github.com/perl5-dbi/DBI-Test
  Commit: 1d194d8702dbdda2c6953cf3bc1426d1fe8ec691
  
https://github.com/perl5-dbi/DBI-Test/commit/1d194d8702dbdda2c6953cf3bc1426d1fe8ec691
  Author: Jens Rehsack s...@netbsd.org
  Date:   2014-02-11 (Tue, 11 Feb 2014)

  Changed paths:
A sandbox/jens/plug/MXCOT/Options.pm

  Log Message:
  ---
  add options test case


  Commit: 391f9d9251c8446d5a11ac5db5440d11dc3abe70
  
https://github.com/perl5-dbi/DBI-Test/commit/391f9d9251c8446d5a11ac5db5440d11dc3abe70
  Author: Jens Rehsack s...@netbsd.org
  Date:   2014-02-12 (Wed, 12 Feb 2014)

  Changed paths:
M sandbox/tim/README.pod
M sandbox/tim/lib/Context.pm
M sandbox/tim/tumbler.pl

  Log Message:
  ---
  Merge branch 'master' of github.com:/perl5-dbi/DBI-Test


Compare: 
https://github.com/perl5-dbi/DBI-Test/compare/ff6fb0499608...391f9d9251c8

[perl5-dbi/DBI-Test] 554354: Don't use subtests or call Test::More functions fr...

2014-02-13 Thread Tim Bunce
  Branch: refs/heads/master
  Home:   https://github.com/perl5-dbi/DBI-Test
  Commit: 554354836886833428c283cbf56769b038702cad
  
https://github.com/perl5-dbi/DBI-Test/commit/554354836886833428c283cbf56769b038702cad
  Author: Tim Bunce tim.bu...@pobox.com
  Date:   2014-02-12 (Wed, 12 Feb 2014)

  Changed paths:
M sandbox/tim/in/DBIT_sth_ro/BasicPrepareExecuteSelect.pm
M sandbox/tim/lib/DBITestCaseBase.pm
M sandbox/tim/plug/DBM/ExampleExtraTests.pm

  Log Message:
  ---
  Don't use subtests or call Test::More functions from DBITestCaseBase. Refine 
hook usage.


  Commit: 7a37bff78055dbc5d82571c2d375d2193436e1fe
  
https://github.com/perl5-dbi/DBI-Test/commit/7a37bff78055dbc5d82571c2d375d2193436e1fe
  Author: Tim Bunce tim.bu...@pobox.com
  Date:   2014-02-12 (Wed, 12 Feb 2014)

  Changed paths:
A sandbox/tim/in/DBIT_dbh_ro/SelectMultiThread.pm

  Log Message:
  ---
  Add a proper thread test.


Compare: 
https://github.com/perl5-dbi/DBI-Test/compare/6209ed605a3a...7a37bff78055