https://www.gravatar.com/avatar/206912d6900c65386f24516df605c206?s=240&d=mp

Kourtney's Space

HA Cluster Notes and Application Design

When designing systems with higher traffic, you will eventually encounter cluster-related issues.

Cluster

A collection of one or more machines (nodes) with three different purposes:

Load Balancing

Allows multiple machines to share tasks as evenly as possible, accelerating application execution.

High Availability (HA)

For high availability and redundancy, if one machine suddenly fails, others can take over.

High Performance Computing

High-performance/parallel computing systems, abbreviated as HPC clusters, combine the hardware of multiple machines to increase computing power, used to solve tasks that a single machine cannot handle.

Common DNS Resource Records

Each DNS zone in a DNS server has a zone file.
A DNS zone is usually a single domain (though not always).
A zone file is composed of many DNS resource records (RRs).
There are many different types of RRs.
Let’s record some common ones.

A record

Maps a hostname to an IPv4 address. (32-bit)

hostname IN A xxx.xxx.xxx.xxx

RDBMS and NoSQL Differences Notes

RDBMS

Relational Database Management System

  • Used when there are strong Relations between data:
    • Design a schema that is unlikely to change, relating tables to each other, then you can retrieve the desired data through SQL.
  • Used when data correctness is very important:
    • Usually provides ACID properties.
  • Changing the schema is a huge undertaking:
    • Requires updating the table schema and migrating data.
    • All programs that use the table with the changed schema need to be modified.

Docker Notes 1 - Beginner

Basic Concept

Docker can be seen as a simplified virtual machine (VM).
Since it doesn’t install a full operating system, it offers a smaller footprint and faster speed.

Image

An Image contains a lightweight runtime environment,
including its libraries and executables.