Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
最強のDatastoreライブラリを作った / golang.tokyo #11
Masahiro Wakame
December 11, 2017
Programming
3
8.6k
最強の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
450
Google Cloud Next 2019 わくわく報告会 / Google Cloud Next 2019 WakuWaku Report
vvakame
1
380
メルカリ社員100人に聞いたGoLandの使い方 / JetBrains Night Tokyo 2018
vvakame
26
12k
OSS入門 世界に参加する最初のひと押し / OSS first step
vvakame
7
590
GCP Compute 概要と選定 / DevFest Tokyo 2018
vvakame
12
1.4k
GoでGraphQLサーバを立てるぞ! / Building GraphQL server by go
vvakame
15
4.1k
『Re:VIEW+CSS組版やっていき』を やった話とWebエンジニアが期待する未来 / CSS Publishinng for Web Developers
vvakame
3
7.7k
go.mercari.io/datastore はいいぞ! / go.mercari.io/datastore is pretty good!
vvakame
4
820
GAE/Go 1.8化の話題とnouhauの話 / yappari appengine ja night #2
vvakame
0
600
Other Decks in Programming
See All in Programming
2022 Android Training
mixi_engineers
1
630
Named Document って何?
harunakano
0
260
About Type Syntax Proposal
quramy
1
920
【PHPerKaigi2022】Mongo に溜まった約1.6億件の記事データを BigQuery へ …
userkazun
0
100
Android入門
hn410
0
300
Get Ready for Jakarta EE 10
ivargrimstad
0
1.9k
dbtとBigQueryで始めるData Vault入門
kazk1018
0
170
New Relicを使った Observabilityの実現方法と活用例 / gocon 2022 spring after talk
budougumi0617
0
940
heyにおけるSREの大切さ~マルチプロダクト運用の「楽しさ」と「難しさ」および今後の展望~
fufuhu
3
1.5k
Micro Frontends with Module Federation: Beyond the Basics
manfredsteyer
PRO
0
300
확장 가능한 테라폼 코드 관리 (Scalable Terraform Code Management)
posquit0
1
310
Groovy Roadmap
paulk
7
13k
Featured
See All Featured
BBQ
matthewcrist
74
7.9k
A designer walks into a library…
pauljervisheath
196
16k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
224
49k
10 Git Anti Patterns You Should be Aware of
lemiorhan
638
52k
Art Directing for the Web. Five minutes with CSS Template Areas
malarkey
196
9.4k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
15
910
Fontdeck: Realign not Redesign
paulrobertlloyd
73
4.1k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
7
1k
WebSockets: Embracing the real-time Web
robhawkes
57
5k
Three Pipe Problems
jasonvnalue
89
8.6k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
103
16k
How STYLIGHT went responsive
nonsquared
85
3.9k
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ϥΠϒϥϦ ։ൃ ͨͷ͠ʔʂ