In distributed system, to achieve availability, we write data at multiple places. It is possible that server could go down whenever there is an outage so we have to replicate data at multiple geo locations to achieve high availability.
Read MoreCategory: System design
System design : pastebin.com
About pastebin.com
User can paste or write or store text for the specific period of time and the same content can be accessed / shared via a unique URL. Idea behind this system is that people should be able to share large amount of text online in simple and convenient manner with other people.
Functional requirements
- User should be allowed to paste their content and paste should be accessible via unique URL.
- Registered users can edit or delete their paste
- Paste would be removed from the system after 1 year. / Paste URL would be expired after 1 year of period.