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
240
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
860
單元測試經驗談
johnroyer
0
870
Introduction to CodeIgniter
johnroyer
2
190
MSN Users Clustering
johnroyer
0
32
Other Decks in Programming
See All in Programming
Laravel Boostに学ぶ、AIにPHPを書かせる技術 〜OSSの実装から蒸留するエージェント制御の王道〜
kentaroutakeda
3
670
【SRE NEXT 2026 Lunch Session】一人目専任SREの立ち上げを加速する ― AIと進めたオンボーディングで2分を0.04秒にした話
pkshadeck
PRO
0
3.5k
Japan Community Day at Kubecon + CloudNativeCon Japan 2026: Learning Container Privilege Control by Building My Own Low-Level Container Runtime
ternbusty
1
140
PHP初心者セッション2026 〜生成AIでは見えない裏側を知る:今だからLAMPを通して仕組みを学ぶ〜
kashioka
0
860
【やさしく解説 設計編・中級 #6】良いアーキテクチャとは ~ 一本の登り道の、行き先 ~
panda728
PRO
0
210
これって Effect でできたのでは? / TSKaigi Mashup Kansai #2
susisu
0
150
仕様駆動開発へのトライを機に チームに適合する手法を模索し続けている話
freee
PRO
0
450
型も通る、synthも通る、それでも危ない 〜AIのCDKの権限とコストを機械で検証する〜 / It Passes Type Checks, It Passes Synth Checks, but It’s Still Risky — Automatically Verifying Permissions and Costs in AI’s CDK —
seike460
PRO
1
540
PHP Application における Kubernetes 内 gRPC 通信
ganchiku
0
580
ルールを書いて終わらせないハーネスエンジニアリング
yug1224
4
1.9k
php-fpmのプロセスが枯渇した日-調査・対処・そして本当にやるべきだったこと-
shibuchaaaan
0
240
自動化したのに回らないテスト運用の壁ーAI時代の品質責任と生産性
mfunaki
0
130
Featured
See All Featured
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
160
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
680
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
200
My Coaching Mixtape
mlcsv
0
210
Art, The Web, and Tiny UX
lynnandtonic
304
22k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
470
Product Roadmaps are Hard
iamctodd
55
12k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
990
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
230
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
200
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
360
The browser strikes back
jonoalderson
0
1.5k
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 ZincSearch