rsync server side limit bandwidth/connection
Posted
by
c2h2
on Server Fault
See other posts from Server Fault
or by c2h2
Published on 2012-09-09T07:04:20Z
Indexed on
2012/09/09
9:39 UTC
Read the original article
Hit count: 214
In a VOIP application, I have upto 3000 clients rsync
audio files from there linux server in a daily, server is placed at a data center (10Mbps in/out bound), the server works as a VOIP sip server running FreeSWITCH (low ping latency should be ensured.)
Therefore I would like to have server side control of rsync which controls:
- Limit total outbound bandwidth.
- Limit total number of connections. (Reject clients while at max number of connection and let it retry after a specific time frame.)
- OPTIONAL: list/kill individual connections.
Normally I would use ssh + rsync + pem_keys with some extra options, but above requirements are not feasible by simple command lines. Can anyone point me some direction. or show some scripts/tools? I would also probably integrate them and release on github. Thanks!
© Server Fault or respective owner