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?
- 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?

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.

--
不学习,不知道

Reply via email to