Closed Krymnos closed 6 years ago
The motivation for Storing Messages on each gateway is based on the Smart Grid context: In case that a part of the grid fails or loses connection, it needs to be able to operate on its own. However, since we are not implementing any logic for the smart grid, it should be sufficient to just store data.
Still keeping this in mind, we have to decide between keeping all incoming messages, only (aggregated) outgoing messages, or both. So the trade-off is more precise data vs. longer storage.
I am suggesting to keep only all incoming messages, since: Smart Grid outages should be short so a storage time of half an hour or so should be sufficient, while more precise data could be important for the functioning of the smart grid.
e.g. input messages, output both also provenance data