Target release
Epic
Document status
DRAFT
Document owner
Designer
Developers
QA

Goals

  • Replace CORBA with something else the Notification Channel API

Background and strategic fit

This is related to the obsolescence of third-party products that are no longer maintained, or its maintenance is limited.

This also works as a first stone for the study of potential CORBA replacement.

Assumptions

Requirements

#TitleUser StoryImportanceNotes
1API must be available in C++, Java and PythonDevelopers use those three languages to implement the different parts of ALMA software, therefore the API must be provided in those three languagesMust Have
2The Notification Channel API must hide as much as possible of the underlying technologyThe API must be common for all the technologies used to implement this API. This includes CORBA at the beginningMust have Notification Channel
3The possibility of setting the quality of service and administrative properties of channels must exist.Each channel has different QoS requirements based on the role they play in whole ALMA system. The user must be able to set this up using the Configuration DatabaseMust HaveNotification Channel
4The API must be implemented in a high-performance manner to reduce the chances of events being discarded, if the QoS settings are set properly.Each client (publisher or subscriber) must perform accordingly to prevent slow participants. The sending and reception of events should be done as quickly as possible. Each client consuming events from the API is responsible to handle each event timely, otherwise events could be lost.Must Have
5Notification Channel must decouple publishers from subscribers.
Must Have
6Notification channel shall deliver events based on best-effort or reliable way. Depending of the QoS configuration.
Must Have
7Events should be delivered to consumers in a timely mannerThe events must be sent and received with the lowest latency possible. Acceptable values are in order of 100 [ms]Must Have
8Notification channel must support re-connection of clientsIf the Event Channel goes down, the Channel must be re-created automatically. All the clients connected to the Event Channel shall reconnect to it.Must Have
9Notification Channels must provide introspectionThe services associated, the channels and the clients must offer operational performance parameters introspection, in a way they can be monitoredDesirabletickets with problems here
10Notification channel should be fault tolerantProblems in any network path should not affect communications that do not involve that path
Events should be queued, up to some limit, in network paths that do have a problem.
Data transmission between a publisher and consumer should not require the data be staged in a third place, like a central server.
Must have


11Maintain event orderEvents between the same publisher and consumer should be delivered in the same orderMust have

User interaction and design

Questions

Below is a list of questions to be addressed as a result of this requirements document:

QuestionOutcome

Not Doing