|
Asynchronous invocation
Hi there!
First I would like to mention that I tried to use AMI for the first time this weekend and would like to admit that I'm really impressed by the simpleness of your solution. Took me about 10 minutes to convert a synchronously called function into an asynchronous one.
What's remaining for me is the question what I should use: AMI or AMD. I read the manual and understood:
- AMI has the disadvantage of being able to be executed only a limited number of times (-> threadpool boundings)
- AMD has the disadvantage of possibly being delayed for later execution
My setup is that I'm distributing commands from a single server to a bunch of clients in order to make them execute certain things (to explain it simple).
To adress the disadvantages:
- I don't know about the number of clients
- Execution should start within a timeframe of ~ 2 seconds
Can you give me an advise on what method to use for this case or give me statements on how big the actual disadvantages are or if I forgot some?
regs,
Stephan
|