Design application to send messages by marking circle on the map where you want to send message ?
This is a question that was asked of me by an interviewer.
Given a map of the world, Select the country you want to send message to by marking the area with a circle then send the message to all the people in that area.
Visual Link to the Question : Design this application
The approach that I told him:
Firstly build whole person's data (contacts , place information and all). Then where you mark on the map, just build a cluster of that country using Hadoop and fire the message to all the person's contact comes in that cluster.
please help me to better understand this problem, and if there is a better approach to the problem (all back-end and front-end).