[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

 Description   

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.



 Comments   
Comment by Patrick Peralta [ 22/Oct/14 ]

https://github.com/spring-projects/spring-xd/pull/1246

Generated at Tue Oct 22 22:28:55 UTC 2019 using Jira 7.13.8#713008-sha1:1606a5c1e7006e1ab135aac81f7a9566b2dbc3a6.