2012/6/20 Mark Slee <[email protected]> > 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 [[email protected]] > Sent: Tuesday, June 19, 2012 3:00 AM > To: [email protected] > 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. > > -- > 不学习,不知道 > -- 不学习,不知道
