Skip to content

Commit

Permalink
it=if
Browse files Browse the repository at this point in the history
  • Loading branch information
jondot committed Jun 6, 2012
1 parent 2148624 commit ed291b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chapter4.txt
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Each of these has their trade-offs and often you'll mix them. We'll look at all
We can get very simple reliable request-reply with only some changes in the client. We call this the Lazy Pirate pattern. Rather than doing a blocking receive, we:

* Poll the REQ socket and only receive from it when it's sure a reply has arrived.
* Resend a request several times, it no reply arrived within a timeout period.
* Resend a request several times, if no reply arrived within a timeout period.
* Abandon the transaction if after several requests, there is still no reply.

[[code type="textdiagram" title="The Lazy Pirate Pattern"]]
Expand Down

0 comments on commit ed291b7

Please sign in to comment.