-
Notifications
You must be signed in to change notification settings - Fork 105
add answers to exercise 1-6 chapter 8 #20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add answers to exercise 1-6 chapter 8 #20
Conversation
@@ -0,0 +1,10 @@ | |||
language: scala |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm surprised that this shows that travis.yml
is added, when it is already in the repository.
Nice! |
Thanks for the reply, I'll try to fix |
8348719
to
6cf639f
Compare
@axel22, |
|
||
def checkTransferTo: Receive = { | ||
case AccountActor.Ok => log.info("Transfer complete") | ||
case AccountActor.Error => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should never receive an error from an actor to whom you sent PlusMoney
, no?
Thanks! I left a couple of minor comments. |
Hi, @axel22 |
No, if actors can arbitrarily fail, the only thing you can do is to implement a consensus algorithm and replicate the state of all the bank accounts across multiple actors. That exercise is meant as a thought experiment to convince yourself of how hard this problem actually is. |
add answers to exercise 1-6 chapter 8
LGTM! Thanks a lot! |
Thanks !!! |
Hi, @axel22
Pls see my changes