Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-19102

camel-core: Producer cache offers poor performance due to the type check scalability issue

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.0-RC1, 4.0
    • camel-core
    • None
    • Unknown

    Description

      Fixing the type-check scalability issue on the DefaultProducerCache may offer a significant performance gain:

       

      --- 4.0.0-SNAPSHOT (w/ single shot initialization check + local cache)
      Minimum: 652933.0
      Maximum: 763599.0
      Mean: 720940.8750000001
      Geometric mean: 720782.7857395237
      Standard deviation: 14897.378438658043
      -- 4.0.0-SNAPSHOT (w/ single shot initialization check) 
      Minimum: 604363.0
      Maximum: 738706.0
      Mean: 690079.2589285716
      Geometric mean: 689914.539795926
      Standard deviation: 14777.32031672733
      

       

       

      Unfortunately simple patches to fix access to the cache (such as c8d36cb1ddb93331cbecb0efa10586737f1d72c6) cause side effects (i.e.; DefaultProducerCacheTest fails). So, we might need to try a different approach.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            orpiske Otavio Rodolfo Piske
            orpiske Otavio Rodolfo Piske
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment