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
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
johnroyer
July 12, 2026
Programming
230
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
React本体のコードリーディング
high_g_engineer
1
140
PHP Application における Kubernetes 内 gRPC 通信
ganchiku
0
580
【やさしく解説 設計編・中級 #1】一つの車に、運転手は一人 ~ある倉庫システムの事例から~
panda728
PRO
0
200
PHP に部分適用が来るぞ!……ところで何それ?おいしいの? #phpcon / phpcon-2026
shogogg
0
570
「寝てても仕事が進む」Claude Codeで組む第二の脳
tomoyafujita2016
0
300
関東Kaggler会_NVIDIA_Nemotron_コンペ_振り返り
rick_ds
0
370
php-fpmのプロセスが枯渇した日-調査・対処・そして本当にやるべきだったこと-
shibuchaaaan
0
230
AI時代のPHPer生存戦略 ~「言語、もうなんでもよくない?」に本気で向き合う~
vivion
0
240
5分で問診!Composer セキュリティ健康診断
codmoninc
0
880
ソフトウェア設計に溶けるインフラ ― AWS CDK のインフラ認識論
konokenj
3
750
属人化した知識を、 AIが辿れる地図にする
pkshadeck
PRO
1
140
為什麼你並不需要ViewModel / No, you don't need a ViewModel
lovee
1
480
Featured
See All Featured
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
4.2k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.9k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
470
The Curse of the Amulet
leimatthew05
2
14k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
770
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
330
Building a Scalable Design System with Sketch
lauravandoore
463
34k
Making Projects Easy
brettharned
120
6.7k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.7k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
530
Optimizing for Happiness
mojombo
378
71k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.6k
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