title: How does one store history of edits effectively?
body: <p>I was just wondering for sites like stackoverflow and wikipedia, they stores history of edits indefinitely and allows user to roll back the edits. Can someone recommend any resources/books/articles regarding how to do this using any suitable technology (such as databases etc)</p>
  
  <p>Thanks a lot!</p>