•  
     
    story #7349 SystemEvent to be processed independently
Summary
site admin
SystemEvent to be processed independently
Empty
  • THERE IS NO NEED OF 3 ENTRIES IN CRONTAB
    • We can reuse the concept of "Scheduler" proposed by @nterray 
    • This scheduler is launched every minutes (like process_system_events today, this can be kept as is)
    • As soon as there is queue to consume, it stops and consume the events
    • Example
      • Execution1: process_system_event (pse) consume an long event from "Core" (migrate gerrit)
      • Execution2 (one minute later): pse starts, the first queue is busy, it skips this one and take the seconde queue. If there is sth to consume, it starts executing (long event too, migration tv3 tv5)
      • Execution3 (one minute later): pse start consuming events in the third queue, its very quick
      • Execution4 (one minute later): pse still consume events from first queue
      • etc...
    • It's actually 90 of what is done by process system event as of today. The only difference is that there is several queues to take into account.
  • 3 queues
    • Core
    • Full text search
    • Tracker
  • Admin UI with the 3 different tabs
  • Modify SystemEventProcessorMutex to manage diffrent queues
Empty
Empty
Status
Empty
Done
Development
  • [ ] Does it involves User Interface? 
  • [ ] Are there any mockups?
  • [ ] Are permissions checked?
  • [ ] Does it need Javascript development?
  • [ ] Does it need a forge upgrade bucket?
  • [x] Does it need to execute things in system events?
  • [ ] Does it impact project creation (templates)?
  • [ ] Is it exploratory?
Empty
Details
#7349
Manuel Vacelet (vaceletm)
2014-09-03 18:47
2014-08-14 14:32
7359

References
Referencing story #7349

Follow-ups

User avatar
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
User avatar
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes