Hi

On Wed, Dec 15, 2010 at 5:48 AM, David Jeske <[email protected]> wrote:
> It seems someone made some experimental Thrift patches to do this for C++,
> but they were not accepted. It's possible the Thrift python twisted
> interface does this (I don't know).

Yes, the Twisted port of Thrift supports asynchronous handlers. Any
handler method may return a Deferred (a Future-like structure) whose
results may fire at a future point.

> However, I can't seem to find any
> reference to this being available in Thrift for Java or C#. They only have
> non-blocking I/O support, but the handler thread has to directly return the
> result, which means it has to consume the thread until the result is
> available.
> http://markmail.org/thread/7xl2fpwn3hvao2jh#query:+page:1+mid:7xl2fpwn3hvao2jh+state:results
> Make sense? Is this something that Avro has now? or not yet?

The Twisted port of Avro supports handler methods that return
Deferreds too. Also, I think the Netty port of Avro supports them too
(it's got a CallFuture class) [1], but I can't say for sure, Todd or
Harry can answer that question better than I :-)

Cheers.

1 - https://issues.apache.org/jira/browse/AVRO-405

Reply via email to