docker-kaldi-gstreamer-server icon indicating copy to clipboard operation
docker-kaldi-gstreamer-server copied to clipboard

How to scale the the docker so that multiple clients can connect to the ASR?

Open kshravi86 opened this issue 7 years ago • 1 comments
trafficstars

Hi Jcsilva

I am running your docker image in one of my compute engine with my models,and i am able to get the streaming work in my android app when i do websocket connection to the docker container.

But if i try to connect to my container with two or more android clients. I am not able to get streaming working.Only one connection can done to the socket.Only one connection works.

Only after that connection is released ,second connection works

How do i scale this docker so that 100s of websocket connection can be opened?

Thank you

kshravi86 avatar Jun 14 '18 14:06 kshravi86

You must create more slaves and connect all of them to the same master. For this, you will need to create another docker container and run the start.sh script indicating the master ip address.

jcsilva avatar Oct 30 '18 22:10 jcsilva