You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Mykhailo Kozik (JIRA)" <ji...@apache.org> on 2015/08/07 12:02:46 UTC
[jira] [Commented] (THRIFT-2283) Provide thread-safe thrift client,
such as connection pool
[ https://issues.apache.org/jira/browse/THRIFT-2283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14661580#comment-14661580 ]
Mykhailo Kozik commented on THRIFT-2283:
----------------------------------------
Vote for this ticket, common connection pool is good to have rather than implementing your own.
> Provide thread-safe thrift client, such as connection pool
> ----------------------------------------------------------
>
> Key: THRIFT-2283
> URL: https://issues.apache.org/jira/browse/THRIFT-2283
> Project: Thrift
> Issue Type: Improvement
> Components: Java - Library
> Reporter: chendihao
> Priority: Minor
>
> Recently we implement a multi-thread thrift client to get data from server, then we find that thrift client is not thread-safe. We have to wrap the native objects and provide a pool-like things. I think it's quite a common feature most people want and some Java/Python developers have implemented the connection pool already.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)