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
970
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.3k
Go - CLI Tools Design
kaneshin
0
6.9k
Summer Internship 2018 - The principle of the eureka summer internship 2018
kaneshin
2
100
Summer Internship 2018 - The eureka summer internship 2018
kaneshin
0
98
Summer Internship 2018 - How to develop a product
kaneshin
0
82
How to write Go code
kaneshin
8
8.2k
Go Package Guidelines
kaneshin
1
1.1k
net/http package ~GoConference 2017 Spring~
kaneshin
1
2.8k
Essentials of Golang
kaneshin
5
13k
Other Decks in Programming
See All in Programming
Using AI Tools Around Software Development
inouehi
0
1.2k
ワンバイナリWebサービスのススメ
mackee
10
7.7k
Team topologies and the microservice architecture: a synergistic relationship
cer
PRO
0
130
アンドパッドの Go 勉強会「 gopher 会」とその内容の紹介
andpad
0
160
Select API from Kotlin Coroutine
jmatsu
1
110
レガシーシステムの機能調査・開発におけるAI利活用
takuya_ohtonari
0
590
Go Modules: From Basics to Beyond / Go Modulesの基本とその先へ
kuro_kurorrr
0
110
Effect の双対、Coeffect
yukikurage
5
1.4k
AWS CDKの推しポイント 〜CloudFormationと比較してみた〜
akihisaikeda
3
230
Cloudflare Realtime と Workers でつくるサーバーレス WebRTC
nekoya3
0
400
実はすごいスピードで進化しているCSS
hayato_yokoyama
0
110
Javaのルールをねじ曲げろ!禁断の操作とその代償から学ぶメタプログラミング入門 / A Guide to Metaprogramming: Lessons from Forbidden Techniques and Their Price
nrslib
3
1.9k
Featured
See All Featured
How to Think Like a Performance Engineer
csswizardry
24
1.7k
How GitHub (no longer) Works
holman
314
140k
A designer walks into a library…
pauljervisheath
206
24k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
657
60k
Typedesign – Prime Four
hannesfritz
42
2.7k
Statistics for Hackers
jakevdp
799
220k
The Pragmatic Product Professional
lauravandoore
35
6.7k
Large-scale JavaScript Application Architecture
addyosmani
512
110k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
357
30k
Product Roadmaps are Hard
iamctodd
PRO
53
11k
Building a Scalable Design System with Sketch
lauravandoore
462
33k
StorybookのUI Testing Handbookを読んだ
zakiyama
30
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