Re: Request consideration of DBD::Neo4p registration

demerphq <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.sybase.devel
Message-ID <CANgJU+UDKKguUZ8h74xahYg3gmJ-9Dmt9eY-RBe9j+2ZSp6iCA@mail.gmail.com>
On 17 February 2014 14:13, Martin J. Evans <[email protected]> wrote:
> On 17/02/14 12:09, demerphq wrote:
>>
>> On 11 February 2014 23:37, Martin J. Evans <[email protected]> wrote:
>>>
>>> On 11/02/2014 17:56, demerphq wrote:
>>>>
>>>>
>>>> On 10 February 2014 09:59, Martin J. Evans <[email protected]> wrote:
>>>>>
>>>>>
>>>>> On 10/02/14 08:36, Tim Bunce wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>> 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.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Done.
>>>>>>
>>>>>>>       https://metacpan.org/pod/REST::Neo4p
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> I'd suggest abstracting out the transport interface to allow multiple
>>>>>> transports. Similar to
>>>>>> https://metacpan.org/pod/Elasticsearch::Transport
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ++
>>>>>
>>>>>
>>>>>> 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.
>>>>
>>>>
>>>>
>>>> You might want to check out:
>>>>
>>>> http://search.cpan.org/~avar/Hijk-0.12/lib/Hijk.pm
>>>>
>>>> Very fast.
>>>>
>>>> Yves
>>>>
>>>>
>>>
>>> Thanks Yves, I'll be sure to check that out. I need fast and features are
>>> less important to me.
>>
>>
>> Sorry for the noise, but I would love to hear how things worked out for
>> you.
>>
>> Yves
>>
>
> http://www.martin-evans.me.uk/node/169

Cool, thanks. I have sent a mail to the authors about your review.
Maybe they will respond with changes to hijk to make it more suitable
for you.

Yves

-- 
perl -Mre=debug -e "/just|another|perl|hacker/"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.