Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-1648

Slice thread pool breaks down under high concurrency

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: 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.

        Attachments

          Activity

            People

            • Assignee:
              ppoddar@apache.org Pinaki Poddar
              Reporter:
              ppoddar@apache.org Pinaki Poddar
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: