hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "He Tianyi (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-13057) Async IPC server support
Date Mon, 25 Apr 2016 03:55:12 GMT
He Tianyi created HADOOP-13057:

             Summary: Async IPC server support
                 Key: HADOOP-13057
                 URL: https://issues.apache.org/jira/browse/HADOOP-13057
             Project: Hadoop Common
          Issue Type: Improvement
          Components: ipc
    Affects Versions: 2.6.0
            Reporter: He Tianyi

On some application, server may run out of handlers when performing many blocking I/O operations
during processing of each call (e.g. calling another service, etc.). A viable solution is
increasing number of handlers. 
But this faces the problem that large amount of threads will consume much memory (stack, etc.),
and performance issues either.

Suggesting the ability to handle requests asynchronously.
For example, in such server, calls may return a Future object instead of immediate value.
Then sends response to client in {onSuccess} or {onFailed} callbacks.

This message was sent by Atlassian JIRA

View raw message