zend-patterns / ZendServerSDK

Pure ZF2 CLI for zpk creation and webapi client.
BSD 3-Clause "New" or "Revised" License
22 stars 17 forks source link

implement delayed join #41

Closed mkherlakian closed 9 years ago

mkherlakian commented 10 years ago

in some cloud setups, the cluster node servers might come up before the database server. For these scenarios, it would be useful to have a delayed join cluster method that pings the database server and only joins the node when the server's ready.

slaff commented 10 years ago

@mkherlakian : Are you referring to this method:

Or the other possible one:

?

mkherlakian commented 10 years ago

@slaff I usually use the first one, since we don't necessarily have an already joined server to connect to (which is where the second one is useful). So definitely the first one.