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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Kizuku
October 23, 2024
92
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
WebSocketで バイナリを扱う方法 + OSTやりたくない?
Kizuku
October 23, 2024
Transcript
19 slides
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
ぜひご参加ください!!
More Decks by Kizuku
See All by Kizuku
Go言語でCQRS+ESの アプリを作ってみた
kizuku
0
800
学生こそ ISUCONに出よう!
kizuku
1
140
WebTransportの パッケージを作った話
kizuku
0
140
きのこカンファレンス開催予告! - エンジニアがこの先生きのこるには -
kizuku
0
200
WebTransportは未来の技術?
kizuku
2
2.4k
Featured
See All Featured
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
4
1.3k
Bash Introduction
62gerente
615
220k
How Software Deployment tools have changed in the past 20 years
geshan
3
35k
Six Lessons from altMBA
skipperchong
29
4.6k
Rails Girls Zürich Keynote
gr2m
96
14k
From π to Pie charts
rasagy
1
460
Being A Developer After 40
akosma
PRO
92
590k
AI: The stuff that nobody shows you
jnunemaker
PRO
12
1.3k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
For a Future-Friendly Web
brad_frost
184
11k
Technical Leadership for Architectural Decision Making
baasie
4
660
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
480