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
910
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.7k
Go - CLI Tools Design
kaneshin
0
6.6k
Summer Internship 2018 - The principle of the eureka summer internship 2018
kaneshin
2
85
Summer Internship 2018 - The eureka summer internship 2018
kaneshin
0
84
Summer Internship 2018 - How to develop a product
kaneshin
0
64
How to write Go code
kaneshin
8
7.9k
Go Package Guidelines
kaneshin
1
1.1k
net/http package ~GoConference 2017 Spring~
kaneshin
1
2.6k
Essentials of Golang
kaneshin
5
13k
Other Decks in Programming
See All in Programming
CSC307 Lecture 09
javiergs
PRO
1
500
AWS初心者ってどうやってAWSを学ぶ?〜アプリエンジニアがやってよかったアーキテクチャ学習方法〜
yamanashi_ren01
0
190
CSC307 Lecture 06
javiergs
PRO
0
360
ぼっちを避けて楽しむためのアノテコノテ / Various Tips and Tricks to Avoid Loneliness and Have Fun
nrslib
3
1.7k
How to use Macrobenchmark
veronikapj
0
160
生成AIをkintoneに連携してみた
hideg
0
230
わかりやすい正解を捨てて、コトに向き合う - スクラムフェス金沢2024 スポンサーセッション
yusukekokubo
0
170
Polarsの成長: v0.14からv1.0までの変遷と今後の展望
zerebom
1
350
リハビリmruby
kishima
1
160
3 Effective Rules for Success with Signals in Angular
manfredsteyer
PRO
0
120
ドメイン駆動設計の実践
masuda220
PRO
17
5.1k
SDCon2024: Enabling DevOps and Team Topologies thru architecture: architecting for fast flow
cer
PRO
0
780
Featured
See All Featured
Fantastic passwords and where to find them - at NoRuKo
philnash
42
2.7k
Designing for Performance
lara
604
67k
How to Ace a Technical Interview
jacobian
274
23k
What's new in Ruby 2.0
geeforr
338
31k
In The Pink: A Labor of Love
frogandcode
139
22k
4 Signs Your Business is Dying
shpigford
178
21k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
17
1.5k
Code Review Best Practice
trishagee
58
16k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
26
1.8k
How GitHub (no longer) Works
holman
305
140k
Automating Front-end Workflow
addyosmani
1362
200k
Documentation Writing (for coders)
carmenintech
63
4.2k
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