OpenJPA
  1. OpenJPA
  2. OPENJPA-1648

Slice thread pool breaks down under high concurrency

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.0
    • Component/s: slice
    • Labels:
      None

      Description

      Slice thread pool breaks down under heavy usage [1].
      This is due to poor choice of thread pool.

      Also creation of thread pool for every flush() is inefficient.

      Simple solution will be to use a cached thread pool – which will be upper bounded by available system's capacity for concurrent native threads.

        Activity

        Michael Dick made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Pinaki Poddar made changes -
        Field Original Value New Value
        Assignee Pinaki Poddar [ ppoddar@apache.org ]
        Pinaki Poddar created issue -

          People

          • Assignee:
            Pinaki Poddar
            Reporter:
            Pinaki Poddar
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development