What is the best way to pass slice and map structure over channel that is distributed over network? I need to distribute the application running over several EC2
instances and wonder how I can achieve this by communicating each application by Go
channel.
Here's the workflow that I would like to run:
1. Process data in one application
2. Distribute the data into 10 replica applications
3. Each 10 application does its job in a separate EC2 instance
4. Once they are all done, they send the result back to the original program
5. This is sent over the channel
Please let me know. Thanks!