[XD-2238] Improve module deployment distribution Created: 14/Oct/14  Updated: 27/Oct/14  Resolved: 27/Oct/14

Status: Done
Project: Spring XD
Component/s: None
Affects Version/s: None
Fix Version/s: 1.1 M1

Type: Improvement Priority: Major
Reporter: Patrick Peralta Assignee: Patrick Peralta
Resolution: Complete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Story Points: 5
Rank (Obsolete): 59
Acceptance Criteria:

(More) even distribution of modules across containers starting up within seconds of each other.

Sprint: Sprint 37


When a container joins the XD cluster (via ZooKeeper) it triggers stream/job module deployments for modules that need to be deployed. If multiple containers are being started at around the same time, this can result in the first few containers taking all of the deployments while leaving the rest without any deployments.

To solve this, we will introduce a "quiet period" where no deployments will be triggered within n seconds of a container joining, where n will have a default value (perhaps 5 to 10 seconds). This value will be configurable.

Comment by Patrick Peralta [ 22/Oct/14 ]


Generated at Fri Jun 05 01:08:43 UTC 2020 using Jira 8.5.4#805004-sha1:0444eab799707f9ad7b248d69f858774aadfd250.