The 6 Pillars of the AWS Well-Architected Framework

The 6 Pillars of the AWS Well-Architected Framework

May 31, 2023 Tai Ha

TL;DR The AWS Well-Architected Framework is a set of best practices and guidelines for designing and operating reliable, secure, efficient, and cost-effective systems on AWS. The framework is built around six pillars, each of which addresses a critical aspect of cloud architecture:   Please follow this blog series as we dive into …

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 …

Client-Server Architecture

Client-Server Architecture

May 16, 2023 Tai Ha

You already learned a bit about the client-server architecture when we discussed the two-tier, three-tier and n-tier architecture. Now, we look at it in detail. Client-server architecture is the fundamental building block of the web. The architecture works on a request-response model. The client sends the request to the server for information and the server responds with it. Every website you browse, be it a WordPress blog, …

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 …