dotnet-dump - Installation

要安裝 dotnet-dump 可使用 dotnet tool install –global 將 dotnet-dump 安裝到全域。 ...

November 25, 2019 · 1 min · 49 words · Larry Nung

MongoDB Compass - Install with Homebrew

要使用 Homebrew 安裝 MongoDB Compass,可以調用如下命令: ...

November 4, 2019 · 1 min · 52 words · Larry Nung

Redis - Generate Snowflake generator id with client info

在做分散式系統時,有些情境下免不了要給節點維一的識別號,像是在用 Snowflake 分散式 Id 演算法時會需要給予 10 bit 長的 Generator id,用以避免 Id 碰撞。 ...

October 7, 2019 · 2 min · 662 words · Larry Nung

gRPC - Streaming

gRPC 的 Streaming 可用來做大量資料的傳輸,不論是 Client 傳到 Service,或是 Service 回給 Client。 ...

September 27, 2019 · 2 min · 612 words · Larry Nung

Try .NET - Installation

要安裝 Try .NET,可透過 dotnet tool install 將 dotnet-try 安裝到全域。 ...

September 23, 2019 · 1 min · 84 words · Larry Nung

MongoDB - Clear system.profile collection

在做 MongoDB 的 Profiling 時,有時我們會需要清除 system.profile collection 內的資料。 ...

September 21, 2019 · 1 min · 99 words · Larry Nung

MongoDB - Check profiling level and status

MongoDB 在設定好 Profiler 後,可用 db.getProfilingLevel 查驗設定的 Profiling 層級。 ...

September 17, 2019 · 1 min · 34 words · Larry Nung

MongoDB - Enable and configure database pofiling

要設定或啟用 MongoDB Profiler 功能去能監控較慢的運行,可先進入 MongoDB。 ...

September 16, 2019 · 1 min · 241 words · Larry Nung

migrate - MongoDB driver

migrate 要對 MongoDB 進行資料庫的 Migration,Migration 檔案內要放置要給 MongoDB 用 db.runCommand 運行的命令,附檔名為 json。 ...

September 2, 2019 · 1 min · 128 words · Larry Nung

migrate - MySQL/MariaDB driver

migrate 要對 MySQL/MariaDB 進行資料庫的 Migration,migrate 的資料庫這邊要參照下列格式設定。 ...

September 2, 2019 · 1 min · 145 words · Larry Nung