Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-655

Cache replaced topic names and shard ids in ByLogicalTableRouter SMT

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Minor
    • 0.7.5
    • 0.7.4
    • core-library
    • None

    Description

      Regexps are slow.
      When using ByLogialTableRouter we're only operating on small amount of names to be replaced by regular expression.
      Adding cache can speed up this a lot.

      Sample values for different regexps (time in msec, 10M iterations):

      (.*)(x|y)[.](.*)
      • without cache: 42091
      • with: 150
      abc[.](x|y)[.](.*)
      • without: 10540
      • with: 88

      Attachments

        Activity

          People

            Unassigned Unassigned
            maver1ckpl_jira Maciej BryƄski (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: