What kind of database I should use and how to design a database for ad network platform : <p>I want to build a ad serving platform like serving ads by words in the content. I want to make word as affiliated link. I have some campaigns with some tags words. When request comes to ad serving API it should serve suitable campaign for those words with some additional conditions. like device type and location etc... I've tried with Redis, couchbase and mongo but My API is not serving within a sec. please suggest me some database and how to design database. </p>
