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
85
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
780
学生こそ ISUCONに出よう!
kizuku
1
130
WebTransportの パッケージを作った話
kizuku
0
130
きのこカンファレンス開催予告! - エンジニアがこの先生きのこるには -
kizuku
0
200
WebTransportは未来の技術?
kizuku
2
2.4k
Featured
See All Featured
Statistics for Hackers
jakevdp
799
230k
Practical Orchestrator
shlominoach
192
12k
Building Flexible Design Systems
yeseniaperezcruz
330
41k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
68
59k
Bash Introduction
62gerente
615
220k
Designing for Timeless Needs
cassininazir
1
540
A Modern Web Designer's Workflow
chriscoyier
699
190k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
670
What's in a price? How to price your products and services
michaelherold
247
13k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
540
Amusing Abliteration
ianozsvald
1
370
Un-Boring Meetings
codingconduct
0
480
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
ぜひご参加ください!!