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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
6.8k
リリースから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
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
720
Automating Front-end Workflow
addyosmani
1369
210k
Building the Perfect Custom Keyboard
takai
2
890
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
390
Mobile First: as difficult as doing things right
swwweet
225
10k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
550
AI Search: Where Are We & What Can We Do About It?
aleyda
0
8k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.8k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
2
310
Crafting Experiences
bethany
1
370
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.4k
Chasing Engaging Ingredients in Design
codingconduct
0
340
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
͋Γ͕ͱ͏͍͟͝·ͨ͠