Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-3290

Long startup time with many vanityPath

    XMLWordPrintableJSON

Details

    Description

      When many vanityPath or alias are present the system take long time to startup , Same when a vanityPath/alias is removed or updated .

      The reason behind is the usage of a query that updates the global mapentry.

      I have added a new Test to the performance test suite and this is the outcome

      0 vanityPath    		16ms
      1  vanityPath   		19ms
      10 vanityPath         70ms
      100 vanityPath		111ms
      1000 vanityPath		200ms
      10000 vanityPath		1173ms
      30000 vanityPath		3358ms
      

      Attachments

        1. BloomFilterUtilsTest.txt
          7 kB
          Antonio Sanso
        2. SLING-3290-patch.txt
          14 kB
          Antonio Sanso
        3. SLING-3290-patch-nobloom.txt
          21 kB
          Antonio Sanso
        4. StartupWithManyVanityPath.jpg
          28 kB
          Antonio Sanso

        Issue Links

          Activity

            People

              asanso Antonio Sanso
              asanso Antonio Sanso
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: