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
9k
Go - CLI Tools Design
kaneshin
0
6.7k
Summer Internship 2018 - The principle of the eureka summer internship 2018
kaneshin
2
92
Summer Internship 2018 - The eureka summer internship 2018
kaneshin
0
88
Summer Internship 2018 - How to develop a product
kaneshin
0
69
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
これが俺の”自分戦略” プロセスを楽しんでいこう! - Developers CAREER Boost 2024
niftycorp
PRO
0
190
CSC305 Lecture 25
javiergs
PRO
0
130
From Translations to Multi Dimension Entities
alexanderschranz
2
130
talk-with-local-llm-with-web-streams-api
kbaba1001
0
180
命名をリントする
chiroruxx
1
390
Zoneless Testing
rainerhahnekamp
0
120
責務を分離するための例外設計 - PHPカンファレンス 2024
kajitack
1
520
menu基盤チームによるGoogle Cloudの活用事例~Application Integration, Cloud Tasks編~
yoshifumi_ishikura
0
110
なまけものオバケたち -PHP 8.4 に入った新機能の紹介-
tanakahisateru
1
120
Keeping it Ruby: Why Your Product Needs a Ruby SDK - RubyWorld 2024
envek
0
180
Refactor your code - refactor yourself
xosofox
1
260
Semantic Kernelのネイティブプラグインで知識拡張をしてみる
tomokusaba
0
180
Featured
See All Featured
Automating Front-end Workflow
addyosmani
1366
200k
Documentation Writing (for coders)
carmenintech
66
4.5k
Site-Speed That Sticks
csswizardry
2
190
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.2k
Visualization
eitanlees
146
15k
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.6k
The Art of Programming - Codeland 2020
erikaheidi
53
13k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
330
21k
Music & Morning Musume
bryan
46
6.2k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
44
9.3k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
Product Roadmaps are Hard
iamctodd
PRO
49
11k
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