Uploaded image for project: 'Apache ServiceComb'
  1. Apache ServiceComb
  2. SCB-1136

change default settings of sync executor

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Done
    • None
    • java-chassis-1.2.0
    • Java-Chassis
    • None

    Description

      currently we provide a default sync invocation executor:

      • default integrate two fixed thread pool
      • thread count for one pool is equals cpu countfor most customers, thread count of one pool is too small, and fixed thread pool is not so good, so will change to:
      • default integrate two ThreadPoolExecutor
      • support to configure core/max thread count, keepAlive time and max queue size for one pool
      • default core thread: 25, same to tomcat
      • default max thread: 100, tomcat is 200, because we have 2 pool, so change to 100
      • default keepAlive: 1 minute, same to tomcat
      • default max queue size: Integer.MAX_VALUE, same to tomcat
        or default integrate only one ThreadPoolExecutor?
        because most customers TPS is not so high, no need to do this optimize

      Attachments

        Issue Links

          Activity

            People

              wujimin Jimin Wu
              wujimin Jimin Wu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m