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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Masahiro Wakame
December 11, 2017
Programming
3
12k
最強の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
730
DatastoreからSpannerに 移行したいぞ途中編 / migrate Datastore to Spanner in progress
vvakame
0
1.2k
Google Cloud Next 2019 わくわく報告会 / Google Cloud Next 2019 WakuWaku Report
vvakame
1
450
メルカリ社員100人に聞いたGoLandの使い方 / JetBrains Night Tokyo 2018
vvakame
27
13k
OSS入門 世界に参加する最初のひと押し / OSS first step
vvakame
7
760
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
9.1k
go.mercari.io/datastore はいいぞ! / go.mercari.io/datastore is pretty good!
vvakame
4
1.2k
Other Decks in Programming
See All in Programming
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
460
猫の手も借りたい!ので AIエージェント猫を作って社内に放した話 Claude Code × Container Lambda の Slack Bot "DevNeko"
naramomi7
0
260
new(1.26) ← これすき / kamakura.go #8
utgwkk
0
2.3k
クライアントワークでSREをするということ。あるいは事業会社におけるSREと同じこと・違うこと
nnaka2992
1
340
モダンOBSプラグイン開発
umireon
0
130
AWS Infrastructure as Code の新機能 2025 総まとめ 〜SA 4人による怒涛のデモ祭り〜
konokenj
10
3.4k
Angular-Apps smarter machen mit Gen AI: Lokal und offlinefähig - Hands-on Workshop!
christianliebel
PRO
0
110
nilとは何か 〜interfaceの構造とnil!=nilから理解する〜
kuro_kurorrr
3
1.9k
Goの型安全性で実現する複数プロダクトの権限管理
ishikawa_pro
2
340
Swift ConcurrencyでよりSwiftyに
yuukiw00w
0
270
Windows on Ryzen and I
seosoft
0
290
grapheme_strrev関数が採択されました(あと雑感)
youkidearitai
PRO
1
220
Featured
See All Featured
A better future with KSS
kneath
240
18k
Navigating Team Friction
lara
192
16k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
190
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
71
Raft: Consensus for Rubyists
vanstee
141
7.4k
GraphQLの誤解/rethinking-graphql
sonatard
75
11k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
190
Heart Work Chapter 1 - Part 1
lfama
PRO
5
35k
My Coaching Mixtape
mlcsv
0
71
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
0
180
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
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ϥΠϒϥϦ ։ൃ ͨͷ͠ʔʂ