Page MenuHomePhabricator

Introduce EventBusSendUpdate
Open, Needs TriagePublic

Description

EventBus::send currently issues an HTTP request to send the event. As noted on the parent task when a lot of events need to be pushed this is very slow.

Instead we should introduce a MergeableUpdate for sending events. Then we can collect all the events that already are being sent as a DeferredUpdate and send them over HTTP in one large batch.

Related Objects

StatusSubtypeAssignedTask
InvalidNone
OpenBUG REPORTNone
ResolvedNone
OpenNone

Event Timeline

Does this help the queuing job issue? Are jobs sent in the DeferredUpdate?

No, this one is for non-job events. We send them all via callable deferred update anyway, so why not batch them.