title: MongoDB + Web App: Database per user
body: <p>I'm in the process of evaluating MongoDB for a personal project. I'm putting together a site that will allow users to register and store information on my server. </p>
  
  <p>While evaluating MongoDB I saw that it can create a database on the fly, the first time a record is inserted. That got me thinking that I could separate the data for each user into their own database. The database name will be derived from the user's unique id. After a user registers, the first time they store information their database will be created.</p>
  
  <p>Does anyone know if this is a feasible design with MongoDB? Would it be better to simply store all user's data in a single database?</p>