Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
最強の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
Transcript
27 slides
࠷ڧͷ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ϥΠϒϥϦ ։ൃ ͨͷ͠ʔʂ
More Decks by Masahiro Wakame
See All by Masahiro Wakame
社内フレームワークとその依存性解決 / in-house framework and its dependency management
vvakame
1
800
DatastoreからSpannerに 移行したいぞ途中編 / migrate Datastore to Spanner in progress
vvakame
0
1.3k
Google Cloud Next 2019 わくわく報告会 / Google Cloud Next 2019 WakuWaku Report
vvakame
1
470
メルカリ社員100人に聞いたGoLandの使い方 / JetBrains Night Tokyo 2018
vvakame
27
13k
OSS入門 世界に参加する最初のひと押し / OSS first step
vvakame
7
790
GCP Compute 概要と選定 / DevFest Tokyo 2018
vvakame
12
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.3k
go.mercari.io/datastore はいいぞ! / go.mercari.io/datastore is pretty good!
vvakame
4
1.2k
Other Decks in Programming
See All in Programming
ruby/uri meets WHATWG
jinroq
0
180
手の動かし方がわからなかった私が個人開発者になるまで
usagi0920_pochi
0
350
あなたはMCPの機能を、まだ知らない。
4geru
1
750
Kotlin JVM用に作られたライブラリのKMPを前提とした再設計
jsoizo
0
240
The Cost of the DOM
ypresto
4
1.6k
RaspberryPi 5で軽くはじめるk3sとtailscaleを用いたホームサーバー構築 (1)
nasum
0
450
疎結合とは何か?ソフトウェア設計における結合バランスについて考える #phpcon_niigata
kajitack
2
440
ビジネスロジックを堅牢に~Scala 3のドメインプリミティブ~
j5ik2o
0
240
なぜ私たちは「現時点では」KMPの導入を見送ったのか
chigichan24
1
650
SONY CISC-NEWS NWS-1750 + NWB-225 ハードウェアメンテとフレームバッファカラー対応 / KOF2026
tsutsui
0
150
エージェントの管理もエージェントに – herdr-core と自作バックログで作る司令塔 –
nearme_tech
PRO
2
170
TS 7.0 で baseUrl が使えなくなった今、パスエイリアスをどうするか
bicstone
2
860
Featured
See All Featured
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
121
130k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
320
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
760
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.2k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
68
61k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
4
4.5k
The Curious Case for Waylosing
cassininazir
1
630
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
2
410
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
33
5.9k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
70
69k
Thoughts on Productivity
jonyablonski
76
5.5k