Skip to content
Snippets Groups Projects
Commit 25788373 authored by Corné Lukken's avatar Corné Lukken
Browse files

Update README.md

parent 7f98e54b
No related branches found
No related tags found
No related merge requests found
# Statistics multicasting # Statistics replication
We want to fan out an initially UDP stream, from one server to many clients We want to fan out an initially UDP stream, from one server to many clients
without the origin having to send out the stream multiple times for each without the origin having to send out the stream multiple times for each
client. Effectively this requires the independent components to replicate the client. Effectively this requires the independent components to replicate the
stream on behalf of the origin. stream on behalf of the origin.
## Theory of operations
The program supports two fundamental modes, UDP -> TCP one to many and TCP -> TCP one to many.
In UDP mode the program binds and listens on a UDP port expecting the packets to arrive there. Contrarily, in TCP mode it actively tries
to connect to the remote instead. From here the packets are replicated across all connected TCP clients. Should any of the TCP clients
be to slow in receiving these packets than they will be dropped. The mechanism to drop TCP connections is based user configurable
internal buffer (High Watermark). Parameters such as ports, bound interfaces and buffer size are all user configurable through
command line parameters.
If this program is run in TCP mode it can connect to another instance of itself, allowing to forward data across the network without
requiring the origin to sent packets twice (such as is the case with proxies).
Each received packet is sent as is to all clients, the behavior of multipart packets is not validated and tested.
## Solutions ## Solutions
- Haproxy - Haproxy
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment