reef-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julia (JIRA)" <>
Subject [jira] [Commented] (REEF-1453) GroupCommunication should create a new observer for each client
Date Fri, 17 Jun 2016 20:02:05 GMT


Julia commented on REEF-1453:

Having one observer for one client would allow us to leverage OnError and OnComplete, that
is true. 

In GC case, if one node fails, an exception will be sent to the observer if client and observer
is one to one. As chained effect, all the nodes will fail right after. So eventually all the
observers will receive the error anyway. 

> GroupCommunication should create a new observer for each client
> ---------------------------------------------------------------
>                 Key: REEF-1453
>                 URL:
>             Project: REEF
>          Issue Type: Improvement
>          Components: REEF.NET
>            Reporter: Andrew Chung
>            Assignee: Andrew Chung
>              Labels: FT
> {{GroupCommunication}} currently only has one universal observer that handles connections
for all incoming clients. This is inconvenient because when a client fails or disconnects,
there is no easy way to propagate the failure/completion signal of the *specific* failed client
up to the universal observer.
> Provided that each {{CommunicationGroupClient}} knows all its downstream nodes and can
reverse-lookup the endpoints, the {{CommunicationGroupClient}} should only create an observer
for each endpoint instead of using the universal observer.

This message was sent by Atlassian JIRA

View raw message