Content Management System Design

Design a document management system based on below requirements:

- System should version every edit of the document
- User will be shown the latest version by default
- User can select older version of the document to view
- Design the system to optimize the storage since, it's limited
- System should serve any version of the document instantly
- If 2 users are modifying the same document (latest version) then, user who saves the document later should get an error. Since, the second user is no more working off the latest version. Note, the edit api can only take the edited document content.
Comments (6)