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
WebSocketで バイナリを扱う方法 + OSTやりたくない?
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Kizuku
October 23, 2024
73
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
710
学生こそ ISUCONに出よう!
kizuku
1
120
WebTransportの パッケージを作った話
kizuku
0
110
きのこカンファレンス開催予告! - エンジニアがこの先生きのこるには -
kizuku
0
190
WebTransportは未来の技術?
kizuku
2
2.3k
Featured
See All Featured
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
720
The Limits of Empathy - UXLibs8
cassininazir
1
360
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
230
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.5k
Building Applications with DynamoDB
mza
96
7.1k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.2k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
210
Mind Mapping
helmedeiros
PRO
1
250
Ruling the World: When Life Gets Gamed
codingconduct
0
250
How STYLIGHT went responsive
nonsquared
100
6.2k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.5k
HDC tutorial
michielstock
2
710
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
ぜひご参加ください!!