[ 
https://issues.apache.org/jira/browse/THRIFT-2283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13843209#comment-13843209
 ] 

chendihao commented on THRIFT-2283:
-----------------------------------

Thanks for [~henrique] replying.
Actually we use Java and sorry for not specifying the components. We're 
planning to implement the connection pool but not finished yet. Deeply Agree 
with that we should make it generic and I can show you something I found on the 
Internet.  
http://cloudware.ro/2012/11/thrift-client-pool-connections-for-python/ and 
http://www.cnblogs.com/51cto/archive/2010/08/18/thrift_connection_pool.html 
(sorry for the Chinese and he just use Apache Commons, Spring and some design 
pattern I think).

> 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
>            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.1.4#6159)

Reply via email to