
The sequence of steps followed from source of Traffic to Datastore is shown.
Step 1: Load Balancer distributes traffic between servers. The Traffic flows into the load balancer.
Step 2: New user comment is posted and arrives at load balancer. This is shown by an icon of comment box in the Traffic flowing into Load Balancer.
Step 3: New comment post is directed to Server 1. The traffic with the comment box flows from Load Balancer to Server 1.
Step 4: User hyphen posted comment is written to local data cache. The comment box is written to local cache of Server 1.
Step 5: The data then passes through write hyphen through cache or write hyphen back cache and write to Master Datastore.
Two possible paths exist from Server 1 to Master Database.
write hyphen back cache: Server collects a batch of pending changes that eventually get pushed to datastore next time datastore synchronizes.
write hyphen through cache: Server could also write all changes to data store when new content is written to cache.
Server 2: This image shows Server and its Local cache. Load Balancer is connected to Server 2.
Note: Subsequent requests handled by Server 2 won apostrophe t see this new message until server 2 apostrophe s cache is synchronized with the data store.
Back