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
240
Why Slack?
nobu666
0
270
A Complete Work of SmartNews's SRE
nobu666
2
2.9k
SRE at SmartNews
nobu666
0
7.7k
SmartNews の最近の取り組みについて
nobu666
4
3.4k
Introducing in-hourse PaaS
nobu666
1
260
Monitoring of SmartNews
nobu666
0
140
The story becase happy with itamae
nobu666
0
110
Other Decks in Technology
See All in Technology
Site Reliability Engineering on Kubernetes
nwiizo
6
3.7k
Tech Blog執筆のモチベート向上作戦
imamura_ko_0314
0
620
20250129 Findy_テスト高活用化
dshirae
0
170
【Λ(らむだ)】アップデート機能振り返りΛ編 / PADjp20250127
lambda
0
100
CNAPPから考えるAWSガバナンスの実践と最適化
yuobayashi
4
390
サーバレスの未来〜The Key to Simplifying Everything〜
kawaji_scratch
2
330
攻撃者の視点で社内リソースはどう見えるのかを ASMで実現する
hikaruegashira
3
1.8k
HCP Terraformで実現するPlatform Engineering/nikkei-tech-talk-29
nikkei_engineer_recruiting
0
200
サービスローンチを成功させろ! 〜SREが教える30日間の攻略ガイド〜
mmmatsuda
2
3.7k
RevOpsへ至る道 データ活用による事業革新への挑戦 / path-to-revops
pei0804
1
510
ブロックチェーンR&D企業における SREの実態 / SRE Kaigi 2025
datachain
0
3.2k
HCP TerraformとAzure:イオンスマートテクノロジーのインフラ革新 / HCP Terraform and Azure AEON Smart Technology's Infrastructure Innovation
aeonpeople
3
850
Featured
See All Featured
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
39
1.9k
Being A Developer After 40
akosma
89
590k
Designing for Performance
lara
604
68k
The World Runs on Bad Software
bkeepers
PRO
66
11k
Learning to Love Humans: Emotional Interface Design
aarron
274
40k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Into the Great Unknown - MozCon
thekraken
34
1.6k
How to Think Like a Performance Engineer
csswizardry
22
1.3k
Making Projects Easy
brettharned
116
6k
Why You Should Never Use an ORM
jnunemaker
PRO
55
9.2k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
3
260
Measuring & Analyzing Core Web Vitals
bluesmoon
5
210
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/