Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Tornado, concurrency and py2neo 1.3
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Nigel Small  
View profile  
 More options Aug 6 2012, 1:40 am
From: Nigel Small <ni...@nigelsmall.net>
Date: Mon, 6 Aug 2012 06:40:56 +0100
Local: Mon, Aug 6 2012 1:40 am
Subject: Re: [Neo4j] Tornado, concurrency and py2neo 1.3

Hi Joao

Thanks for the link - I wasn't aware of the fork. It looks like an
interesting project, are you currently using it?

One of the (many) reasons for moving away from Tornado for py2neo however
was to remove the dependency on a third party library. The code now relies
solely on httplib which is obviously part of the Python standard library
and therefore has a much greater degree of portability.

Cheers
Nige

On 5 August 2012 23:29, Joćo Martins <jcmart...@gmail.com> wrote:

> Why not change to http://cyclone.io/ and
> https://github.com/fiorix/cyclone

> regards
> joao martins

> Em sexta-feira, 3 de agosto de 2012 07h01min46s UTC-3, Nigel Small
> escreveu:

>> All of which says that removing the dependency is a good idea - I hadn't
>> actually considered the Jython case.

>> If you get a few mins to give the new code a quick try instead, it would
>> be great to hear how it performs.

>> Cheers
>> Nige

>> On 3 August 2012 09:57, Julian Simpson <julian.simpson@neotechnology.**
>> com <julian.simp...@neotechnology.com>> wrote:

>>> On Fri, Aug 3, 2012 at 9:31 AM, Nigel Small <ni...@nigelsmall.net>wrote:

>>>> What problems was Tornado causing you? Similar to the ones I listed?

>>> We were using py2neo under Jython, and there was a transitive dependency
>>> (via Tornado) on a native library.

>>> While there's an open PR for making Tornado work fully under Jython, I
>>> didn't want to wait.

>>> cheers

>>> J.

>>>> On 3 August 2012 09:22, Julian Simpson <julian.simpson@neotechnology.**
>>>> com <julian.simp...@neotechnology.com>> wrote:

>>>>> On Fri, Aug 3, 2012 at 9:18 AM, Lasse Westh-Nielsen <
>>>>> lasse.westh-nielsen@**neopersistence.com<lasse.westh-niel...@neopersistence.com>
>>>>> > wrote:

>>>>>> Nigel,

>>>>>> Good call. We migrated off py2neo for a tiny project we were doing
>>>>>> for exactly this reason (Tornado dependency). I'd been keen to use it again
>>>>>> when we revisit that particular project.

>>>>> +1

>>>>> Removing py2neo from our little project immediately proved py2neo's
>>>>> value: it really hurt to remove it :)

>>>>> J.

>>>>>> Lasse

>>>>>> On Thu, Aug 2, 2012 at 11:10 AM, Nigel Small <ni...@nigelsmall.net>wrote:

>>>>>>> It's fair to say that some people's experience with py2neo 1.2 has
>>>>>>> been a little shaky due to the introduction of Tornado for HTTP messaging.
>>>>>>> This library was chiefly brought in so that asynchronous Cypher queries
>>>>>>> could be executed but has dragged along with it a considerable overhead in
>>>>>>> resource usage, poor support for concurrency and questionable operation
>>>>>>> under Windows.

>>>>>>> For these reasons, I have decided to move away from Tornado for
>>>>>>> py2neo 1.3 and am currently building a simpler, but just as functional HTTP
>>>>>>> layer based on the standard httplib module. This will of course also remove
>>>>>>> the need for a third party dependency when using py2neo in future. In
>>>>>>> addition, I aim to provide full support for concurrent applications since
>>>>>>> this is clearly an area of functionality that many people require.

>>>>>>> If you are willing and able to help with testing for this new
>>>>>>> version, I would be very grateful for the feedback, good or bad! The code
>>>>>>> currently within GitHub contains a *mostly* operational version of
>>>>>>> the new HTTP layer so please let me know if you are able to help and raise
>>>>>>> any issues you find within GitHub.

>>>>>>> Thanks and kind regards
>>>>>>> Nige

>>>>> --
>>>>> *Julian Simpson* *
>>>>> **Software Engineer | Neo Technology*
>>>>> +447967189579 | @builddoctor
>>>>> *As a friend of Neo, register for GraphConnect<http://graphconnect.com/> and
>>>>> get a 20% discount. Code: GCFON*

>>> --
>>> *Julian Simpson* *
>>> **Software Engineer | Neo Technology*
>>> +447967189579 | @builddoctor
>>> *As a friend of Neo, register for GraphConnect<http://graphconnect.com/> and
>>> get a 20% discount. Code: GCFON*


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.