{"guid":"K7ISDA3myTR4X5AI3udD6w","title":"BitTorrent Peer-to-peer controlled by Salt  ","subtitle":"","slug":"880-bittorrent-peer-to-peer-controlled-by-salt","link":"https://c3voc.de","description":"Our task is to distribute software to Windows clients. Our network contains slow links and relay-servers, which must be staged up. \nOur goals are 1) reduce WAN traffic, 2) allow unlimited size, 3) allow unlimited number of clients in one rollout, and 4) start rollout without delay.\n\n  Idea :: \nBitTorrent Peer-to-peer (P2P) reduces WAN traffic because if prefers local content over remote content. Beneficially for the concept, all clients are centrally configured: no peer can be a leach. Clients  act as a storage resource for other clients, eliminating the need for relay servers.\n\n Realization ::\nWe found that Salt manages a BitTorrent agent nicely with Salt-states.\n\n  Experience/Result  ::\nWe have continuously distributed 2 GB per day to up to 50 Minions for over 2 months. Clients and network are undisturbed, while a Salt-Master on a regular desktop administers 50 Minions effortlessly. We fully meet all of our goals. We observe an increasing and by now high reliability with P2P and Salt (in this order), but glitches still occur in both domains.\n\n  Live Demo  ::\nHow to distribute 500 MB, present at 4 clients, to 8 more clients?\nDuring transmission, we will stop the P2P service on some of these 8 clients via salt and then start it again, to simulate clients going temporarily offline. \n\n  Next Steps ::\nMaking Minions 'more active'. Activating and deactivating the P2P service on demand. ","original_language":"eng","persons":["Markus Kramer"],"view_count":72,"promoted":false,"date":"2016-06-22T00:00:00.000+02:00","release_date":"2016-06-25T02:00:00.000+02:00","updated_at":"2025-08-24T21:00:03.587+02:00","tags":["osc16_dv"],"length":1852,"duration":1852,"thumb_url":"https://static.media.ccc.de/media/events/osc/2016/880-sd.jpg","poster_url":"https://static.media.ccc.de/media/events/osc/2016/880-sd_preview.jpg","timeline_url":"https://static.media.ccc.de/media/events/osc/2016/K7ISDA3myTR4X5AI3udD6w-timeline.jpg","thumbnails_url":"https://static.media.ccc.de/media/events/osc/2016/K7ISDA3myTR4X5AI3udD6w-thumbnails.vtt","frontend_link":"https://media.ccc.de/v/880-bittorrent-peer-to-peer-controlled-by-salt","url":"https://api.media.ccc.de/public/events/K7ISDA3myTR4X5AI3udD6w","conference_title":"openSUSE Conference 2016","conference_url":"https://api.media.ccc.de/public/conferences/osc16","related":[{"event_id":16,"event_guid":"import-539bcb7fe84721a1b5","weight":1},{"event_id":605,"event_guid":"import-60fa6616589c809595","weight":1},{"event_id":969,"event_guid":"import-4788ad9117174c432f","weight":1},{"event_id":1252,"event_guid":"import-0aafe9aa6896dd1f8b","weight":1},{"event_id":2022,"event_guid":"B9wjGMhfBstPGailcSYhxg","weight":1},{"event_id":2063,"event_guid":"6x48--2L3WooGBHzWjPqwQ","weight":1},{"event_id":2109,"event_guid":"LnUCEWEhM_Af2eeF-PI5JQ","weight":1},{"event_id":2382,"event_guid":"5f916faf-b4aa-405d-985b-4a51f36ea04f","weight":1},{"event_id":2389,"event_guid":"b017904f-f0aa-4bbf-a52a-bc9b002e2de9","weight":1},{"event_id":2401,"event_guid":"44dc4f3a5a21b8f2af50faf3fd01ea16","weight":1},{"event_id":2576,"event_guid":"f6d8ef16-65e0-41f8-b1b3-04239a7d68ac","weight":1},{"event_id":2933,"event_guid":"c50c5193-7389-4858-9352-14ea6d74b77a","weight":1},{"event_id":2990,"event_guid":"6de11db2-2aae-4cd1-969f-f2a16a557f8f","weight":1},{"event_id":3080,"event_guid":"2891aad4-3150-4d3b-b09e-1286470af1d3","weight":1},{"event_id":3170,"event_guid":"AcJAsqjOmTr4uxDzmUZFew","weight":3},{"event_id":3177,"event_guid":"JFAGk61uSdO1EkkSPpn3rA","weight":1},{"event_id":3185,"event_guid":"VcC-9xo_wjyqrrzeLQMzSg","weight":2},{"event_id":3193,"event_guid":"mawQqs7d0K2Zg-etAUYlkg","weight":1},{"event_id":3209,"event_guid":"9lMPMu99GEqkOTTmlsA4eQ","weight":1},{"event_id":3425,"event_guid":"f4f1d770-7229-4259-86e2-3916a45142ca","weight":1},{"event_id":3556,"event_guid":"40f28d4c-6f37-4950-9ad9-0e8cef9dd769","weight":1},{"event_id":3616,"event_guid":"e4fbbb8d-0b74-4129-83b7-bda2247175bc","weight":1},{"event_id":4993,"event_guid":"0aba4941-a853-4bb6-82e9-b169a892357e","weight":1},{"event_id":5534,"event_guid":"FYGInk6xUS9vg93ODzaNhw","weight":1},{"event_id":7300,"event_guid":"b3ce0272-f184-416d-ada2-07441237e632","weight":1}],"recordings":[{"size":95,"length":1852,"mime_type":"video/mp4","language":"eng","filename":"osc16_dv-880-eng-BitTorrent_Peer-to-peer_controlled_by_Salt_sd.mp4","state":"new","folder":"h264-sd","high_quality":false,"width":720,"height":576,"updated_at":"2016-06-25T18:26:50.158+02:00","recording_url":"https://cdn.media.ccc.de/events/osc/2016/h264-sd/osc16_dv-880-eng-BitTorrent_Peer-to-peer_controlled_by_Salt_sd.mp4","url":"https://api.media.ccc.de/public/recordings/11204","event_url":"https://api.media.ccc.de/public/events/K7ISDA3myTR4X5AI3udD6w","conference_url":"https://api.media.ccc.de/public/conferences/osc16"},{"size":14,"length":1843,"mime_type":"audio/mpeg","language":"eng","filename":"osc16_dv-880-eng-BitTorrent_Peer-to-peer_controlled_by_Salt.mp3","state":"new","folder":"mp3-audio-only","high_quality":false,"width":0,"height":0,"updated_at":"2016-06-25T19:14:02.117+02:00","recording_url":"https://cdn.media.ccc.de/events/osc/2016/mp3-audio-only/osc16_dv-880-eng-BitTorrent_Peer-to-peer_controlled_by_Salt.mp3","url":"https://api.media.ccc.de/public/recordings/11224","event_url":"https://api.media.ccc.de/public/events/K7ISDA3myTR4X5AI3udD6w","conference_url":"https://api.media.ccc.de/public/conferences/osc16"},{"size":117,"length":1852,"mime_type":"video/webm","language":"eng","filename":"osc16_dv-880-eng-BitTorrent_Peer-to-peer_controlled_by_Salt_webm.webm","state":"new","folder":"webm","high_quality":false,"width":720,"height":576,"updated_at":"2016-06-26T00:40:42.151+02:00","recording_url":"https://cdn.media.ccc.de/events/osc/2016/webm/osc16_dv-880-eng-BitTorrent_Peer-to-peer_controlled_by_Salt_webm.webm","url":"https://api.media.ccc.de/public/recordings/11270","event_url":"https://api.media.ccc.de/public/events/K7ISDA3myTR4X5AI3udD6w","conference_url":"https://api.media.ccc.de/public/conferences/osc16"},{"size":10,"length":1843,"mime_type":"audio/opus","language":"eng","filename":"osc16_dv-880-eng-BitTorrent_Peer-to-peer_controlled_by_Salt.opus","state":"new","folder":"opus","high_quality":false,"width":0,"height":0,"updated_at":"2016-06-25T19:13:27.925+02:00","recording_url":"https://cdn.media.ccc.de/events/osc/2016/opus/osc16_dv-880-eng-BitTorrent_Peer-to-peer_controlled_by_Salt.opus","url":"https://api.media.ccc.de/public/recordings/11223","event_url":"https://api.media.ccc.de/public/events/K7ISDA3myTR4X5AI3udD6w","conference_url":"https://api.media.ccc.de/public/conferences/osc16"}]}