Skip to main content

All Questions

0 votes
1 answer
559 views

Python: manager.Queue() with asyncio. How to resolve deadlock?

I am trying to figure out how to have a websocket based server listen to incoming requests, place them in a queue for another process to do work, then place the results in another queue where the ...
Cody DeGhetto's user avatar
4 votes
0 answers
957 views

How to connect to multiple channels using websocket multiprocessing?

I wrote a script allowing to collect data through different websockets channels but I can't manage to listen to multiple channel at once with this script. I would like to find a solution such as "...
uGUIprog's user avatar
4 votes
2 answers
14k views

Python multiprocessing with async functions

I built a websocket server, a simplified version of it is shown below: import websockets, subprocess, asyncio, json, re, os, sys from multiprocessing import Process def docker_command(command_words):...
Erel Segal-Halevi's user avatar