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
Go+Web App - Shibuya.go#1
Search
Shintaro Kaneko
February 16, 2016
Programming
1
950
Go+Web App - Shibuya.go#1
Shintaro Kaneko
February 16, 2016
Tweet
Share
More Decks by Shintaro Kaneko
See All by Shintaro Kaneko
How to keep growing SRE team at Eureka
kaneshin
3
9.1k
Go - CLI Tools Design
kaneshin
0
6.8k
Summer Internship 2018 - The principle of the eureka summer internship 2018
kaneshin
2
97
Summer Internship 2018 - The eureka summer internship 2018
kaneshin
0
90
Summer Internship 2018 - How to develop a product
kaneshin
0
71
How to write Go code
kaneshin
8
8.1k
Go Package Guidelines
kaneshin
1
1.1k
net/http package ~GoConference 2017 Spring~
kaneshin
1
2.7k
Essentials of Golang
kaneshin
5
13k
Other Decks in Programming
See All in Programming
5分で理解する SOLID 原則 #phpcon_nagoya
shogogg
1
280
昭和の職場からアジャイルの世界へ
kumagoro95
1
410
Better Code Design in PHP
afilina
0
160
ML.NETで始める機械学習
ymd65536
0
220
Domain-Driven Transformation
hschwentner
2
1.9k
Generating OpenAPI schema from serializers throughout the Rails stack - Kyobashi.rb #5
envek
1
330
新宿駅構内を三人称視点で探索してみる
satoshi7190
2
110
GAEログのコスト削減
mot_techtalk
0
120
楽しく向き合う例外対応
okutsu
0
570
密集、ドキュメントのコロケーション with AWS Lambda
satoshi256kbyte
1
210
『GO』アプリ バックエンドサーバのコスト削減
mot_techtalk
0
150
From the Wild into the Clouds - Laravel Meetup Talk
neverything
0
100
Featured
See All Featured
Git: the NoSQL Database
bkeepers
PRO
427
65k
Fireside Chat
paigeccino
34
3.2k
Product Roadmaps are Hard
iamctodd
PRO
50
11k
Statistics for Hackers
jakevdp
797
220k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.7k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Designing Experiences People Love
moore
140
23k
Rails Girls Zürich Keynote
gr2m
94
13k
Gamification - CAS2011
davidbonilla
80
5.1k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
193
16k
Build The Right Thing And Hit Your Dates
maggiecrowley
34
2.5k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
Transcript
Go+Web App at eureka @kaneshin
Shintaro Kaneko (kaneshin) - Principal Engineering Manager at eureka, Inc.
kaneshin kaneshinth shintaro.kaneko Mathematics: Optimization Problems 2010 2012 2011 Quality Assurance Engineer at eureka Real Estate in Vancouver, Canada
None
None
For what purpose?
For what purpose ԿͷͨΊʹGoݴޠ༻͍ͯ͠·͔͢ʁ ‣ Command Line Tool? ‣ Web
Application? ‣ GUI Tool? ‣ gomobile?
Go+Web App at eureka
Microservices
None
Microservices Structure ‣ όοΫΤϯυશͯGoͰॻ͔Ε͍ͯ·͢ ‣ ϑϩϯτʹAngularJSΛ༻ ‣ ඪ४ͷhtml/templateར༻͍ͯ͠Δ ‣ WAFRevelͰͨ͠ʢաڈܗʣ
Repository Structure
payment.git pairs.git
Repository Structure ‣ ґଘύοέʔδͷόʔδϣϯΛෳαʔϏεͰߟྀ͠ͳ͍ͰࡁΉ ‣ vendorʢґଘʣཧָ͕ ‣ coreͱͳΔύοέʔδͷޓશͯͷαʔϏεͰऔΕ͍ͯΔ ‣ ͭ·ΓɺRollback͕༰қˡӡ༻্ɺॏཁ
Revel (WAF)
ginͱ͍͏WAFʹࡌͤସ͑·ͨ͠
ʢ࣮ʣGoͷษڧձͰొஃ͢Δʹ RevelΛDis͖ͬͯ·ͨ͠
Revel ‣ GoݴޠͰϑϧελοΫʹ͍ۙWAF ‣ MicroserviceԽʹෆ͖ ‣ MicroserviceԽ͠ͳ͍ͳΒ͍қ͍
Revel ‣ ginͰRevelͷྑ͍ॴΛٵऩ ‣ Live ReloadػೳʢGoʗ੩తϑΝΠϧͰϦϩʔυํ๏͕ҧ͏ʣ ‣ codegangsta/ginΛվͯࣗ͠લ ‣ https://github.com/kaneshin/lime
‣ ύοέʔδίϚϯυ (revel build/package) ‣ CLIͱͯ͠pairsͷϦϙδτϦʹ࡞
None
·ͱΊ ‣ RevelMicroserviceԽ͠ͳ͍ͳΒ։ൃ͍͢͠ ‣ MicroserviceԽ͢ΔͳΒΊ͓͍ͯͨํ͕ແ ‣ GinܰྔͰߴͳͷͰྑ͍ ‣ RevelͷΑ͏ͳػೳແ͍͕ɺࣗͰ࣮͢Εok
Thank you Credit: NASA Earth Observatory/NOAA NGDC