Project

General

Profile

Bug #3929

load balancing with two servers as input / server farm

Added by spyer spyer about 8 years ago. Updated about 8 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2016-08-12
Due date:
% Done:

0%

Estimated time:
Found in version:
HTS Tvheadend 4.1.1945
Affected Versions:

Description

Hello,

I want to build a TVH server "farm" with three servers.

Server 01: Backend with capacity to transcode 5 streams
Server 02: Backend with capacity to transcode 10 streams
Server 03: Frontend on dedicated Server

Server 01+02 have the same muxes/services/channels.
I finde a function in TVH to "Merge same name" if I Map services to channels. TVH have merged the channels with the same name at the Server 03 (see attachment).
The streams/channels to be transcode are not fix and I wand they do transcoding on demand distributed to the two severs (like load balancing)

Up to this point everything as desired (theory).

constraint for test: Server 01+02 have 1 max. input stream.

When I load the channel list he takes the first stream(channel 1) from server one and the second stream(channel 2) from server two.

But if I want to see twice the same stream , he does not take it from the chache and connects to the two servers.

What I am doing wrong or what I can do, to make its work ?

Best wishes


Files

tvh_farm.png (205 KB) tvh_farm.png spyer spyer, 2016-08-12 14:10

History

#1

Updated by saen acro about 8 years ago

Basically not re-stream already available stream

implement this as proxy between beckend and midware
https://jujucharms.com/transcode-cloud/

Also available in: Atom PDF