Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
使用 Meilisearch 建立新聞搜尋工具
Search
johnroyer
July 12, 2026
Programming
690
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
使用 Meilisearch 建立新聞搜尋工具
johnroyer
July 12, 2026
Transcript
34 slides
新聞資料庫 + Meilisearch Meilisearch 在大量資料遇到的問題 2026-07-12 日落 (@zeroplex)
Agenda 新聞資訊資料庫 資料操作特性 發展 self hosting
建議 2
新聞資料庫 documents : 217 萬 data size :
8 GB index size : 35 GB 3
4
~ 150 ms
None
None
None
None
None
None
Full Text Search 不須對語言類型做設定 支援 typo 12
Meilisearch 資料操作 新增 刪除 查詢
新增資料 document (no need to pre-define) 14
約 2000 字
耗時 85 秒
約 8000 字
耗時 112 秒
r/s 3090.50 rMB/s 309.5M rrqm/s 0.00 %rrqm r_await rareq-sz Device
0.0% 1.49 102.6k sda1 w/s 0.00 wMB/s 0.0k wrqm/s 0.00 %wrqm w_await wareq-sz Device 0.0% 0.00 0.0k sda1
新增資料 預處理時間長 disk I/O 大 換取查詢時間 20
刪除資料 重建索引 disk I/O 大 不影響查詢 21
查詢 typo tolerance ranking score stop words
exclude 22
Meilisearch 發展 功能 演進 授權
版本演進 1.1x 效能 1.2x 1.3x
~ AI 維運相關 資料類型、效能 24
特色 彈性 ./meilisearch \ --max-indexing-memory 64Mb \ --max-indexing-threads 2
25
授權 MIT Enterprise Edition sharding horizon scaling
26
Self Hosting 注意事項 建議
運算 by Zabbix 28
Disk I/O 資料預先處理 讀 寫 29
M USAGE / LIMIT 149GiB / 11.68GiB .86MiB / 11.68GiB
0.2MiB / 11.68GiB 603GiB / 11.68GiB 2.5MiB / 11.68GiB .49MiB / 11.68GiB 84MiB / 11.68GiB 3.2MiB / 11.68GiB 0.8MiB / 11.68GiB 434GiB / 11.68GiB 0.9MiB / 11.68GiB .09MiB / 11.68GiB .32MiB / 11.68GiB .53MiB / 11.68GiB .08MiB / 11.68GiB MEM % 9.84% 0.72% 4.27% 13.72% 5.46% 0.28% 0.06% 1.70% 1.85% 29.40% 1.43% 0.75% 0.28% 0.15% 0.41% NET I/O 10.2GB / 58.4GB 27.4MB / 30.6MB 18.9GB / 17.3GB 36.1MB / 36.2MB 1.77GB / 6.41GB 2.66GB / 2.43GB 5.17GB / 5.38GB 839MB / 5.38GB 287MB / 652MB 1.88GB / 4.39GB 9.6GB / 1.49GB 77.7kB / 126B 125kB / 439kB 2.51GB / 5.09GB 22.8GB / 1.58GB BLOCK I/O 64.2GB / 114MB 74.6GB / 0B 40.4GB / 10.9GB 81.1GB / 9.16GB 62.5GB / 10.2GB 18.8GB / 30.1GB 8.09GB / 4.1kB 64.7GB / 576MB 71.6GB / 176MB 81.3TB / 14.7TB 404GB / 35.9GB 4.48GB / 408MB 338GB / 6.39GB 77.1GB / 7.64GB 307GB / 142GB PIDS 37 11 22 120 22 6 7 4 17 29 19 9 9 231 28
Compact 1.23.0+ remove redundant data 31
建議 一次處理多個 documents [ { “id”: 900, “text”: “this
...” }, { “id”: 901, “text”: “and more ...” }, .... ] 32
建議 拆分 index NVMe SSD 專用硬碟 33
同類型工具 MySQL / PostgreSQL ElasticSearcch / OpenSearch
Manticore Search Typesense 34
More Decks by johnroyer
See All by johnroyer
Meilisearch 簡介
johnroyer
0
980
單元測試經驗談
johnroyer
0
930
Introduction to CodeIgniter
johnroyer
2
200
MSN Users Clustering
johnroyer
0
120
Other Decks in Programming
See All in Programming
GraphQL の onError と Nullability のこれから
quramy
0
210
Materialが消えた日 〜真っ白なFlutterキャンバスにRenderObjectで絵を描く〜
umigishiaoi
0
160
Event is what happens
moro
2
4.5k
ローカルLLMの基本と近況 2611 / Local LLM basics and recent situation 2611
kishida
0
140
SODA - FACT BOOK(JP)
sodainc
1
40k
Vapor Mode でアクセシビリティは 壊れないか検証した話
fuqda
1
340
オーケストレーション記述言語 Katari
yukikurage
0
250
Optunaを作ったときにやりたかったこと、その後 (2026/10/16, Optuna Meetup #3)
iwiwi
4
1.5k
地方こそサーバーレス — 10年続けた、顔が見えるチームで確かな基盤を / Serverless Matters Most in Regional Areas — 10 Years of Building Reliable Foundations with Close-Knit Teams
seike460
PRO
1
410
Spec-driven Development with AI
simas
PRO
0
2.3k
React Native経験者が Flutterを30⽇間触って驚いたこと
3saito
0
170
作れるエンジニアから、価値を届けるエンジニアへ
ryunakayama
1
270
Featured
See All Featured
The Cult of Friendly URLs
andyhume
79
7.1k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
2
520
[SF Ruby Conf 2025] Rails X
palkan
3
1.5k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
1
310
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
660
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
2
350
30 Presentation Tips
portentint
PRO
1
470
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
610
brightonSEO & MeasureFest 2025 - Winning Strategies for Black Friday CRO & PPC - Christian Goodrich
cargoodrich
3
900
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
68
60k
Faster Mobile Websites
deanohume
310
32k
sira's awesome portfolio website redesign presentation
elsirapls
0
500