Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Refactoring changes
  • Loading branch information
amit2103 committed Oct 30, 2015
commit f5bb8e961b83d97f72d623ceee28d13ec7f8fa90
25 changes: 9 additions & 16 deletions leader-follower/index.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,16 @@
---
layout: pattern
title: Tolerant Reader
folder: tolerant-reader
permalink: /patterns/tolerant-reader/
categories: Integration
title: Leader Follower
folder: leader-follower
permalink: /patterns/leader-follower/
categories: Concurrency
tags: Java
---

**Intent:** Tolerant Reader is an integration pattern that helps creating
robust communication systems. The idea is to be as tolerant as possible when
reading data from another service. This way, when the communication schema
changes, the readers must not break.
**Intent:** Leader Follower is a concurrency pattern where multiple threads can efficiently demultiplex
events and dispatch to event handlers.
![alt text](./etc/LeaderFollower.png "Leader Follower")

![alt text](./etc/tolerant-reader.png "Tolerant Reader")
**Applicability:** Use the Leader Follower pattern when

**Applicability:** Use the Tolerant Reader pattern when

* the communication schema can evolve and change and yet the receiving side should not break

**Credits:**

* [Martin Fowler - Tolerant Reader](http://martinfowler.com/bliki/TolerantReader.html)
* multiple threads can receive events , process reponses and demutiplex connection using a shared HandleSet.