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
GREEにおける全文検索の歴史
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Nobutoshi Ogata
March 26, 2013
Technology
150
0
Share
GREEにおける全文検索の歴史
Nobutoshi Ogata
March 26, 2013
More Decks by Nobutoshi Ogata
See All by Nobutoshi Ogata
Datadogセミナー 2025/3/13 Datadog On-Callの活用事例のご紹介
nobu666
0
470
サーバサイドの技術スタック・アーキテクチャ総ざらい - SmartNews Tech Night in Fukuoka Vol.1
nobu666
1
17k
SmartNews x PLAID - Cost cut and AWS Enterprise Support
nobu666
0
310
Why Slack?
nobu666
0
330
A Complete Work of SmartNews's SRE
nobu666
2
3.3k
SRE at SmartNews
nobu666
0
8.2k
SmartNews の最近の取り組みについて
nobu666
4
3.6k
Introducing in-hourse PaaS
nobu666
1
330
Monitoring of SmartNews
nobu666
0
190
Other Decks in Technology
See All in Technology
AI時代に、 データアナリストがデータエンジニアに異動して
jackojacko_
0
1k
Gaussian Splattingの表現力を拡張する — 高周波再構成とインタラクションへのアプローチ —
gpuunite_official
0
190
Claude Code で使える DuckDB Skills を試してみた / DuckDB Skills and Claude Code
masahirokawahara
1
860
Vibe teaching — Python training in the age of AI (PyCon US 2026, Education Summit)
reuven
0
100
Loadbalancing exporter internals
ymotongpoo
1
110
続 運用改善、不都合な真実 〜 物理制約のない運用改善はほとんど無価値 / 20260518-ssmjp-kaizen-no-value-without-physical-constraints
opelab
2
250
Gaussian Splattingの実用化 - 映像制作への展開
gpuunite_official
0
200
20260515 ID管理は会社を守る大切な砦!〜🔰情シス向け〜
oidfj
0
700
分断された OT と IT を繋ぐ架け橋 -Kubernetes が切り拓く 産業用組み込み製品の現在地 -
yudaiono
1
120
O'Reilly Infrastructure & Ops Superstream: Platform Engineering for Developers, Architects & the Rest of Us
syntasso
0
300
クラウドからエッジまで ~ 1,700台を支える監視設計~
optfit
0
110
オライリーイベント登壇資料「鉄リサイクル・産廃業界におけるAI技術実応用のカタチ」
takarasawa_
0
420
Featured
See All Featured
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
140
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
390
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
180
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
1
3.6k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.9k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
199
73k
Done Done
chrislema
186
16k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.5k
Crafting Experiences
bethany
1
150
Practical Orchestrator
shlominoach
191
11k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
23k
Transcript
GREEʹ͓͚Δ શจݕࡧͷྺ࢙ GREE Inc. Infrastructure Platform Development Nobutoshi Ogata (@nobu666)
about me • @nobu666 • ย۱Ͱ͘͢Ϳ͍ͬͯ·͢ • ೣͱΠεΩʔͱϫΠϯ
GREEͷݕࡧ
ݕࡧͷྺ࢙ (1) • Senna • 2007ͱ͔ͦͷลͷ…? • ҆ఆՔಇ͠ͳ͔ͬͨ
ݕࡧͷྺ࢙ (1) • Tritonn • 2009͘Β͍·Ͱ • σʔλϑΝΠϧ͕յΕΔ • ͬͺΓ҆ఆ͠ͳ͍
• MySQLͷόʔδϣϯ͍͋͛ͨ
ݕࡧͷྺ࢙ (3) • Lucene • 2012ॳ಄·Ͱ • खಈindex optimizeͱͷઓ͍
ݕࡧͷྺ࢙ (4) • Solr • ΠϚίί • 2012ॳ಄͔Β
SolrԽͷԸܙ • ΄΅ϝϯςφϯεϑϦʔ • SPoFϑϦʔ • શମతͳݕࡧ্
Lucene͔ΒSolr3.6
·ͣΔ͜ͱ
·ͣ͜ΕΛങ͏Μͩ!!
͍ͭങ͏͔?
SolrԽͷલఏ݅ • ଞϓϩμΫτӨڹΛग़͞ͳ͍ • ϑϩϯτΤϯυ͔Βͷݺͼग़͠ ޓੑΛҡ࣋͢Δ • Ease of maintenance
ޙํޓ • HTTP GETΛड͚ͯXMLΛฦ٫ • Lucene+TomcatͰड͚͚͍ͯͨ ΫΤϦΛSolr͚ʹม • Solrͷฦ٫͢ΔXMLΛΧελϚΠζ •
IndexingґཔͷI/Fม͑ͳ͍
Ease of maintenance • ͯ͢ͷαʔόʔΛԽ • αʔϏεӨڹͳ͠ʹindex optimize
←WebΞϓϦ͕Queueొ ←indexer͕Masterొ ɹ͜͜Ͱఆظతʹoptimize ←ΫΤϦͷडɺฦ٫ ←ΫΤϦͱϨεϙϯεͷม ɹ ΫϥΠΞϯτ͔ΒͷΫΤϦड query translation
؆୯ʹઆ໌ • ݱঢ়7schema • αʔόʔ40ͪΐͬͱ • ϚϧνίΞ͑ͬͱ٧ΊΒΕΔ • શ෦Ͱ250qps+ ͘Β͍
None
None
ෛՙͷ • େຌ0:00ۙʹෛՙͷϐʔΫ • schemaʹΑͬͯ΄ͱΜͲ ΘΕ͍ͯͳ͍ • Range Query͍·͘ΓͳͷͰ slave͕Ұ൪ॏ͘ͳΔ
࡞Γ͜Έ͕ඞཁͩͬͨ෦(1) • Indexer • Masterࢄͯ͠Indexing • ϚϧνεϨουͰޮతʹ
࡞Γ͜Έ͕ඞཁͩͬͨ෦(2) • Query Translation • ෛͷҨ࢈ͷܧঝ • SchemaຖͷಛघͳϑΟϧλ༩ • ੨গอޢͳΜͪΌΒ͚
• ਓྗࢹͱͷ݉Ͷ߹͍ • ࢹ • Replication, SSH, Ping, Solr Ping
ࠓͰ໘ͳ͜ͱ • εΩʔϚมߋΛແఀࢭͰΔͷ ͍͢͝ΊΜͲ͍ • SlaveΛMasterʹঢ֨͢ΔɺͳͲͷ ૢ࡞खಈͰઃఆϑΝΠϧΛ͍͡Δ
ݕࡧͷ͜Ε͔Β
վળ͍ͨ͠ͱ͜ • ਫ਼ • ຊޠҎ֎ͰΘΕΔͷͰ ࣙॻΛ͏&ϝϯς͢Δͷ͕ ࣄ্࣮͍͠ • ͞ΒͳΔࣗಈԽ
ࢼ͍ͨ͜͠ͱ • AmazonͷαʔϏε͡Όͳ͍͜ͱͰ ͓ͳ͡ΈͷElasticSearch • Solr Cloud • ͜Εͬͱલʹ͋ͬͨΒԶ ͜ΜͳʹؤுΒͳͯ͘ྑ͔ͬͨઆ
Any Questions?
Join us! http://jobs.gree.net/