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
Nobutoshi Ogata
March 26, 2013
Technology
0
100
GREEにおける全文検索の歴史
Nobutoshi Ogata
March 26, 2013
Tweet
Share
More Decks by Nobutoshi Ogata
See All by Nobutoshi Ogata
サーバサイドの技術スタック・アーキテクチャ総ざらい - SmartNews Tech Night in Fukuoka Vol.1
nobu666
1
17k
SmartNews x PLAID - Cost cut and AWS Enterprise Support
nobu666
0
230
Why Slack?
nobu666
0
270
A Complete Work of SmartNews's SRE
nobu666
2
2.8k
SRE at SmartNews
nobu666
0
7.7k
SmartNews の最近の取り組みについて
nobu666
4
3.4k
Introducing in-hourse PaaS
nobu666
1
260
Monitoring of SmartNews
nobu666
0
130
The story becase happy with itamae
nobu666
0
100
Other Decks in Technology
See All in Technology
非機能品質を作り込むための実践アーキテクチャ
knih
3
1.1k
AIのコンプラは何故しんどい?
shujisado
1
190
10個のフィルタをAXI4-Streamでつなげてみた
marsee101
0
170
podman_update_2024-12
orimanabu
1
270
MLOps の現場から
asei
6
640
KubeCon NA 2024 Recap / Running WebAssembly (Wasm) Workloads Side-by-Side with Container Workloads
z63d
1
240
Oracle Cloud Infrastructure:2024年12月度サービス・アップデート
oracle4engineer
PRO
0
180
Postman と API セキュリティ / Postman and API Security
yokawasa
0
200
マイクロサービスにおける容易なトランザクション管理に向けて
scalar
0
120
成果を出しながら成長する、アウトプット駆動のキャッチアップ術 / Output-driven catch-up techniques to grow while producing results
aiandrox
0
280
株式会社ログラス − エンジニア向け会社説明資料 / Loglass Comapany Deck for Engineer
loglass2019
3
32k
終了の危機にあった15年続くWebサービスを全力で存続させる - phpcon2024
yositosi
3
3k
Featured
See All Featured
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
Building Better People: How to give real-time feedback that sticks.
wjessup
365
19k
How GitHub (no longer) Works
holman
311
140k
GitHub's CSS Performance
jonrohan
1030
460k
Designing for humans not robots
tammielis
250
25k
Become a Pro
speakerdeck
PRO
26
5k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.2k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
32
2.7k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
330
21k
Adopting Sorbet at Scale
ufuk
73
9.1k
Fireside Chat
paigeccino
34
3.1k
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/