西维蜀黍

【Architectural Pattern】Overall

From Mud to Structure (High level decompositions)

  • Layers
  • Pipes and Filters
  • Blackboard

Distributed Systems

  • Broker

Interactive Systems

  • MVC (Model-view-controller)
  • Presentation-Abstraction-Control

Adaptable Systems

  • Microkernel
  • Reflection
  ...


【Distributed System】Observability

Observability

In software engineering, more specifically in distributed computing, observability is the ability to collect data about programs’ execution, modules’ internal states, and the communication among components. To improve observability, software engineers use a wide range of logging and tracing techniques to gather telemetry information, and tools to analyze and use it. Observability is foundational to site reliability engineering, as it is the first step in triaging a service outage. One of the goals of observability is to minimize the amount of prior knowledge needed to debug an issue.

  ...


【Database】Overview

  ...


【ClickHouse】学习

Install

Ubuntu

# install
sudo apt install clickhouse-server clickhouse-client

sudo service clickhouse-server start
sudo service clickhouse-server status

# connect
# 1. Download the binary
curl https://clickhouse.com/ | sh

# 3. Start the client
# Use the clickhouse-client to connect to your ClickHouse service. Open a new Terminal, change directories to where your clickhouse binary is saved, and run the following command:
./clickhouse client --host 192.168.18.247
# You should see a smiling face as it connects to your service running on localhost:
my-host :)

What Is ClickHouse?

ClickHouse® is a high-performance, column-oriented SQL database management system (DBMS) for online analytical processing (OLAP).

  ...


【InfluxDB】学习

InfluxDB

InfluxDB 2.7 is the platform purpose-built to collect, store, process and visualize time series data. Time series data is a sequence of data points indexed in time order. Data points typically consist of successive measurements made from the same source and are used to track changes over time. Examples of time series data include:

  • Industrial sensor data
  • Server performance metrics
  • Heartbeats per minute
  • Electrical activity in the brain
  • Rainfall measurements
  • Stock prices
  ...