Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
sandGorgon
6y ago
0 comments
Share
Don't understand that clearly. Can't I put something in the queue in the main process and read it from subprocesses ?
0 comments
default
newest
oldest
nurettin
6y ago
Is that going to provide bi-directional communication between main and subprocesses while they are running? If it does, disregard what I wrote.
sandGorgon
OP
6y ago
Sure. You can put results in an "output" queue (which is backed by Redis) that is read by the main application.
Incidentally this is how you do a notification on your UI .
j
/
k
navigate · click thread line to collapse