Major refactoring of RemoteActorRefProvider, remote Routing and FailureDetector, including lots of fixes and improvements.
- Decoupled FailureDetector from Routing by introducing ConnectionManager which uses FailureDetector instead of it being the same thing. - Added ConnectionManager - Added LocalConnectionManager - Added RemoteConnectionManager - Improved RoutedProps - Integrated and added configuration for Scatter Gather router - Added NoOpFailureDetector - Misc API and documentation improvements Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
This commit is contained in:
parent
78193d7a62
commit
4ec050c12e
23 changed files with 870 additions and 995 deletions
|
|
@ -25,7 +25,7 @@ class ConfiguredLocalRoutingSpec extends WordSpec with MustMatchers {
|
|||
None,
|
||||
RoundRobin,
|
||||
NrOfInstances(5),
|
||||
RemoveConnectionOnFirstFailureLocalFailureDetector,
|
||||
NoOpFailureDetector,
|
||||
LocalScope))
|
||||
|
||||
val helloLatch = new CountDownLatch(5)
|
||||
|
|
@ -61,7 +61,7 @@ class ConfiguredLocalRoutingSpec extends WordSpec with MustMatchers {
|
|||
None,
|
||||
RoundRobin,
|
||||
NrOfInstances(10),
|
||||
RemoveConnectionOnFirstFailureLocalFailureDetector,
|
||||
NoOpFailureDetector,
|
||||
LocalScope))
|
||||
|
||||
val connectionCount = 10
|
||||
|
|
@ -106,7 +106,7 @@ class ConfiguredLocalRoutingSpec extends WordSpec with MustMatchers {
|
|||
None,
|
||||
RoundRobin,
|
||||
NrOfInstances(5),
|
||||
RemoveConnectionOnFirstFailureLocalFailureDetector,
|
||||
NoOpFailureDetector,
|
||||
LocalScope))
|
||||
|
||||
val helloLatch = new CountDownLatch(5)
|
||||
|
|
@ -141,7 +141,7 @@ class ConfiguredLocalRoutingSpec extends WordSpec with MustMatchers {
|
|||
None,
|
||||
Random,
|
||||
NrOfInstances(7),
|
||||
RemoveConnectionOnFirstFailureLocalFailureDetector,
|
||||
NoOpFailureDetector,
|
||||
LocalScope))
|
||||
|
||||
val stopLatch = new CountDownLatch(7)
|
||||
|
|
@ -175,7 +175,7 @@ class ConfiguredLocalRoutingSpec extends WordSpec with MustMatchers {
|
|||
None,
|
||||
Random,
|
||||
NrOfInstances(10),
|
||||
RemoveConnectionOnFirstFailureLocalFailureDetector,
|
||||
NoOpFailureDetector,
|
||||
LocalScope))
|
||||
|
||||
val connectionCount = 10
|
||||
|
|
@ -220,7 +220,7 @@ class ConfiguredLocalRoutingSpec extends WordSpec with MustMatchers {
|
|||
None,
|
||||
Random,
|
||||
NrOfInstances(6),
|
||||
RemoveConnectionOnFirstFailureLocalFailureDetector,
|
||||
NoOpFailureDetector,
|
||||
LocalScope))
|
||||
|
||||
val helloLatch = new CountDownLatch(6)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue