title: When should you use Firebase Transactions
body: <p>I understand that Firebase transactions enable the atomic update of some value, given its old value and new value</p>
  
  <p>But given that Firebase is a realtime database, I assume, one must use transactions only sparingly and not in 'realtime features'</p>
  
  <p>here's an example:</p>
  
  <ol>
  <li><p>I understand that if you are performing some mathematical operation on a value (adding 'likes' or equivalent), it makes sense to use transaction </p></li>
  <li><p>I dont understand if it makes sense to use transactions in the following use case: Say a text field can be updated by any number of users, and we are interested in all the updates, as they occur in real time. Does firebase recommend we use transaction in this case? Or is the final 'persist operation' that occurs on the value, only limited to a single 'persist operation' per timestamp granularity of the Firebase server clock? </p></li>
  </ol>
  
  <p>Further is it guaranteed that the events will be delivered in the order of which the final values were persisted?</p>