What is a REST API?

What is a REST API?

May 16, 2023 Tai Ha

What is REST? REST stands for Representational State Transfer. It’s a software architectural style for implementing web services. Web services implemented using the REST architectural style are known as the RESTful web services. REST API A REST API is an API implementation that adheres to the REST architectural constraints. It acts as an interface. The communication between the client and the server happens over HTTP. A REST API takes …

N-Tier Applications

N-Tier Applications

May 15, 2023 Tai Ha

An n-tier application is an application that has more than three components (user interface, backend server, database) involved in its architecture. What are those components? All the social applications like Instagram, Facebook, TikTok, large-scale consumer services like Uber, Airbnb, online massive multiplayer games like Pokémon Go, Roblox, etc., are n-tier applications. n-tier applications are more popularly known as distributed systems. …

Three-Tier Applications

Three-Tier Applications

May 15, 2023 Tai Ha

Three-tier applications are pretty popular and largely used on the web. Almost all simple websites like blogs, news websites, etc., are part of this category. In a three-tier application, the user interface, business logic, and the database all reside on different machines and, thus, have different tiers. They are physically separated. Let’s take the example of …

Two-tier application

Two-tier application

May 15, 2023 Tai Ha

A two-tier application involves a client and a server. The client contains the user interface with the business logic in one machine. Meanwhile, the backend server includes the database running on a different machine. The database server is hosted by the business and has control over it. Why do we need two-tier applications? Why not host the business logic on a different machine and have control over it too? Also, again …

Single-Tier Applications

Single-Tier Applications

May 15, 2023 Tai Ha

Single-tier applications In a single-tier application, the user interface, backend business logic, and the database reside in the same machine. Typical examples of single-tier applications are desktop applications like MS Office, PC Games, image editing software like Gimp, Photoshop, etc. Upsides of single-tier applications The primary upside of single-tier applications is that they have no network latency since …

Design Slack

Design Slack

April 11, 2023 Tai Ha

Hints: Walkthrough:

Design Google Drive

Design Google Drive

April 11, 2023 Tai Ha

Hints: Walkthrough:

Design Amazon

Design Amazon

April 11, 2023 Tai Ha

Design the system that powers Amazon’s e-commerce business. Hints: Walkthrough:

Design Airbnb

Design Airbnb

April 11, 2023 Tai Ha

Hints: Walkthrough:

Design A Code-Deployment System

Design A Code-Deployment System

April 11, 2023 Tai Ha

Name: Design A Code-Deployment System Design a global and fast code-deployment system. Hints: Walkthrough: