I have written a timed program that requires Adverts in between screens in the program.
There are a few parts to setup the scenario.
- the user will have criteria ie Age, Gender and location
- the advertiser will specify Age , Gender and Major location cities with distance from that city that they are looking for people to see their adverts. The Advertisers might have ranges on each of these criteria.
Then when the user requests a set of adverts (To be done in ms and up to 35 adverts) the DB needs to check for adverts that suit the criteria from multiple advertisers (We do not want repeats from he same advertiser) and send the data of the adverts to be displayed to my system.
Is this something that can be done with MongoDB and is MongoDB the most suitable ?