hey guys. I have this scenario where I need to able to do things like determining for a given user: nearby shops, distance from a shop, distance and time away from delivery person/courier.
For this I decided to create a "Locations Service" and the idea is to have other services actors make requests to it to get location related data using Akka.Remote .
Shop Service asks
locationsService which are the nearby shops for a given point/user location (latitude, longitude). My problem is that currently I have the dbs separated by each service. How would shop service know which shops to present to the user? Right now all I have is geo spatial data stored in
locations service db and a name for each entry. I feel like I'm missing something and I might be even confusing myself :/