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
WebSocketで バイナリを扱う方法 + OSTやりたくない?
Search
Kizuku
October 23, 2024
83
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
WebSocketで バイナリを扱う方法 + OSTやりたくない?
Kizuku
October 23, 2024
More Decks by Kizuku
See All by Kizuku
Go言語でCQRS+ESの アプリを作ってみた
kizuku
0
770
学生こそ ISUCONに出よう!
kizuku
1
130
WebTransportの パッケージを作った話
kizuku
0
130
きのこカンファレンス開催予告! - エンジニアがこの先生きのこるには -
kizuku
0
200
WebTransportは未来の技術?
kizuku
2
2.4k
Featured
See All Featured
The Art of Programming - Codeland 2020
erikaheidi
57
14k
WCS-LA-2024
lcolladotor
0
850
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.3k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
50
10k
Ten Tips & Tricks for a 🌱 transition
stuffmc
1
250
A designer walks into a library…
pauljervisheath
211
25k
Deep Space Network (abreviated)
tonyrice
0
360
So, you think you're a good person
axbom
PRO
2
2.2k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
570
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.6k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.2k
Why Our Code Smells
bkeepers
PRO
340
58k
Transcript
WebSocketで バイナリを扱う方法 + OSTやりたくない? Fukuoka.go #20 Kizuku
Kizuku 九州工業大学 学部4年 →DeNA 好きな言語: Go X(Twitter): @Kizuku_tech 自己紹介
イベント参加/運営 Kizuku.go Gopher’s Gathering 2025/1/18 きのこカンファレンス 2025/3/9
Kizuku.go Vol.4 12/2 Mon.
WebSocketで バイナリを使う方法
WebSocketとは リアルタイム通信のプロトコル HTTP通信と比べて軽量で高速 Server-Clientのアプリケーションで広く使 われている
WebSocketで扱うデータ テキスト形式: UTF-8のテキスト JSON, プレーンテキスト バイナリ形式 画像などのデータ、Protocol Buffer
WebSocketで扱うデータ テキスト形式: UTF-8のテキスト JSON, プレーンテキスト バイナリ形式 画像などのデータ、Protocol Buffer
WebSocketで扱うデータ テキスト形式: UTF-8のテキスト JSON, プレーンテキスト バイナリ形式 画像などのデータ、Protocol Buffer
Protocol Bufferとは Googleが開発したバイナリフォーマットの データシリアライズ手法 多くのプログラミング言語でサポート Go, TypeScript, Python, C++ protoファイルによるスキーマ定義
で、何がいいの?
バイナリ形式の良さ テキスト形式と比較して データサイズが小さい
JSON: 87 bytes protobuf: 54 bytes
OSTやりたくない?
OSTとは 対話や議論を促進するための会議やワー クショップ 参加者全員が自由にアイデアや意見を持 ち寄り、ワイワイお話し!!
OSTやりたくなったよね?
Gopher’s Gathering開催!
LT(5min) × 10 セッション(20min) × 8 OST(1hour) × 2
ぜひご参加ください!!