I actually had a question about the Chapter 2 Nearby Friends in this book. It introduced redis pub/sub to listen to the location updates from any websocket and then publish the update to all the subscribers. It's not very clear how websocket servers subscribe to the redis pub/sub. Given websocket servers have many nodes and we don't have knowledge on which websocket connection locates on which host. In case an update needs to be propagated to three websockets, how to determine which websocket server will be invoked?
Elastic search is one which support the geocode base search.
I actually had a question about the Chapter 2 Nearby Friends in this book. It introduced redis pub/sub to listen to the location updates from any websocket and then publish the update to all the subscribers. It's not very clear how websocket servers subscribe to the redis pub/sub. Given websocket servers have many nodes and we don't have knowledge on which websocket connection locates on which host. In case an update needs to be propagated to three websockets, how to determine which websocket server will be invoked?
I need to implement something like this. Can you please go into the details of this? This would be very helpful and kind of you. Thank you.
Really interested in the topic. Can you please go deeper?
I think many cloud solutions today in their database support some Location Based approaches, but these concepts are really new to me :)