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

make GroupExecutor configuration compatible to old version

    XMLWordPrintableJSON

Details

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

    Description

      expect to work like tomcat thread pool
      but jdk standard thread pool's behavior is different:

      JDK standard thread pool rules: 

      • 1.use core threads. 
      • 2.if all core threads are busy, then queue the request. 
      • 3.if queue is full, then create new thread util reach the limit of max threads. 
      • 4.if queue is full, and threads count is max, then reject the request.

       

      to do what we want, need to lock the executor several times for one task, that's too bad
      so only make compatible to old version temporary

      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