Stories, Tutorials
& Life Tips
Deep dives on coding, health, recipes, travel and everything in between.

Given a linked list, remove the nth node from the end of the list and return its head. For example, Given linked list: 1->2->3->4->5, an…
📍 Explore Reading Paths
Follow curated journeys from beginner to expert
Asynchronism Tutorial
Asynchronous workflows help reduce request times for expensive operations that would otherwise be performed in-line. They can also help by doing time-consuming work in advance, such as periodic aggreg…
Database Tutorial
Relational database management system (RDBMS)A relational database like SQL is a collection of data items organized in t…
What is Application layer?
Separating out the web layer from the application layer (also known as platform layer) allows you to scale and configure…
What is Reverse proxy (web server)
A reverse proxy is a web server that centralizes internal services and provides unified interfaces to the public. Reques…
What is Load balancer?
Load balancers distribute incoming client requests to computing resources such as application servers and databases. In …
Content delivery network (CDN)
A content delivery network (CDN) is a globally distributed network of proxy servers, serving content from locations clos…
What is Domain name system (DNS)?
A Domain Name System (DNS) translates a domain name such as www.example.com to an IP address. DNS is hierarchical, with …
Availability vs consistency
CAP theorem In a distributed computer system, you can only support two of the following guarantees: Consistency - Every …
Latency vs throughput
Latency is the time to perform some action or to produce some result. Throughput is the number of such actions or result…
Performance vs scalability
A service is scalable if it results in increased performance in a manner proportional to resources added. Generally, inc…
How to Design a system that scales to millions of users on AWS
Step 1: Outline use cases and constraintsGather requirements and scope the problem. Ask questions to clarify use cases a…
How to Design Amazon's sales rank by category feature
Step 1: Outline use cases and constraintsGather requirements and scope the problem. Ask questions to clarify use cases a…
How to Design a key-value cache to save the results of the most recent web server queries
Step 1: Outline use cases and constraintsGather requirements and scope the problem. Ask questions to clarify use cases a…
How to Design the data structures for a social network
Step 1: Outline use cases and constraintsGather requirements and scope the problem. Ask questions to clarify use cases a…
How to Design Mint.com
Step 1: Outline use cases and constraintsGather requirements and scope the problem. Ask questions to clarify use cases a…