title: 1.000.000 writes/second with Firebase (with transaction)
body: <p>With Firebase can you think of a database to have a global counter with the possibility of having 1.000.000 writes per second (with transaction) ?</p>
  
  <p><strong>With Cloud Firestore</strong> and <a href="https://firebase.google.com/docs/firestore/solutions/counters" rel="nofollow noreferrer">Distributed counter</a> I can have (at most) : </p>
  
  <ul>
  <li>( 1 write/second * 100) == <strong>100 write per second</strong>. </li>
  </ul>
  
  <p>( 100 : <a href="https://firebase.google.com/docs/firestore/quotas" rel="nofollow noreferrer">Limit maximum depth of subcollections</a>)</p>
  
  <p><strong>With Real time Database</strong> and 1000 database : </p>
  
  <ul>
  <li>( 1000 writes/second * 1000) == <strong>1.000.000 write per second</strong>. </li>
  </ul>
  
  <p>But scale up to 1000 databases can be quite long.
  Are there any other solutions?</p>
  
  <p>Thanks you.</p>