EasonHow to prevent out of port in Docker swarmWhen it comes to deploy a web application, a common issue comes up: choose a port to export. If this is the only application you have and…2 min read·Jul 12, 2023----
EasonThe explanation of 2 Phase Commit, Saga, TC/CIn response to the trend of big data, it’s hard to keep all the data in one database server. Hence, it came up with “Partition”. The…3 min read·Jul 6, 2023----
EasonThe process and the thought of how I think up a solution of leaderboard1 min read·Jul 5, 2023----
EasonRate limit algorithmsThis article’s purpose is to take a note of different kinds of rate limit algorithm and analyze pros and cons between them.4 min read·May 18, 2023----
EasonDifferent implementation of Message queueThere are various of message queue product, such as RabbitMQ, Kafka, NATS, etc. So it’s very common to face the decision between all these…4 min read·May 10, 2023----
EasonGeo index: Geohash、QuadTreeIn recent years, many apps have incorporated location systems that allow users to search for nearby targets. This has increased the…3 min read·May 2, 2023----
EasonPerformance Behind Http server of java, nodejs and golangI think everybody knows that the performance rank of these three programming language is: 1.golang 2.nodejs 3.java. Of course the rank…3 min read·Apr 30, 2023----
EasonGolang: how goroutine and goscheduler workThis article is to take note of how goscheduler work, and why it can prevent CPU from idle so that Golang can perform well in high…3 min read·Apr 21, 2023----
Eason軟體系統架構整理(下)終於來到這系列的最後一篇了,這一篇要講的是最多人好奇的微服務架構,看到這個名詞後,我想很多人都迫不及待想看看內容吧?但在這之前我還是想要提醒一下各位軟體架構的兩大法則:5 min read·Feb 5, 2023----
Eason聊天室系統設計聊天室功能是很多互動式 app 必備的功能,他看起來很單純,就只是收發訊息而已,但是當它牽扯到分散式系統、已讀功能、支援多裝置功能時複雜度就會直線上升。我發現網路上分享的設計通常都止於單機的 websocket…7 min read·Jan 30, 2023----