title: Storing files (videos/images/music) in CouchDB/Cloudant vs CDN (CloudFront)?
body: <p>I am new to CouchDB/Cloudant and CDN (CloudFront).</p>
  
  <p>I am about to build an application using CouchDB as database.</p>
  
  <p>This web application will handle a lot of files.</p>
  
  <p>I know that CouchDB can store files in the database as attachments. But then I have heard about leveraging CDN to store and distribute the files all over the world.</p>
  
  <p>My questions:</p>
  
  <ol>
  <li>How is storing files in CouchDB compared to CDN (CloudFront)?</li>
  <li>How is Cloudant's service compared to CDN (CloudFront)?</li>
  <li>Is Google storage also a CDN?</li>
  <li>What is the difference between Amazon CloudFront and S3?</li>
  <li>Do I have to choose to store files either in CouchDB/Cloudant or CDN, or could/should I actually combine them?</li>
  <li>What are best practices for storing files when using CouchDB?</li>
  </ol>