Companion: streaming uploads and datadir

Started by dschmidt2 replies439 views
dschmidtOriginal post
#1

Hey,

we are going to deploy multiple Companion instances and I have a few questions:

The documentation says it’s recommended to enable streaming uploads but it’s not the default - why isn’t it the default and when should we possibly prefer the non-streaming download?

Is the COMPANION_DATADIR necessary if we use streaming uploads?

Anyhow: should the data dir, when it’s needed, be shared across multiple Companion instances or can each instance have its own datadir?

Thanks in advance,
Dominik

MerlijnTransloadit teamAccepted answer
#2

Hi,

Streaming wasn’t immediately made the default because we wanted to test it first and a breaking change, particularly with custom providers.

I think you may still need DATADIR for the temporary chunks, and afaik it can be shared or not depending on your preference.

dschmidt
#3

Okay, cool - we’ll try it. Thanks!