D. E. Shaw India interview question

SQL and NoSQL Databases, Producer/Consumer Problem