From 4e861849986f1da8c71e825d5be4bb26a820920c Mon Sep 17 00:00:00 2001 From: Rob Austin Date: Mon, 10 Nov 2014 17:55:16 +0000 Subject: [PATCH] touched file --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8cb140f1a..98484c987 100644 --- a/README.md +++ b/README.md @@ -822,8 +822,12 @@ not ideal. This is why we created the `ReplicationHub`. The `ReplicationHub` let Chronicle Maps via a single point to point socket connection. The `ReplicationHub` encompasses TCP replication, where each map has to be given a -unique identifier, but when using Chronicle Channels its the channels that are used to identify the map. The identifier is used to identify the host/server. Each host must be given a unique identifier. -Each map must be given a unique channel. +unique identifier, but when using `ReplicationHub` we use a channel to identify the map, +rather than the identifier, As the identifier is used to identify the host/server broadcasted the update. +Put simply: + +* Each host mustbe given a unique identifier. +* Each map must be given a unique channel. ``` java @@ -835,7 +839,7 @@ ReplicationHub replicationHub = ReplicationHub.builder() .createWithId(identifier); ``` -In this example above the channel is given the identifier of 2. +In this example above the `ReplicationHub` is given the identifier of 2. In addition to specifying the identifier we also have to set the maximum entry size, this sets the size of the memory buffers within the `ReplicationChannel`. This has to be set manually, with channels you