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
890
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
8.5k
Go - CLI Tools Design
kaneshin
0
6.5k
Summer Internship 2018 - The principle of the eureka summer internship 2018
kaneshin
2
81
Summer Internship 2018 - The eureka summer internship 2018
kaneshin
0
84
Summer Internship 2018 - How to develop a product
kaneshin
0
60
How to write Go code
kaneshin
8
7.8k
Go Package Guidelines
kaneshin
1
1k
net/http package ~GoConference 2017 Spring~
kaneshin
1
2.5k
Essentials of Golang
kaneshin
5
13k
Other Decks in Programming
See All in Programming
Nealle_Autify_LT_Slide202403
nealle
0
130
使ってみよう Azure AI Document Intelligence
kosmosebi
2
270
デフォルトにして至高、RubyMineの大好きな所
ruzia
0
230
GitHub Actionsで泣かないためにやっておきたい設定 / Recommended GHA settings to avoid crying
pinkumohikan
3
520
Compose-View Interop in Practice (mDevCamp 2024)
stewemetal
0
110
OpenAPIを中心に考えるAPI開発入門 / Introduction to API Development with a Focus on OpenAPI
seike460
PRO
2
160
#phpcon_odawara オープン・クローズドなテストフィクスチャを求めて / open closed test fixtures
77web
3
220
CA.swift19 恋するAIアプリ開発の裏側
oskmr
0
360
Goのエラースタックトレースの歴史と今後
sonatard
6
740
効率化に挑戦してみたらモバイル開発が少し快適になった話
ryunakayama
0
120
FigmaとPHPで作る1ミリたりとも表示崩れしない最強の帳票印刷ソリューション
ttskch
43
18k
PHPの次期バージョンはこの時期どうなっているのか - Internalsの開発体制について - PHPカンファレンス小田原
youkidearitai
PRO
1
190
Featured
See All Featured
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
5
1.5k
Agile that works and the tools we love
rasmusluckow
324
20k
A Modern Web Designer's Workflow
chriscoyier
689
190k
Infographics Made Easy
chrislema
238
18k
Building Applications with DynamoDB
mza
88
5.6k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
240
1.2M
Put a Button on it: Removing Barriers to Going Fast.
kastner
58
3k
Raft: Consensus for Rubyists
vanstee
132
6.3k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
115
18k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
501
140k
10 Git Anti Patterns You Should be Aware of
lemiorhan
647
58k
The Pragmatic Product Professional
lauravandoore
24
5.8k
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