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: Distributed systems
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.
SQL or NoSQL
There are two mainly two types in the world of databases: SQL and NoSQL (or relational databases and non-relational databases). Both are different in terms of how they are built, what kind of and how they store the information and kind of storage method they use.
Read MoreDifferences Between Push And Pull CDNs
Content delivery networks (CDNs) are most useful when we want to serve static files to our users like CSS, JS, HTML or any image files. It gives better user experience to user when they frequently access these static content. In this blog, we are going to cover about CDN, benefits of using CDN, types of CDNs and differences between those CDNs.
Read MoreBlue green deployment
We have many types of deployments like Canary, Blue-Green, big bang etc. Each deployment have its own pros and cons. In this article, I have described about what is Blue-Green deployment, how it works, why Blue-Green deployment and comparison of blue-green deployment with big bang deployment and some limitations of this deployment strategy.
Read More