thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From panfei <cnwe...@gmail.com>
Subject Re: a thrift server performance estimate
Date Wed, 20 Jun 2012 01:41:35 GMT
2012/6/20 Mark Slee <mslee@fb.com>

> Completely dependent on your system configuration and the cost of your RPC
> calls. This question can't really be answered without more info about the
> application.
>
> Some things to consider:
> - How expensive are these calls? Do they use a lot of CPU? Block on
> reading files?
>
the call are light, it just retrieve data from HBase by a key, and then
call another  asynchronous method a remote service.


> - You'll be holding a server socket open during each of these calls - you
> may run into open file descriptor considerations
> - If the calls are asynchronous, do you close the client as soon as
> putting in the request?
>
we close the client as soon as putting in the request, because this call is
 asynchronous


very thanks for your advice, Mark !

>
> Cheers,
> Mark
> ________________________________________
> From: panfei [cnweike@gmail.com]
> Sent: Tuesday, June 19, 2012 3:00 AM
> To: user@thrift.apache.org
> Subject: a thrift server performance estimate
>
> Hi all :
>
> I have a API to call  asynchronous method A of  thrift server 1, and A only
> calls another  asynchronous method of thrift server 2, I want to know , how
> many concurrent requests can be processed in this way.
>
> thanks.
>
> --
> 不学习,不知道
>



-- 
不学习,不知道

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message