Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-2436

Reduce the number files created by the fileinstall Scanner.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • fileinstall-2.0.8
    • fileinstall-3.4.0
    • File Install
    • None

    Description

      The fileinstaller is called regularly and there can be two or more instances in a server.
      However its object allocation doesn't considered that 99.999+% of the time none of the files change.
      (polling one per second and changing files once per day is means the file installer will see a change 0.001% of the time)

      In our application, polling every second results in the Scanner creating more objects than the application itself. We can turn down the polling rate but even at once every 10s it creates more objects than any other component!

      For this reason I have changed the Scanner to first check whether any files have changed attempting to compute what has changed.

      See atached for a patch of the changes. This reduces the number of obejcts created by atleast a factor of 3.

      Attachments

        Activity

          People

            gnodet Guillaume Nodet
            peter_edgeci Peter Lawrey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: