Blogs Hub

by Sumit Chourasia | Nov 20, 2020 | Category :tutorials

Asynchronism Tutorial

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 aggregation of data. Message queues<br />Message queues receive, hold, and deliver messages. If

read more...

by Sumit Chourasia | Nov 20, 2020 | Category :tutorials

Database Tutorial

Database Tutorial

Relational database management system (RDBMS)<br />A relational database like SQL is a collection of data items organized in tables. ACID is a set of properties of relational database transactions. Atomicity - Each transaction is all or nothing<br />Consistency - Any transaction wil

read more...

by Sumit Chourasia | Nov 20, 2020 | Category :tutorials

What is Application layer?

What is Application layer?

Separating out the web layer from the application layer (also known as platform layer) allows you to scale and configure both layers independently. Adding a new API results in adding application servers without necessarily adding additional web servers. The single responsibility principle advocat

read more...

by Sumit Chourasia | Nov 20, 2020 | Category :tutorials

What is Reverse proxy (web server)

What is Reverse proxy (web server)

A reverse proxy is a web server that centralizes internal services and provides unified interfaces to the public. Requests from clients are forwarded to a server that can fulfill it before the reverse proxy returns the server's response to the client. Additional benefits include: In

read more...

by Sumit Chourasia | Nov 20, 2020 | Category :tutorials

What is Load balancer?

What is Load balancer?

Load balancers distribute incoming client requests to computing resources such as application servers and databases. In each case, the load balancer returns the response from the computing resource to the appropriate client. Load balancers are effective at: Preventing requests from going t

read more...

by Sumit Chourasia | Nov 20, 2020 | Category :tutorials

Content delivery network (CDN)

Content delivery network (CDN)

A content delivery network (CDN) is a globally distributed network of proxy servers, serving content from locations closer to the user. Generally, static files such as HTML/CSS/JS, photos, and videos are served from CDN, although some CDNs such as Amazon's CloudFront support dynamic content. The

read more...

by Sumit Chourasia | Nov 20, 2020 | Category :tutorials

What is Domain name system (DNS)?

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 a few authoritative servers at the top level. Your router or ISP provides information about which DNS server(s) to contact when doing a lookup. Lower level DNS servers ca

read more...

by Sumit Chourasia | Nov 20, 2020 | Category :tutorials

Availability vs consistency

Availability vs consistency

CAP theorem In a distributed computer system, you can only support two of the following guarantees: Consistency - Every read receives the most recent write or an error<br />Availability - Every request receives a response, without guarantee that it contains the most recent version o

read more...

by Sumit Chourasia | Nov 20, 2020 | Category :tutorials

Latency vs throughput

Latency vs throughput

Latency is the time to perform some action or to produce some result. Throughput is the number of such actions or results per unit of time. Generally, you should aim for maximal throughput with acceptable latency.

read more...

by Sumit Chourasia | Nov 20, 2020 | Category :tutorials

Performance vs scalability

Performance vs scalability

A service is scalable if it results in increased performance in a manner proportional to resources added. Generally, increasing performance means serving more units of work, but it can also be to handle larger units of work, such as when datasets grow.1 Another way to look at performance v

read more...

by Sumit Chourasia | Nov 20, 2020 | Category :tutorials

How to Design a system that scales to millions of users on AWS

How to Design a system that scales to millions of users on AWS

Step 1: Outline use cases and constraints<br />Gather requirements and scope the problem. Ask questions to clarify use cases and constraints. Discuss assumptions. Without an interviewer to address clarifying questions, we'll define some use cases and constraints. Use cases<br />Solv

read more...

by Sumit Chourasia | Nov 20, 2020 | Category :tutorials

How to Design Amazon's sales rank by category feature

How to Design Amazon's sales rank by category feature

Step 1: Outline use cases and constraints<br />Gather requirements and scope the problem. Ask questions to clarify use cases and constraints. Discuss assumptions. Without an interviewer to address clarifying questions, we'll define some use cases and constraints. Use cases<br />We'l

read more...