Setting up an infrastructure with shards

Hi Guys,

Im new here so be kind.

I want to set up an infrastrucure with multiple servers, i would like to settup multiple shards, every costumer gets his own server with a shard on it an nodejs and ffmpeg to get the video files this server i call an video server.

Then we have our main server, this server contains the website and a main shard with user data etc.

Im working with video files and i was wondering if i need the config servers to connect to a shard on the video server.

The challange is load balancing, every video server gets ffmpeg to get a RTSP stream and i want to put the files in the database. Because every video server has his owm shard i would like to put the files directly within the server in the database. Is this possible?

Thnx for the help!