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
開発者からみたCloudSearch
Search
tan-yuki
October 17, 2014
2.8k
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
開発者からみたCloudSearch
2014/10/17 よくわかる Amazon CloudSearch
tan-yuki
October 17, 2014
More Decks by tan-yuki
See All by tan-yuki
モノリスから小さなシステムへ / Chatworkシステム移行の現在地と今後について@開発生産性カンファレンス
tanakayuki
3
7k
2024-03-16 社員30人 → 300人のフェーズを経験し見えてきた、 エンジニアとして成長するための考え方
tanakayuki
5
7k
リリースから12年! Chatworkの過去をふりかえり ~ ChatworkとPHPの歩み ~
tanakayuki
0
1.5k
フィーチャーチーム化への取り組みと、それを支える組織マネジメント体制
tanakayuki
2
26k
運用について - 2020 Chatwork サマーインターンシップ
tanakayuki
0
1.1k
Chatworkから学ぶインフラサービス提供の心得.pdf
tanakayuki
0
1.8k
ChatWorkとPHPと私
tanakayuki
14
16k
git
tanakayuki
3
620
Featured
See All Featured
Paper Plane (Part 1)
katiecoart
PRO
2
12k
So, you think you're a good person
axbom
PRO
2
2.2k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.9k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
360
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
2
510
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3.1k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.2k
The SEO identity crisis: Don't let AI make you average
varn
0
630
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
380
What the history of the web can teach us about the future of AI
inesmontani
PRO
2
790
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
240
Design in an AI World
tapps
1
380
Transcript
։ൃऀ͔ΒΈͨCloudSearch - Α͘Θ͔Δ Amazon CloudSearch - ాத༎थ
-ࣗݾհ - ChatWorkגࣜձࣾ ాத༎थɹٕज़෦ PHP / Java / JavaScript /
Vim ϏδωενϟοτπʔϧʮνϟοτϫʔΫʯΛల։த ౦ژɿ18ਓ େࡕɿ15ਓ USAɿ6ਓ ϧΫηϯϒϧΫʹࢠձࣾΛઃཱ
νϟοτϫʔΫͷ͝հ ΫϥυܕϏδωενϟοτπʔϧ νϟοτͷޮੑɾγϯϓϧ͞ΛϏδωε + ϏσΦ௨ νϟοτ λεΫཧ in the cloud
ಋೖϢʔβʔ̐̒ສϢʔβʔಥഁʂ ಋೖاۀྫɿ ʢ201410݄ݱࡏʣ 0 125000 250000 375000 500000 2011 6
9 12 2012 6 9 12 2013 6 9 12 2014 6 9 Ϣʔβʔɿ
Agenda
Agenda ɾCloudSearchΛ͏ʹ౸ͬͨഎܠ ! ɾݱࡏͷIndexόονͷΈ ! ɾCloudSearchΛͬͯ։ൃͯ͠Έͨײ ! ɾӡ༻ɺอकʹ͍ͭͯ !
CloudSearchΛ͏ʹ౸ͬͨഎܠ
CloudSearchΛ͏ʹ౸ͬͨഎܠ ɾMroonga୯ମߏɿ2011/9ʙ ɾMroongaׂߏɿ2013/5ʙ ɾelasticsearchݕ౼ɿ2013/6ʙ ɹɾॾͰஅ೦ ɾCloudSearchݕ౼ɿ2014/4ʙ ! ৄͪ͘͜͠ΒͷεϥΠυͰ http://www.slideshare.net/ecfujiwara/20140718-aws- summittokyochatwork
ϝοηʔδྔ̐ԯ݅Λಥഁ 0 100,000,000 200,000,000 300,000,000 400,000,000 2013/6 2014/1 2014/6 2014/9
ݱࡏͷIndexόονͷΈ
None
- ·ͣϝοηʔδͷཤྺΛ࡞͠ɺͦΕΒΛ ݩʹIndex͍ͯͬͨ͠ɻ ! - ॳظԽ༻ͷόονͱࠩೖ༻ͷόον ͚ͯ։ൃͨ͠ɻ ! - ग़དྷΔݶΓ·ͱΊͯIndex͍ͯͬͨ͠΄͏͕
্͕҆Γɻ IndexόονͷϙΠϯτ
CloudSearchΛͬͯ ։ൃͯ͠Έͨײ
CloudSearch vs elasticsearch
CloudSearch vs elasticsearch ɾelasticsearch - ྑ͘ѱ͘OSS - ؆୯ʹϩʔΧϧPCʹΠϯετʔϧ - ݕূָ͕
- ؾܰʹىಈͰ͖Δ - ͦͷؾʹͳΕιʔεΛಡΊΔ - ӡ༻ࣗͨͪ
ɾCloudSearch - ؾܰʹىಈͰ͖ͳ͍ʢˇʣ - DynamoDbLocalతͳͷͳ͍ - ฐࣾͰݕূ༻ʹm1.small ΛͨͯͯΔ - ϒϥοΫϘοΫε
- ݱࡏCloudWatchରԠ͍ͯ͠ͳ͍ - αϙʔτ͕ॆ࣮ - ຊޠͰ࣭Ͱ͖Δʢʂʂʂʣ CloudSearch vs elasticsearch
aws-sdk-php
aws-sdk-php - υΩϡϝϯτ͕ॆ࣮͍ͯ͠ΔͷͰɺιʔ εΛΈΔͱ͍͏͜ͱ΄ͱΜͲͳ͔ͬͨɻ - ιʔεಡΉʹͯ͠ɺ׳ΕΕಡΊΔɻ - Guzzleͷࣝඞਢ - ࠔͬͨΒαϙʔτ
- sdkͷཁͳͲฉ͍ͯ͘ΕΔ
aws-sdk-php v2.6.9ͰCloudSearchͷdomainͷϦΫΤετ ༻ͷػೳ͕Ճ ʢҎલ·Ͱdomainࣗମͷૢ࡞༻API͔͠ఏڙ͞Ε͍ͯͳ͔ͬͨʣ
aws-sdk-php - POST /search͕ରԠ͍ͯ͠ͳ͍ - ฐࣾͰ͔ͳΓେ͖ͳQueryΛ͛ΔͷͰ POSTʹ͢Δඞཁ͋Γ - ݁ہGuzzleͰੜAPIΛୟ͘͜ͱʹ
ӡ༻ɺอकʹ͍ͭͯ
ӡ༻ - ΄΅ϝϯςφϯεϑϦʔͳঢ়ଶͰӡ༻ग़དྷ ͍ͯΔ ! ! - ݕࡧʹ͍͔ͭͯͳΓվળ͞ΕͨͷͰ ͓٬༷͔ΒҰఆͷධՁΛ͍͍͍ͨͩͯΔɻ
Α͋͘Δ͍߹Θͤ - ʮ˓˓͕ݕࡧͰώοτ͠ͳ͍ʯ - ܗଶૉղੳͷͨΊɺશҰகݕࡧ͠ ͍ ! ʢࣙॻͷΧελϚΠζػೳ͕͋Εɾɾɾɾʣ
ൃද͞Ε·ͨ͠Ͷ http://aws.amazon.com/releasenotes/8599231268618266
·ͱΊ
- ։ൃ͢Δͱ͖গ͠ෆศͳͱ͜Ζ͋Δ͕ɺ ͦΕΛ্ճΔӡ༻ͷ͕͋͢͠͞Δɻ ! - ຊޠͰαϙʔτʹ࣭Ͱ͖Δͷͱͯ ָɻ ! - ݕࡧશ͘ͳ͘ɺ͓٬༷͔ΒҰఆ
ͷධՁΛ͍͍ͯΔɻ ·ͱΊ
࠷ޙʹ
4DBMBΤϯδχΞืूத http://www.chatwork.com/ja/recruit.html
͋Γ͕ͱ͏͍͟͝·ͨ͠