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
220
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
28
Other Decks in Programming
See All in Programming
ソフトウェア設計に溶けるインフラ ― AWS CDK のインフラ認識論
konokenj
3
750
型も通る、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
530
【やさしく解説 設計編・中級 #1】一つの車に、運転手は一人 ~ある倉庫システムの事例から~
panda728
PRO
0
200
yield再入門 #phpcon
o0h
PRO
0
950
人間の目はかわらない、だからJPEGは30年もつ
yuzneri
12
18k
What's New in Android 2026
veronikapj
0
250
PHP Application における Kubernetes 内 gRPC 通信
ganchiku
0
580
S3 を使うアプリケーションをローカル完結で動かすことに全力を注いでみた / Running S3 Apps Offline
contour_gara
0
150
Built Our Own Background Agent at LayerX
layerx
PRO
9
4.9k
「寝てても仕事が進む」Claude Codeで組む第二の脳
tomoyafujita2016
0
300
AWS CDK を「作」ってみた 〜フルスクラッチで見えた CDK の裏側〜 / aws-cdk-from-scratch
gotok365
3
2.8k
そこに3びきプロダクトがいるじゃろう——生成AI時代における“価値が届かない理由”の構造
kosuket
0
410
Featured
See All Featured
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
770
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
890
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
200
Raft: Consensus for Rubyists
vanstee
141
7.6k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.9k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
170
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
The untapped power of vector embeddings
frankvandijk
2
1.8k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
440
Making Projects Easy
brettharned
120
6.7k
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