Uploaded image for project: 'MINA'
  1. MINA
  2. DIRMINA-398

Change the default Map implementation of DemuxingIoHandler to ConcurrentHashMap

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.0.3, 1.1.0
    • 1.0.4, 1.1.1
    • Handler
    • None

    Description

      DemuxingIoHandler's underlying Map implementation is a synchronized HashMap, which doesn't perform well under heavy load. It is because the map is accessed by many threads at the same time. Replacing it with a ConcurrentHashMap will improve the overall performance of DemuxingIoHandler.

      Attachments

        Activity

          People

            trustin Trustin Lee
            trustin Trustin Lee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: