Thanks Malith. I'll check this.

Regards,
Venura


On Tue, Nov 12, 2013 at 5:13 PM, Malith Dhanushka <[email protected]> wrote:

>
>
>
> On Tue, Nov 12, 2013 at 1:30 PM, Venura Kahawala <[email protected]> wrote:
>
>> Hi,
>>
>> What we came across is, when we do a load test on thrift client which is
>> deployed within a webapp, it creates as much as different connections to
>> the server. We need to avoid creating new connections to the server, but
>> take the connections from a connection pool.
>>
>> If thrift server is capable of executing with a connection pool that's
>> also better. In that way server can manage and treat created connections.
>>
>
> Yes.  There are few thrift server implementations and among them
> TThreadPoolServer fulfills this requirement, where it utilizes a thread
> pool to serve incoming requests.  Refer this [1] for implementation,
>
> [1]
> http://chamibuddhika.wordpress.com/2011/10/02/apache-thrift-quickstart-tutorial/
>
> HTH,
> Malith
>
>
>
>>
>> Regards,
>> Venura
>>
>>
>> On Tue, Nov 12, 2013 at 11:58 AM, Malith Dhanushka <[email protected]>wrote:
>>
>>> Hi,
>>>
>>> Are you going to create a connection pool for a existing thrift
>>> connection or  you need a thrift server with a connection pool ?
>>>
>>>
>>> On Mon, Nov 11, 2013 at 3:21 PM, Venura Kahawala <[email protected]>wrote:
>>>
>>>> Hi,
>>>>
>>>> Is there a way to create a connection pool for the thrift connections?
>>>>
>>>> Regards,
>>>> Venura
>>>>
>>>> --
>>>> Senior Software Engineer
>>>>
>>>> Mobile: +94 71 82 300 20
>>>>
>>>>
>>>
>>>
>>> --
>>> Malith Dhanushka
>>> Engineer - Data Technologies
>>> *WSO2, Inc. : wso2.com <http://wso2.com/>*
>>> *Mobile*          : +94 716 506 693
>>>
>>
>>
>>
>> --
>> Senior Software Engineer
>>
>> Mobile: +94 71 82 300 20
>>
>>
>
>
> --
> Malith Dhanushka
> Engineer - Data Technologies
> *WSO2, Inc. : wso2.com <http://wso2.com/>*
> *Mobile*          : +94 716 506 693
>



-- 
Senior Software Engineer

Mobile: +94 71 82 300 20
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to