avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Esteve Fernandez (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AVRO-721) Add Tornado-based asynchronous client to the Python implementation
Date Wed, 29 Dec 2010 16:25:46 GMT

    [ https://issues.apache.org/jira/browse/AVRO-721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12975826#action_12975826
] 

Esteve Fernandez commented on AVRO-721:
---------------------------------------

Looks pretty good. However, since Tornado doesn't provide a future-like abstraction like Twisted
does with its Deferreds, the request method's signature must include a callback argument which
breaks the BaseRequestor API. I think the futures package in Python 3.2 [1] (and backported
to 2.6 [2]) might work with Tornado and wouldn't break Avro. Someone with more experience
with Tornado can tell us if this approach would work.

1 - http://docs.python.org/dev/library/concurrent.futures.html
2 - http://code.google.com/p/pythonfutures/

> Add Tornado-based asynchronous client to the Python implementation
> ------------------------------------------------------------------
>
>                 Key: AVRO-721
>                 URL: https://issues.apache.org/jira/browse/AVRO-721
>             Project: Avro
>          Issue Type: New Feature
>          Components: python
>            Reporter: Jeff Hammerbacher
>
> Michael Russo has one working at https://github.com/mjrusso/pyhbase/commit/07ed39527bd6752158b1293e8d2df528d649a613

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message