[
https://issues.apache.org/jira/browse/THRIFT-1?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12658946#action_12658946
]
Esteve Fernandez commented on THRIFT-1:
---------------------------------------
Bryan: are you using a specific library (a la Apache MINA) or is it just pure
NIO + Listeners? I worked on the client part using MINA, returning a
DefaultReadFuture
(http://mina.apache.org/report/trunk/apidocs/org/apache/mina/common/DefaultReadFuture.html)
on every call.
It's basically the same approach as THRIFT-148: don't return the actual value,
but a future/deferred/promise and attach callbacks/listeners that will be fired
when the return value becomes available.
> Fully-asychronous client and server
> -----------------------------------
>
> Key: THRIFT-1
> URL: https://issues.apache.org/jira/browse/THRIFT-1
> Project: Thrift
> Issue Type: New Feature
> Environment: All
> Reporter: David Reiss
>
> All Thrift servers currently require a thread to be tied up for every
> outstanding request being serviced.
> In addition, all clients have the same requirement, but workarounds are
> easier.
> This is also the first JIRA issue in the Thrift project.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.