Link Details

Link 960363 thumbnail
User 1126425 avatar

By strangeloops
Submitted: Apr 25 2013 / 14:01

Web applications typically have a limited number of threads that are standing by to handle requests. When all threads are busy, new requests are queued until a thread becomes available. If in the process of creating a response, your MVC controllers are waiting for lengthy I/O operations to complete, it is possible that the threads aren't doing much, but are still tied up and aren't free to handle new requests. This problem commonly occurs when controllers make requests to external web services. Learn how asynchronous controllers supported by MVC can free thread can to handle other requests
  • 2
  • 0
  • 163
  • 79

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 (2)

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