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
11k
最強の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
社内フレームワークとその依存性解決 / in-house framework and its dependency management
vvakame
1
670
DatastoreからSpannerに 移行したいぞ途中編 / migrate Datastore to Spanner in progress
vvakame
0
1.1k
Google Cloud Next 2019 わくわく報告会 / Google Cloud Next 2019 WakuWaku Report
vvakame
1
430
メルカリ社員100人に聞いたGoLandの使い方 / JetBrains Night Tokyo 2018
vvakame
27
13k
OSS入門 世界に参加する最初のひと押し / OSS first step
vvakame
7
730
GCP Compute 概要と選定 / DevFest Tokyo 2018
vvakame
12
1.7k
GoでGraphQLサーバを立てるぞ! / Building GraphQL server by go
vvakame
15
4.8k
『Re:VIEW+CSS組版やっていき』を やった話とWebエンジニアが期待する未来 / CSS Publishinng for Web Developers
vvakame
3
9k
go.mercari.io/datastore はいいぞ! / go.mercari.io/datastore is pretty good!
vvakame
4
1.1k
Other Decks in Programming
See All in Programming
Android16 Migration Stories ~Building a Pattern for Android OS upgrades~
reoandroider
0
130
CSC509 Lecture 08
javiergs
PRO
0
230
Reactive Thinking with Signals and the Resource API
manfredsteyer
PRO
0
100
AI 駆動開発におけるコミュニティと AWS CDK の価値
konokenj
4
150
登壇は dynamic! な営みである / speech is dynamic
da1chi
0
350
Flutterで分数(Fraction)を表示する方法
koukimiura
0
140
コード生成なしでモック処理を実現!ovechkin-dm/mockioで学ぶメタプログラミング
qualiarts
0
250
AI駆動で0→1をやって見えた光と伸びしろ
passion0102
1
780
AIと人間の共創開発!OSSで試行錯誤した開発スタイル
mae616
2
780
contribution to astral-sh/uv
shunsock
0
450
What's new in Spring Modulith?
olivergierke
1
160
NIKKEI Tech Talk#38
cipepser
0
130
Featured
See All Featured
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.6k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Writing Fast Ruby
sferik
629
62k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.7k
How to Ace a Technical Interview
jacobian
280
24k
Fireside Chat
paigeccino
40
3.7k
Optimizing for Happiness
mojombo
379
70k
Being A Developer After 40
akosma
91
590k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
31
2.7k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
34
2.3k
Statistics for Hackers
jakevdp
799
220k
Intergalactic Javascript Robots from Outer Space
tanoku
272
27k
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ϥΠϒϥϦ ։ൃ ͨͷ͠ʔʂ