Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust WebSocket Client and Aggregator

A Rust application for retrieving data from a WebSocket server, performing aggregation, and validating signatures using multiple client processes and an aggregator process.

Features

WebSocket client processes fetch real-time data from a specified server and calculate average prices.

Aggregator process collects data from client processes, validates signatures, and calculates the final average.

Supports configurable number of client processes and aggregation duration.

Utilizes Tokio for asynchronous I/O and concurrency management.

Implements signature validation and data aggregation using Tokio channels.

Usage

The WebSocket client and aggregator application supports the following command-line options:

Usage: ./simple --mode=cache OR ./simple --mode=read

Options:

--mode=cache            Run in cache mode to fetch data from WebSocket server and calculate average prices.


--mode=read             Run in read mode to read aggregated data from a file.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages