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

Allow for parallel calls on ManagedService(Factory)#update

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: configadmin-1.8.12
    • Fix Version/s: None
    • Component/s: Configuration Admin
    • Labels:
      None

      Description

      I have been using the ConfigAdmin implementation a while now and I was always under the assumption that ManagedService(Factory)S were called in parallel (with the restriction that per MSF instance updated() cannot be called concurrently).

      However after looking at UpdateThread.java it became clear that ALL updates to ManagedService(Factory)s are sequentially applied. In our system this led to a situation were a timeout of a very early ManagedServiceFactory triggered a cascade of other timeouts that made it very unclear what the root cause was especially cause these parts of the system were completely independent (despite all using ManagedServiceFactoryS).

      I also suspect that this can impact startup performance when using MS(F) services.

      Is there any design rationale why this is the case?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mjungsbluth Magnus Jungsbluth
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: