With a friend, we were trying to prepare for a Facebook general architecture interview question. I proposed we try to solve the following problem (very keen to my heart): Backend architecture for massive post analytics So basically - selecting a DB that can efficiently query and scale well with the number of users. Data representation of a post Each post has the following meta-data: Customer ID Channel ID (i.e. the Facebook page ID, or Twitter account ID, etc) Created date - date & time when posted Post type - one of "TEXT", "IMAGE", "VIDEO", "LINK" Text Labels Has no labels Has ALL of the specified labels Has ANY of the specified labels The analytics-data is just: 100 integers Sample queries A list of possible queries All posts for a "Channel ID" for the last 30 days All posts for all "Channel IDs" in a "Customer ID" for a given "Post type" for the last 60 days All...