Casha | 4. Saga Pattern 介紹 - 餐廳與帳號創建

Casha | 4. Saga Pattern 介紹 - 餐廳與帳號創建

在微服務架構中,傳統的 ACID 事務無法跨越多個服務,Saga 模式就為了解決這個問題而誕生, Cash Pos 在微服務的分布式事務上, 使用了 Orchestration Saga, 藉這個機會介紹和紀錄一下 Saga Pattern...
Read more
Casha | 3. Jmeter 壓力測試與監控(Baseline + Capacity / Grafana, Prometheus)
Casha | 2. RBAC, Menu & Order api 等設計

Casha | 2. RBAC, Menu & Order api 等設計

Casha 的 admin-portal 提供了一套能配置餐廳權限與設定菜單的功能, 今天就來介紹一下 admin-portal 的 RBAC 設計, 以及菜單, 桌號的一些設計, 最後介紹整個 order api 的流程, 以及 redis 和 RabbitMQ 在這個過程扮演的角色...
Read more
Casha | 1. 基於 Spring Cloud 的 F&B 微服務專案

Casha | 1. 基於 Spring Cloud 的 F&B 微服務專案

Casha POS 是一套專為餐飲業 (F&B) 打造的系統, 是我這一段時間手搓的第二個專案, 預計會分成三篇, 介紹架構, 整合 Redis, MQ 的 Menu 快取機制與高併發 order api, 以及壓測與監控...
Read more
Colorly | 4. 軟體開發生命週期 (Software Development Life Cycle, SDLC)
Colorly | 3. 專案目錄結構 (Clean Architecture)

Colorly | 3. 專案目錄結構 (Clean Architecture)

在過往的專案中, 最常見的還是使用經典的 Controller, Service, Repository 三層架構(Three-Layer Architecture), 而這次 Colorly 則以實用導向 Clean Architecture 來建立專案目錄結構 ...
Read more
Colorly | 2. Colorly 架構介紹

Colorly | 2. Colorly 架構介紹

Colorly 是一個提供照片代表色分析的 Web 專案, 基於 Spring Cloud 技術搭建, 本篇將介紹此專案的架構與技術選擇 ...
Read more
Colorly | 1. 整合 Spring Cloud 的顏色擷取專案