Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
使用 Meilisearch 建立新聞搜尋工具
Search
johnroyer
July 12, 2026
Programming
100
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
使用 Meilisearch 建立新聞搜尋工具
johnroyer
July 12, 2026
More Decks by johnroyer
See All by johnroyer
Meilisearch 簡介
johnroyer
0
830
單元測試經驗談
johnroyer
0
850
Introduction to CodeIgniter
johnroyer
2
180
MSN Users Clustering
johnroyer
0
17
Other Decks in Programming
See All in Programming
Claude Opus 4.6以後の受託開発エンジニアの変化(Claude Code開発ノウハウ大公開スペシャルbyクラスメソッド)
iidatakuma
1
290
エンジニアと一緒にテストコードの設計と実装を改善した話
mototakatsu
0
250
TAKTでAI駆動開発の品質を設計する
j5ik2o
7
1.7k
SREは、MCPとSRE Agentをこう使え!
kazumax55
0
140
SREの積み重ねがAI駆動開発のガードレールになった ― 7つの実践/SRE Guardrails The 7
tomoyakitaura
7
2.4k
Hunting Vulnerabilities in Symfony with LLMs
vinceamstoutz
0
570
ECSアプリログをFireLensでコスト削減しようとしたけど諦めた話 in Fargate×Node.js
akihisaikeda
2
4.2k
自作OSでスライド発表する
uyuki234
1
3.7k
壊れたパーサから始める関数型設計と構成的なパーサ #fp_matsuri
raiga0310
2
170
Semantic Version 単位で戦略を柔軟に変えて、パッケージアップデートを自動化する
daitasu
1
340
OS アップデート対応の取り組み方がもっと共有されてほしい
andpad
0
110
Haskell/Servantを通してWebミドルウェアを捉え直す
pizzacat83
0
400
Featured
See All Featured
Abbi's Birthday
coloredviolet
3
8.5k
sira's awesome portfolio website redesign presentation
elsirapls
0
290
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
150
The Cult of Friendly URLs
andyhume
79
6.9k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
220
From π to Pie charts
rasagy
0
230
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.2k
Building AI with AI
inesmontani
PRO
1
1.1k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
220
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.8k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.6k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
10k
Transcript
Meilisearch 在大量資料遇到的問題 新聞資料庫 + Meilisearch 2026-07-12 日落 (@zeroplex)
2 Agenda 新聞資訊資料庫 資料操作特性 發展 self
hosting 建議
3 新聞資料庫 documents : 217 萬 data size
: 8 GB index size : 35 GB
4
~ 150 ms
None
None
None
None
None
None
12 Full Text Search 不須對語言類型做設定 支援 typo
Meilisearch 資料操作 新增 刪除 查詢
14 新增資料 document (no need to pre-define)
約 2000 字
耗時 85 秒
約 8000 字
耗時 112 秒
r/s rMB/s rrqm/s %rrqm r_await rareq-sz Device 3090.50 309.5M 0.00
0.0% 1.49 102.6k sda1 w/s wMB/s wrqm/s %wrqm w_await wareq-sz Device 0.00 0.0k 0.00 0.0% 0.00 0.0k sda1
20 新增資料 預處理時間長 disk I/O 大 換取查詢時間
21 刪除資料 重建索引 disk I/O 大 不影響查詢
22 查詢 typo tolerance ranking score stop
words exclude
Meilisearch 發展 功能 演進 授權
24 版本演進 1.1x 效能 1.2x 資料類型、效能
1.3x ~ AI 維運相關
25 特色 彈性 ./meilisearch \ --max-indexing-memory 64Mb \ --max-indexing-threads
2
26 授權 MIT Enterprise Edition sharding
horizon scaling
Self Hosting 注意事項 建議
28 運算 by Zabbix
29 Disk I/O 資料預先處理 讀 寫
M USAGE / LIMIT MEM % NET I/O BLOCK I/O
PIDS 149GiB / 11.68GiB 9.84% 10.2GB / 58.4GB 64.2GB / 114MB 37 .86MiB / 11.68GiB 0.72% 27.4MB / 30.6MB 74.6GB / 0B 11 0.2MiB / 11.68GiB 4.27% 18.9GB / 17.3GB 40.4GB / 10.9GB 22 603GiB / 11.68GiB 13.72% 36.1MB / 36.2MB 81.1GB / 9.16GB 120 2.5MiB / 11.68GiB 5.46% 1.77GB / 6.41GB 62.5GB / 10.2GB 22 .49MiB / 11.68GiB 0.28% 2.66GB / 2.43GB 18.8GB / 30.1GB 6 84MiB / 11.68GiB 0.06% 5.17GB / 5.38GB 8.09GB / 4.1kB 7 3.2MiB / 11.68GiB 1.70% 839MB / 5.38GB 64.7GB / 576MB 4 0.8MiB / 11.68GiB 1.85% 287MB / 652MB 71.6GB / 176MB 17 434GiB / 11.68GiB 29.40% 1.88GB / 4.39GB 81.3TB / 14.7TB 29 0.9MiB / 11.68GiB 1.43% 9.6GB / 1.49GB 404GB / 35.9GB 19 .09MiB / 11.68GiB 0.75% 77.7kB / 126B 4.48GB / 408MB 9 .32MiB / 11.68GiB 0.28% 125kB / 439kB 338GB / 6.39GB 9 .53MiB / 11.68GiB 0.15% 2.51GB / 5.09GB 77.1GB / 7.64GB 231 .08MiB / 11.68GiB 0.41% 22.8GB / 1.58GB 307GB / 142GB 28
31 Compact 1.23.0+ remove redundant data
32 建議 一次大量新增 instead of 逐筆新增 拆分 index
33 建議 NVMe SSD 讀寫分離 (optional)
34 建議 獨立主機、專用硬碟 用別人的硬碟 ╮ ( _ )
╯ ╰ ╭
35 同類型工具 MySQL / PostgreSQL ElasticSearcch / OpenSearch
Manticore Search Typesense