Link Details

Link 1067827 thumbnail
User 225256 avatar

By mswatcher
Submitted: Nov 19 2013 / 05:56

I got a great question from a customer on controlling the number of active tasks. It’s a general question on async code, so I'll answer that question here. One particular application path starts a large number of asynchronous tasks using the same service. After starting too many tasks, the service starts rejecting them. This can be a common problem when your making async calls. If you hit the same web service with too many requests, it may start queuing them up rather than responding. Worse, it may erroneously think your client app is part of a DOS attack.
  • 3
  • 0
  • 121
  • 19

Add your comment

Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Upvoters (3)

Downvoters (0)

    Apache Hadoop
    Written by: Piotr Krewski
    Featured Refcardz: Top Refcardz:
    1. Play
    2. Akka
    3. Design Patterns
    4. OO JS
    5. Cont. Delivery
    1. Play
    2. Java Performance
    3. Akka
    4. REST
    5. Java