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
最強のDatastoreライブラリを作った / golang.tokyo #11
Search
Masahiro Wakame
December 11, 2017
Programming
3
10k
最強のDatastoreライブラリを作った / golang.tokyo #11
https://go.mercari.io/datastore
https://golangtokyo.connpass.com/event/72986/
Masahiro Wakame
December 11, 2017
Tweet
Share
More Decks by Masahiro Wakame
See All by Masahiro Wakame
DatastoreからSpannerに 移行したいぞ途中編 / migrate Datastore to Spanner in progress
vvakame
0
1k
Google Cloud Next 2019 わくわく報告会 / Google Cloud Next 2019 WakuWaku Report
vvakame
1
410
メルカリ社員100人に聞いたGoLandの使い方 / JetBrains Night Tokyo 2018
vvakame
27
13k
OSS入門 世界に参加する最初のひと押し / OSS first step
vvakame
7
690
GCP Compute 概要と選定 / DevFest Tokyo 2018
vvakame
12
1.6k
GoでGraphQLサーバを立てるぞ! / Building GraphQL server by go
vvakame
15
4.6k
『Re:VIEW+CSS組版やっていき』を やった話とWebエンジニアが期待する未来 / CSS Publishinng for Web Developers
vvakame
3
8.7k
go.mercari.io/datastore はいいぞ! / go.mercari.io/datastore is pretty good!
vvakame
4
1k
GAE/Go 1.8化の話題とnouhauの話 / yappari appengine ja night #2
vvakame
0
800
Other Decks in Programming
See All in Programming
Better Code Design in PHP
afilina
PRO
0
130
Outline View in SwiftUI
1024jp
1
330
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
1
100
受け取る人から提供する人になるということ
little_rubyist
0
250
C++でシェーダを書く
fadis
6
4.1k
AI時代におけるSRE、 あるいはエンジニアの生存戦略
pyama86
6
1.2k
Hotwire or React? ~アフタートーク・本編に含めなかった話~ / Hotwire or React? after talk
harunatsujita
1
120
ローコードSaaSのUXを向上させるためのTypeScript
taro28
1
630
最新TCAキャッチアップ
0si43
0
190
3rd party scriptでもReactを使いたい! Preact + Reactのハイブリッド開発
righttouch
PRO
1
610
Why Jakarta EE Matters to Spring - and Vice Versa
ivargrimstad
0
1.1k
CSC509 Lecture 11
javiergs
PRO
0
180
Featured
See All Featured
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
506
140k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
Building Better People: How to give real-time feedback that sticks.
wjessup
364
19k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
229
52k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
93
16k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.8k
Adopting Sorbet at Scale
ufuk
73
9.1k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
Facilitating Awesome Meetings
lara
50
6.1k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
159
15k
Building Flexible Design Systems
yeseniaperezcruz
327
38k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
109
49k
Transcript
࠷ڧͷDatastoreϥΠϒϥϦΛ࡞ͬͨ golang.tokyo #11 Θ͔Ί ·͞ͻΖ
Θ͔Ί ·͞ͻΖ @v vakame TypeScript Masahiro Wakame DefinitelyTyped appengine/go photo
from golang.org/doc/gopher/
Datastore
ͬͯ·͔͢ʁ • ͬͯͨʂ • ࠓͬͨʂ
Datastore? • Googleͷfull managed scalable DB • https://cloud.google.com/datastore/
࠷ߴ
None
՝
՝ 1 • AppEngine Datastore • Cloud Datastore • ↑API͕ҟͳΔ
՝ 2 • PropertyLoadSaverͰctx͕͑ͳ͍ • ↑AppEngine ctxͳ͍ͱԿͰ͖ͳ͍
՝ 3 • Structͷfieldʹಛఆͷܕ͔͑͠ͳ͍ • ↑JSONԽ͢Δ࣌٧ସ͕ͩΔ͍
՝ 4 • DBͱͷRPCճ͕গͳ͍΄Ͳૣ͍ • গͳ͍ίʔυ৭ʑflatten͢ΔͷͰ Մಡੑ͕ѱ͍ • ↑ՄಡੑΛ٘ਜ਼ʹͨ͘͠ͳ͍…
શ෦ղܾ͠·ͨ͠ • go.mercari.io/datastore • qiita.com/vvakame/items/9310bcb5a4e87888d505
ݱঢ়
None
ٕज़ॻయެࣜWeb શஔ͖͑ࡁ
վળ
αʔΫϧҰཡAPI
αʔΫϧҰཡAPI
αʔΫϧҰཡAPI
αʔΫϧҰཡAPI 35→26→7
ຊ൪ڥ (ະద༻) 965…
վળ͔͠ ͋Γ͑ͳ͍
࠷ޙʹ
None
https://gcpug.jp/join #g-cloud-datastore_ja
ࣄͰ OSSϥΠϒϥϦ ։ൃ ͨͷ͠ʔʂ