Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-7764

Remove message_bus on System and Zync

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • System
    • None
    • False
    • False
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started

      Removing message_bus as it is not used anymore in the UI anyway.

      It makes processing the `zync queue` in System slow, as it is always waiting for message bus while there is no message bus involved.

      Why we needed MessageBus?

      In order to show in the UI the update in realtime the Zync integration, we needed a way to communicate with Zync and Sidekiq

      As everything is done asynchronously, showing in the updates was done through message bus communication.

       

      Why are we removing it:

      This ticket is about to remove the MessageBus part in Zync and in System.

      The System part is already in progress https://github.com/3scale/porta/pull/2687

       

      Dev Notes

      It is disabled for really long time, and is hard to understand.

      • issue with process getting terminated randomly

       {{ Global messages on 12355 timed out, restarting process
      13884 successfully terminated by `TERM` signal.}} * UI was already removed when migrating to React Patternfly

      • Zync queues were waiting for nothing and it was raising a MessageBusTimeout
      • it is not used, and disabling it make it timeout somehow

      Steps to reproduce with current HEAD

      • Use production environment
      • disable message bus in config/zync.yml and config/message_bus.yml
      • launch a rails server and wait a little bit more than 3 minutes
      • see your rails server terminated with a message like the one above

      Explanation:

       

          There are no Sub-Tasks for this issue.

              Unassigned Unassigned
              hramihaj Hery Ramihajamalala (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: