Skip to content

Instantly share code, notes, and snippets.

View ericxtang's full-sized avatar

Eric Tang ericxtang

View GitHub Profile

Livepeer Continuous Release Strategy

The Livepeer node currently has a manual release process. This is time consuming, error-prone, and theoretically insecure. I took some time to look into

### Keybase proof
I hereby claim:
* I am ericxtang on github.
* I am ericxtang (https://keybase.io/ericxtang) on keybase.
* I have a public key ASCrLNnC1Tx75JFIO7FKqMWvwuuihdzqclk_gY0Q5_1xPgo
To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am ericxtang on github.
  • I am ericxtang (https://keybase.io/ericxtang) on keybase.
  • I have a public key ASCrLNnC1Tx75JFIO7FKqMWvwuuihdzqclk_gY0Q5_1xPgo

To claim this, I am signing this object:

Input Streams Output Stream Success Rate
1 3 100%
2 6 100%
4 12 100%
6 18 97.51%
8 24 84.885%
Input Streams Output Streams Hashrate Power Consumption Loss in Hashrate
0 0 32.48 Mh/s 214W 0%
1 3 31.58-31.90 Mh/s 206-216W 1.79% - 2.77%
2 6 30.75-31.56 Mh/s 205-214W 2.83% - 5.33%
4 12 29.72 - 30.39 Mh/s 201-215W 6.43% - 8.50%
6 18 28.86 - 29.39 Mh/s 200-214W 9.51% - 11.15%
8 24 28.33 - 28.90 Mh/s 198-212W 11.02% - 12.78%

Cluster1

docker-compose.yml

version: '3.5'
services:
  orchestrator0:
    image: livepeer/go-livepeer:master
    command: '-orchestrator --network offchain -orchSecret test -serviceAddr orchestrator0:8935 -orchAddr 0.0.0.0'
    ports:
Input Streams Output Streams Loss in Hashrate
0 0 0%
1 3 1.79% - 2.77%
2 6 2.83% - 5.33%
4 12 6.43% - 8.50%
6 18 9.51% - 11.15%
8 24 11.02% - 12.78%
version: '3.5'
services:
orchestrator0:
image: livepeer/go-livepeer:master
command: '-orchestrator -transcoder --network offchain -orchSecret test -serviceAddr orchestrator0:8935 -orchAddr 0.0.0.0'
ports:
- 8935:8935
orchestrator1:
image: livepeer/go-livepeer:master
command: '-orchestrator -transcoder --network offchain -orchSecret test -serviceAddr orchestrator1:8934 -orchAddr 0.0.0.0'
Nov 09 11:51:09 fra-prod-mist-server-0 mist: [2020-11-09 19:51:08] MistProcLivepeer:ds84z3wgtz1xld1j→ds84z3wgtz1xld1j (17082) MEDIUM: Posting to https://ber.livepeer.com/live/ds8447f4-a401-4832-8c0f-a5088b7020eb/5669.ts (2/2)
Nov 09 11:51:13 fra-prod-mist-server-0 mist: [2020-11-09 19:51:11] MistProcLivepeer:ds84z3wgtz1xld1j→ds84z3wgtz1xld1j (17082) FAIL: Post to https://ber.livepeer.com/live/ds8447f4-a401-4832-8c0f-a5088b7020eb/5669.ts timed out after 2915.27 ms (3.15 ms upload, 2912.12 ms wait, 0.00 ms download)
Nov 09 11:51:13 fra-prod-mist-server-0 mist: [2020-11-09 19:51:11] MistProcLivepeer:ds84z3wgtz1xld1j→ds84z3wgtz1xld1j (17082) FAIL: Failed to upload segment https://ber.livepeer.com/live/ds8447f4-a401-4832-8c0f-a5088b7020eb/5669.ts, picking new broadcaster
Nov 09 11:51:13 fra-prod-mist-server-0 mist: [2020-11-09 19:51:11] MistProcLivepeer:ds84z3wgtz1xld1j→ds84z3wgtz1xld1j (17082) WARN: Failed to upload 73884 bytes to https://ber.livepeer.com/live/ds8447f4-a401-4832-8c0f-a5088b7020eb/5669.ts: 0 GET
N