using ZMQ to pump information around Genie cloud #644
-
Hi there We understand that there is a features_peerinfo the Configuration module which should return the ip address of the web page and we "THINK" we can use that for this scenario. Here is the usecase: we generate streaming data from an app and send it to port 5555 ( gotten from Web_page1. features_peerinfo) Web_page1 starts up Web_page2 which ( we assume) gets assigned a port by the system (lets say it gets 5556) and Web_page1 queries Web_page2.features_peerinfo to get Web_page1.output port. This would result in 5555 => Web_page1 => 5556 => Web_page2. we tend to use matrices to handle queuing routing so if there is a better way to do this please advise. If possible we'd like to start the web app and have all the ip addresses in one place so we can build out our environment in a flexible manner. This would allow us to handle the situation where IP addresses and ports are not statically assigned. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
@j215chic I'm afraid I don't have a good enough understanding of the context of your app to comment on the flow. But what I can confirm is that features_peerinfo should provide the IP information from the request. However, as it's pretty rarely used, let us know if it doesn't work as expected. |
Beta Was this translation helpful? Give feedback.
Correct, the IP of the GenieCloud app is not directly accessible, you'd be getting the IP of the load balancer. You'd need to use the host.