1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Join our Telegram chat: https://t.me/a_parser_en
    Dismiss Notice

Dynamic threads limit

Discussion in 'News' started by Support, Sep 28, 2016.

  1. Support

    Support Administrator
    Staff Member A-Parser Enterprise

    Joined:
    Mar 16, 2012
    Messages:
    4,347
    Likes Received:
    2,096
    When setting the total threads limit, allows to run an unlimited number of tasks (up to the limit of maximum active tasks), while the total number of active threads will not exceed the total limit threads

    Example:
    • Total threads limit: 1000
    • 5 active tasks on 300 threads
    • At the start tasks 1, 2, 3 will be launched in 300 threads, 4th in 100 and 5th will be 0 active threads
    • According as the queries is complete, active threads will go down one by one:
    • 1, 2, 3, left 10 active threads, 4th and 5th will fully work in 300 threads
    In this way we can maintain a constant number of active threads
     

Share This Page