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
kamakura.go #2 感想
Search
maaaato
March 29, 2015
Programming
0
340
kamakura.go #2 感想
3/28 kamakura.go #2の感想。
maaaato
March 29, 2015
Tweet
Share
More Decks by maaaato
See All by maaaato
Fintech SREの挑戦 PCI DSS対応をスマートにこなすインフラ戦略/Fintech SRE’s Challenge: Smart Infrastructure Strategies for PCI DSS Compliance
maaaato
1
1.2k
ゆるっと話すSLI/SLOを設定してよかったこと出来ていないこと
maaaato
4
1.3k
我々はこうしてSLI/SLOを設計し 運用を始めました -これからSLI/SLOの運用を始める人に向けて-
maaaato
5
3.9k
筋肉エンジニア(SRE)はどんな副業をしているのか
maaaato
0
2.3k
Kyash meetup No3
maaaato
1
1.1k
nginx limit_reqを 本番環境にあとちょっとで導入出来た話
maaaato
0
1.4k
EVERY DAY PROGRAMING
maaaato
0
530
Other Decks in Programming
See All in Programming
Claude Agent SDK を使ってみよう
hyshu
0
1.4k
エンジニアインターン「Treasure」とHonoの2年、そして未来へ / Our Journey with Hono Two Years at Treasure and Beyond
carta_engineering
0
430
NixOS + Kubernetesで構築する自宅サーバーのすべて
ichi_h3
0
1.2k
SODA - FACT BOOK(JP)
sodainc
1
8.8k
コードとあなたと私の距離 / The Distance Between Code, You, and I
hiro_y
0
190
なぜGoのジェネリクスはこの形なのか? - Featherweight Goが明かす設計の核心
qualiarts
0
260
Go言語の特性を活かした公式MCP SDKの設計
hond0413
2
550
スキーマ駆動で、Zod OpenAPI Honoによる、API開発するために、Hono Takibiというライブラリを作っている
nakita628
0
320
Go言語はstack overflowの夢を見るか?
logica0419
0
610
CSC305 Lecture 08
javiergs
PRO
0
280
Goで実践するドメイン駆動開発 AIと歩み始めた新規プロダクト開発の現在地
imkaoru
4
910
GC25 Recap: The Code You Reviewed is Not the Code You Built / #newt_gophercon_tour
mazrean
0
110
Featured
See All Featured
Embracing the Ebb and Flow
colly
88
4.9k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
Building a Scalable Design System with Sketch
lauravandoore
463
33k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
140
34k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
23
1.5k
Balancing Empowerment & Direction
lara
5
700
Fireside Chat
paigeccino
41
3.7k
The Illustrated Children's Guide to Kubernetes
chrisshort
49
51k
How GitHub (no longer) Works
holman
315
140k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
37
2.6k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
130k
VelocityConf: Rendering Performance Case Studies
addyosmani
333
24k
Transcript
KAMAKURA.GO #2 ײ @MAAAATO
ͬͨ͜ͱ ▸ pocketͷAPIΛୟ͘ίϚϯυϥΠϯ࡞ ▸ APIͷϨεϙϯεΛfile cacheͯ͠Έͨ
ͬͨ͜ͱ ▸ pocketͷAPIΛୟ͘ίϚϯυϥΠϯ࡞ ▸ APIͷϨεϙϯεΛfile cacheͯ͠Έͨ ॳΊͯͷࢼΈ !
ํ ▸ APIΛୟ͘ͱ͖ʹfile cache͕͋Δ͔ఆ ▸ ແ͚Ε /tmp/pocket-cache ʹϨεϙϯε ݁ՌͷjsonΛు͖ग़͢ ▸
͋Εfile cacheΛreadͯ͠json.Unmarshalͯ͠structʹ ಥͬࠐΉ
݁Ռ 11.96 REAL 0.76 USER 0.09 SYS ↓ 0.79 REAL
0.69 USER 0.07 SYS
▸ ૣ͘ͳͬͨ ▸ ωοτϫʔΫʹଓͯ͠ͳ͍͔Β ▸ શମతʹίετԼ͕ͬͨ
▸ ૣ͘ͳͬͨ ▸ ωοτϫʔΫʹଓͯ͠ͳ͍͔Β ▸ શମతʹίετԼ͕ͬͨ Α͔ͬͨ !
༨ஊ zsh͍ͬͯΔͱzshͷtime͕ݺΕͯ͠·͏ɻ ͳͷͰɺ݁Ռ͕શવҧͬͨɻ /usr/bin/time command ࢀߟ - Qiita timeίϚϯυʹ͍ͭͯௐͨ
ײ ͷͲ͔ͳงғؾͰ͘͘Ͱ͖ͨɻ ࢀՃऀʹΓ߹͍͕͍ͨͷͰɺ૬ஊͰ͖ͨͷ͕Α͔ͬͨɻ ͘͘ͱҧ͏͚Ͳɺ૬ஊͰ͖Δงғؾͬͯେࣄͳͷ͔ ɻ ΦϑΟε͖Ε͍ɻ τϯϏͷ໐͖ʹ͍͞Εͨɻ
KAMAKURA.GO !