You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To efficiently capture, validate, and record various types of radio payload messages, including public POI messages, the Listener Radio plays a pivotal role in understanding a namespace in the Graphcast Network. Its main responsibility is to monitor the integrity and robustness of the network by effectively listening to broadcasts and storing valid messages in a dedicated database.
Capturing Broadcast Messages
Listener Radio remains constantly active and receptive to all broadcasted messages within the Network. Irrespective of the message type, Listener Radio intercepts each message, ensuring no message goes unnoticed.
TODO: Listener radio currently stores a set of supported message types. It should eventually store all messages with compatible traits for GraphcastMessages.
Validating the Messages
On receiving a message, the Listener Radio invokes a series of validation checks:
Authentication: Ensures that the message is from a trusted and legitimate source within the network.
Integrity: Confirms that the message hasn't been altered or tampered with during transmission.
Duplication: Checks the database to ensure the message hasn't been recorded previously, preventing double entries.
Nonce check: Ensures a linear ordering of messages.
Storing Validated Messages
Once a message passes all validation checks, Listener Radio processes it for storage. The storage database is structured to store different types of messages in a general JSONB column, ensuring quick retrievals and queries in the future.
Implement an optimization routine to periodically prune older messages, freeing up storage and maintaining database performance.
Message services
The Listener Radio is equipped to handle various payload message types and providing a quick glance of the overall network
Network Metrics: Periodic summary about network health, peer counts, active topics, and other vital statistics.
HTTP server: Provide API to query overall or specific message entries
Expectation Proposal
Current Database Specifications
Message ID: A unique identifier for each captured message.
Message: A json object as a exact copy of messages from the network.
Add potential new fields
Source: Details about the sender or broadcaster of the message.
Type: Classifies the message (e.g., Public POI, Upgrade intent, etc.)
Validation Timestamp: The exact time when the message was validated by the Listener Radio.
Automated Reporting
Generate daily/weekly summaries of captured and stored messages, aiding in monitoring and potential troubleshooting.
Add a set of metrics
Total Messages Captured
Provides an overall view of the network activity in terms of the number of messages broadcasted and captured by the Listener Radio.
Breakdown of Message Types
Display the number of messages categorized by type to offers a deeper understanding of the nature of network activity.
Validation Success Rate
Percentage of messages that successfully passed the validation checks against those that failed, gauge the integrity of broadcasts in the network.
Database Storage Utilization
Display the current storage usage in terms of total messages stored and available space, such that users can adjust their pruning preferences.
Top Active Broadcasters
List the top entities or nodes that are the most active in broadcasting messages. Helps identifying primary sources of information or potential spamming entities.
Average Message Processing Time
The mean time taken to capture, validate, and store each message as an indicator of the efficiency and responsiveness of the Listener Radio.
Recent Message Log
Display the last few messages with their type, source, and timestamp can provide a quick snapshot of recent network activity.
Daily/Weekly Message Volume Trends
Graphical representation of the number of messages captured over time (daily, weekly).
Failed Message Analysis
To provides reasons or categories for messages that failed validation (e.g., authentication failure, duplication, unsupported messages) for troubleshooting or identifying malicious activities.
Network Latency Metrics
Average time taken for a message to travel from the broadcaster to the Listener Radio can helps users to understand network performance and potential delays.
Messages Awaiting Storage
Count of messages that have been validated but are pending to be stored in the database will indicates potential bottlenecks in storage or processing.
Unique Broadcasters Count
Total number of unique entities or nodes broadcasting messages.
Gives a sense of the diversity and size of the active network participants.
Database Pruning Events
Track when and how many messages were pruned from the database.
Alternative Considerations
Feedback Mechanism: Allow Listener Radio to send acknowledgments back to the network, sharing an overall status to the peer nodes.
The text was updated successfully, but these errors were encountered:
Listener Radio
Problem Statement
To efficiently capture, validate, and record various types of radio payload messages, including public POI messages, the Listener Radio plays a pivotal role in understanding a namespace in the Graphcast Network. Its main responsibility is to monitor the integrity and robustness of the network by effectively listening to broadcasts and storing valid messages in a dedicated database.
Capturing Broadcast Messages
Listener Radio remains constantly active and receptive to all broadcasted messages within the Network. Irrespective of the message type, Listener Radio intercepts each message, ensuring no message goes unnoticed.
Validating the Messages
On receiving a message, the Listener Radio invokes a series of validation checks:
Storing Validated Messages
Once a message passes all validation checks, Listener Radio processes it for storage. The storage database is structured to store different types of messages in a general JSONB column, ensuring quick retrievals and queries in the future.
Message services
The Listener Radio is equipped to handle various payload message types and providing a quick glance of the overall network
Expectation Proposal
Current Database Specifications
Automated Reporting
Generate daily/weekly summaries of captured and stored messages, aiding in monitoring and potential troubleshooting.
Provides an overall view of the network activity in terms of the number of messages broadcasted and captured by the Listener Radio.
Display the number of messages categorized by type to offers a deeper understanding of the nature of network activity.
Percentage of messages that successfully passed the validation checks against those that failed, gauge the integrity of broadcasts in the network.
Display the current storage usage in terms of total messages stored and available space, such that users can adjust their pruning preferences.
List the top entities or nodes that are the most active in broadcasting messages. Helps identifying primary sources of information or potential spamming entities.
The mean time taken to capture, validate, and store each message as an indicator of the efficiency and responsiveness of the Listener Radio.
Display the last few messages with their type, source, and timestamp can provide a quick snapshot of recent network activity.
Graphical representation of the number of messages captured over time (daily, weekly).
To provides reasons or categories for messages that failed validation (e.g., authentication failure, duplication, unsupported messages) for troubleshooting or identifying malicious activities.
Average time taken for a message to travel from the broadcaster to the Listener Radio can helps users to understand network performance and potential delays.
Count of messages that have been validated but are pending to be stored in the database will indicates potential bottlenecks in storage or processing.
Total number of unique entities or nodes broadcasting messages.
Gives a sense of the diversity and size of the active network participants.
Track when and how many messages were pruned from the database.
Alternative Considerations
Feedback Mechanism: Allow Listener Radio to send acknowledgments back to the network, sharing an overall status to the peer nodes.
The text was updated successfully, but these errors were encountered: