Programming a daemon to retrieve data from websocket
Programming a daemon to retrieve data from websocket in RUST
which will:
Take a list of all cryptocurrency exchanges from redis (an example list in json will be provided).
Each exchange has:
urlfor connecting to WebSocket,JSON schema (or mapping) indicating which field in the message to parse.
The daemon must connect to these WebSockets, read the coin rates and other fields from the schema, and store them in Redis.
4. Proxy support
There will be a separate thread for each exchange, and it should be possible to monitor the connection status to the exchange and the speed at which the daemon updates data for each pair separately.
Example config for exchanges, in redis each exchange will be a separate key and value, for example exchanges_binance
[
{
"id": 1,
"name": "Binance",
"ws_url": "wss://stream.binance.com:9443/ws/btcusdt@trade",
"fields": {
"price": "p",
"time": "T",
"symbol": "s"
}
},
{
"id": 2,
"name": "Bybit",
"ws_url": "wss://stream.bybit.com/v5/public/spot",
"fields": {
"price": "data.price",
"symbol": "data.symbol",
"side": "data.side"
}
}
]
-
446 1 0 I have reviewed your task. I have relevant experience working with WebSockets in Rust. In particular, I wrote an RPC bot in Rust for mempool backrun and monitoring price drops on the DEX Uniswap v2, which required high-performance handling of real-time data streams.
From other experience — developing microservices for platforms like Deezer and SoundCloud, where I created a CDN-like infrastructure for sharing subscriptions among multiple users. In this project, I actively used Redis for state storage and caching, so I am also well acquainted with it.
If you need confirmations of my experience, please message me privately, and I will provide the necessary information.
I will also connect tracing: For logging and monitoring the state of the daemon.
-
247 Good day.
I can develop a daemon in Python or C++. I have over 20 years of experience working on commercial projects. Feel free to contact me.
Current freelance projects in the category C & C++
Reverse engineering of console utilities for querying SSD controllers (Flash ID)1. Purpose of the work Extraction of the application programming interface (API) for interaction with SSD/NVMe controllers from the provided set of console utilities (Phison, Silicon Motion, Realtek, Maxiotek, Marvell, JMicron, etc.). The result should be working code in C/C++… C & C++, Desktop Apps ∙ 6 days 3 hours back ∙ 6 proposals |
Development of a Minecraft Java Seed Map / Seed Viewer for the websiteDevelopment of Minecraft Java Seed Map / Seed Viewer for the websiteProject Description A browser-based tool Minecraft Java Seed Map / Seed Viewer needs to be developed, which will work on our website and allow the user to enter a seed from Minecraft Java Edition and view an… C & C++, HTML & CSS ∙ 6 days 9 hours back ∙ 15 proposals |
Comparative analysis of the effectiveness of custom software (v2.2-field) and reference software (Meshtastic v2.x)
22 USD
Comparative analysis of the effectiveness of custom software (v2.2-field) and reference software (Meshtastic v2.x) on the identical hardware platform (ESP32 + SX1268, 2W) based on the criteria of range, throughput, link stability, and power consumption. Conduct tests with… C & C++, C# ∙ 10 days 16 hours back ∙ 2 proposals |
Consultation and audit of the current project on Odoo 19 Community EditionWe are looking for an Odoo Developer — a solo developer with experience in Odoo 19 Community Edition, including using Claude Code. We need a specialist who has successfully implemented projects in Odoo and practical experience in development using Claude Code. Important: we only… C & C++, Javascript and Typescript ∙ 13 days 18 hours back ∙ 8 proposals |