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
13k
3
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
最強のDatastoreライブラリを作った / golang.tokyo #11
https://go.mercari.io/datastore
https://golangtokyo.connpass.com/event/72986/
Masahiro Wakame
December 11, 2017
More Decks by Masahiro Wakame
See All by Masahiro Wakame
社内フレームワークとその依存性解決 / in-house framework and its dependency management
vvakame
1
780
DatastoreからSpannerに 移行したいぞ途中編 / migrate Datastore to Spanner in progress
vvakame
0
1.3k
Google Cloud Next 2019 わくわく報告会 / Google Cloud Next 2019 WakuWaku Report
vvakame
1
460
メルカリ社員100人に聞いたGoLandの使い方 / JetBrains Night Tokyo 2018
vvakame
27
13k
OSS入門 世界に参加する最初のひと押し / OSS first step
vvakame
7
780
GCP Compute 概要と選定 / DevFest Tokyo 2018
vvakame
13
1.7k
GoでGraphQLサーバを立てるぞ! / Building GraphQL server by go
vvakame
15
4.9k
『Re:VIEW+CSS組版やっていき』を やった話とWebエンジニアが期待する未来 / CSS Publishinng for Web Developers
vvakame
3
9.2k
go.mercari.io/datastore はいいぞ! / go.mercari.io/datastore is pretty good!
vvakame
4
1.2k
Other Decks in Programming
See All in Programming
Hello, Hiroshima Geospatial Data! — Exploring DoboX with Python
ra0kley
0
150
AI に Inclusive UI を書かせよう — Design Rules Skill で Compose UI を作り直す
theoriatec2024
1
380
夏だ!祭りだ!祭りとはドメインモデリングでは?
ryugen04
0
510
PyConJP2026_wat_Python × Signal Processing: How to Draw Pictures with Sound Using Spectrogram Art
wat
0
650
初心者DevRelとして参加者だった私が、DevRel Talks!#2に登壇するまでにしてきたこと
sokohirai
0
310
Go 1.27 における memory allocation の高速化
andpad
0
370
Pythonの実行はどこまで賢くなったのか? CPythonとPyPyから見る最適化のしくみ
curekoshimizu
4
2.4k
片田舎のおっさん、 Swift Buildのダイアモンド問題解決の不具合修正PRを出すが、解決方法がキャッシュをしないようにすることであり、ビルド時間が伸びると言われてマージされないので高速化もする/swiftbuild
yimajo
0
340
Cloudflare is Agents
chimame
0
190
仕様駆動開発の消費期限
watany
20
9.2k
進化を続けるGo toolsの現在地 / The Current State of Ever-Evolving Go Tools
hond0413
0
290
[PyCon KR 2026] More Variants, More Diversity for AI Accelerators
achimnol
0
130
Featured
See All Featured
ラッコキーワード サービス紹介資料
rakko
1
4.7M
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
300
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
2.6k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.7k
The untapped power of vector embeddings
frankvandijk
2
1.9k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.6k
Build your cross-platform service in a week with App Engine
jlugia
234
19k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.8k
The Curious Case for Waylosing
cassininazir
1
490
Typedesign – Prime Four
hannesfritz
42
3.2k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
680
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ϥΠϒϥϦ ։ൃ ͨͷ͠ʔʂ