Question
What is more efficient for multi container communication?
I have two containers in my application running on a Raspberry pi. One container is a python container that takes sporadic input from I/0 devices. The other container is running Electron JS. My question is what is the best way to push the data received by the python container from the I/O devices to the Electron JS app? I’m in between writing to a shared volume and using a websocket to communicate between the two containers, but don’t know which way is better, and why.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×