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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
johnroyer
July 12, 2026
Programming
200
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
850
單元測試經驗談
johnroyer
0
870
Introduction to CodeIgniter
johnroyer
2
190
MSN Users Clustering
johnroyer
0
28
Other Decks in Programming
See All in Programming
PHP に部分適用が来るぞ!……ところで何それ?おいしいの? #phpcon / phpcon-2026
shogogg
0
470
改善しないと、タスクが回らない。 “てんこ盛りポジション” を引き継いだ情シスの、入社3ヶ月の業務改善録
krm963
0
230
音楽のための関数型プログラミング言語mimiumにおける多段階計算の活用
tomoyanonymous
1
380
テーブルをDELETEした
yuzneri
0
130
Go言語とトイモデルで学ぶTransformerの気持ち / fukuokago23-transformer
monochromegane
0
150
2年かけて Deno に DOMMatrix を実装した話 / How I implemented DOMMatrix in Deno over two years
petamoriken
0
190
JAWS-UG横浜 #102 AWSサ終供養LT会 成仏できない AWS サービスたち 〜本日、三体供養します〜
maroon1st
0
290
継続モナドとリアクティブプログラミング
yukikurage
3
670
AWS DevOps AgentのAzure接続機能を検証して見えた活用法/Use Cases Verified for the AWS DevOps Agent's Azure Connectivity Feature
masakiokuda
0
180
霧の中の代数的エフェクト
funnyycat
1
450
20260722_microCMSで考える、AI時代のコンテンツ運用設計
yosh1
0
190
メールのエイリアス機能を履き違えない
isshinfunada
0
180
Featured
See All Featured
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
510
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
250
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.1k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
200
We Are The Robots
honzajavorek
0
290
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.1k
Making the Leap to Tech Lead
cromwellryan
135
10k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
230
How to train your dragon (web standard)
notwaldorf
97
6.7k
Rails Girls Zürich Keynote
gr2m
96
14k
How GitHub (no longer) Works
holman
316
150k
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