跳至主要内容
SQLite 實戰(五):我是誰?我在哪?

SQLite 實戰(五):我是誰?我在哪?

從錯誤碼、留存策略到 audit log,讓佇列系統可維運。

sqliteobservabilitydata-governancejob-queue
Z. YuanZ. Yuan
9 min read
SQLite 實戰(四):查詢好慢?

SQLite 實戰(四):查詢好慢?

用正確的索引,讓 `ORDER BY ... LIMIT` 真的只跑前 100 名。

sqliteindexperformanceleaderboardquery-plan
Z. YuanZ. Yuan
6 min read
SQLite 實戰(三):救救你的 worker

SQLite 實戰(三):救救你的 worker

讓卡住的任務自動回收,別讓佇列變成墓園。

sqlitejob-queuereliabilityheartbeat
Z. YuanZ. Yuan
6 min read
SQLite 實作(二):原子宣告

SQLite 實作(二):原子宣告

兩個 worker 不能拿到同一個 job,這件事比你想得難。

sqlitejob-queuetransactionsconcurrency
Z. YuanZ. Yuan
4 min read
SQLite 實作(一):資料庫又鎖死啦!

SQLite 實作(一):資料庫又鎖死啦!

用 WAL 與 busy_timeout,把多 worker 場景下的鎖衝突降到可接受的程度。

sqlitewalbusy-timeoutconcurrencyjob-queue
Z. YuanZ. Yuan
6 min read
SQLite 初探(二)�:CLI、索引與 PRAGMA

SQLite 初探(二):CLI、索引與 PRAGMA

讓 SQLite 聽話:從看 schema 到 query plan。

sqlitesqlclitransactionspragmasindex
Z. YuanZ. Yuan
5 min read