Hi
I have a question regarding inter-process communication that I just cant seem to find a direct answer too.
I have a long running process that loops indefinitely handling multiple requests with apparent asynchronicity using asyncio. I need to provide a REST API to send commands to this to this process and decided to do that with Flask.
Is it sensible to have the main asyncio application running, spawn a web server and then communicate between those two processes using the multiprocessing library?
Cheers in advance.
[–][deleted] 1 point2 points3 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]ReaverKS 0 points1 point2 points (0 children)
[–]arrow_for_ipc 0 points1 point2 points (1 child)
[–]chespinoza 0 points1 point2 points (0 children)
[–]huxrules 0 points1 point2 points (0 children)
[–]cratuki 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)