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
540
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
880
單元測試經驗談
johnroyer
0
900
Introduction to CodeIgniter
johnroyer
2
190
MSN Users Clustering
johnroyer
0
62
Other Decks in Programming
See All in Programming
AHC070解法紹介
eijirou
0
140
選挙速報を多くのユーザーへ 届ける Live Activities 設計
hamayokokuririn
0
190
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
360
技術的負債の返済は、AI時代の複利で効く投資 — 経営としての意思決定とその遂行
curekoshimizu
1
2k
AI時代のコードレビューは人に向けるな、仕組みに向けろ
texmeijin
5
3.1k
WebRTC映像をAirPlayに対応させる挑戦.pdf
monolithic_adam
0
330
難しいけど、読めた。- OSSの入口に立った話。
sts11142
0
130
市販E-Readerを乗っ取れ 〜Embedded Swiftで電子ペーパーガジェットを制御する〜
trickart
0
220
アクセシビリティから考える情報設計
high_g_engineer
0
430
速く作れる。その次は、速く確かめられる開発へ 〜AIネイティブ開発を支える、Shift Down〜 / Can build fast. Next, moving to development where we can verify fast.
rkaga
8
5.2k
Embedded Swiftで作る自作USBデバイス によるiOSデバイスの自動テスト / iOSDC Japan 2026 glassfiber
glassfiber
0
170
更なる可用性を求めて、5年間運用したKotlinのアプリケーションをGoでリプレイスする話
ken_tunc
0
410
Featured
See All Featured
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
20k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
390
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
690
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
A designer walks into a library…
pauljervisheath
211
25k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
250
[RailsConf 2023] Rails as a piece of cake
palkan
59
7k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
450
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
RailsConf 2023
tenderlove
30
1.6k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.6k
Transcript
新聞資料庫 + 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