---
title: "Yuanyu Liang (@gsonLiang) | Hashnode"
description: "nodejs developer, backend enigneer. Read the latest articles by Yuanyu Liang on Hashnode."
url: "https://hashnode.com/@gsonLiang"
---

@gsonLiang

# Yuanyu Liang

@gsonLiang · Joined April 2023

nodejs developer, backend enigneer

### [aws vpc subnet 小常識](https://ganhua.wang/aws-vpc-subnet?utm_source=hashnode&utm_medium=feed)

AWS VPC with subnet 在 AWS 的服務中，可以透過 AWS Virtual Private Cloud 來把部署的運算資源做有效的管控以及隔離 AWS subnet 每當開啟一個 VPC 時，預設會開啟一個網路區段的空間來配置資源 舉例來說: 一般會是 10.0.0.0/16 代表有 16bit 被 lock 只剩 16bit 可分配 而 VPC 內會在把該網路區段隔離成多個更小的子網段稱為 subnet 舉例來說: 以下圖來說，切隔成 10.0.1.0/24 與 10.0....

1 min read · [ganhua.wang](https://ganhua.wang/aws-vpc-subnet?utm_source=hashnode&utm_medium=feed)

[May 7, 2024](https://hashnode.com/posts/aws-vpc-subnet/6639b2d071132ef892fd927f)

### [aws iam 重要概念](https://ganhua.wang/aws-iam?utm_source=hashnode&utm_medium=feed)

AWS IAM Concept

2 min read · [ganhua.wang](https://ganhua.wang/aws-iam?utm_source=hashnode&utm_medium=feed)

[May 7, 2024](https://hashnode.com/posts/aws-iam/6639b16acc3d3fea010141e3)

### [Nodejs Stream 的基礎概念](https://ganhua.wang/nodejs-stream?utm_source=hashnode&utm_medium=feed)

大綱 本文主要會說明 Nodejs 中，透過 stream api 可以用達成以下好處 可以比較有效率的處理大型資料，避免大型檔案遭成程序阻塞 可以透過有限度的資源處理相同量級資料 What is Stream? Stream 代表一個資料流。 通常是指處理大型資料把切分為一堆堆小型區塊資量逐步處理的方式 Why use Stream? 節省資源(記憶體使用) 透過 Buffer 可以效率處理資料 I/O Stream 類別 根據資料的流向以及處理方式可以分為以下四類 Data S...

6 min read · [ganhua.wang](https://ganhua.wang/nodejs-stream?utm_source=hashnode&utm_medium=feed)

[Aug 17, 2023](https://hashnode.com/posts/nodejs-stream/64de5d1d8b2b73324cdee6fd)

### [理解 Transport Layer - TCP/UDP](https://ganhua.wang/transport-layer-tcpudp?utm_source=hashnode&utm_medium=feed)

簡介 本文將會介紹以下內容： Transport Layer 的主要工作職責 三方交握 TCP/UDP 傳輸的封包格式 Transport Layer 的主要工作職責 Network Layer 主要負責把資料從某個端點傳輸到另一端點 對於資料內容是否重送這部份的問題就是交給 Transport Layer 負責來處理 當封包到了 Transport Layer，Transport Layer 會把資料加入 PORT 的概念 來讓 Application Layer 可以來識別不同應用所需...

1 min read · [ganhua.wang](https://ganhua.wang/transport-layer-tcpudp?utm_source=hashnode&utm_medium=feed)

[Jul 9, 2023](https://hashnode.com/posts/transport-layer-tcpudp/64aac675b2be14e2301977ac)

### [透過 Nodejs cluster module 處理併發的 CPU intensive job](https://ganhua.wang/nodejs-cluster-module-cpu-intensive-job?utm_source=hashnode&utm_medium=feed)

簡介 本文將會簡介如何透過 nodejs cluster module 來解決併發的 CPU intensive job 所造成系統阻塞問題 問題描述 一個 Nodejs 所啟動的服務會使用單一執行緒來執行所有任務 透過 libuv 的 Event loop 實踐 Non Blocking I/O 當有多個併發 CPU Intensive Job 將會讓 Nodejs Server 卡住其他 Requests Nodejs cluster 架構 這時就可以透過 cluster 概念來啟用其他 ...

2 min read · [ganhua.wang](https://ganhua.wang/nodejs-cluster-module-cpu-intensive-job?utm_source=hashnode&utm_medium=feed)

[Jul 4, 2023](https://hashnode.com/posts/nodejs-cluster-module-cpu-intensive-job/64a44090c47eff6908220f4d)
