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
My Adventure with WebSockets
Search
Michiel De Mey
April 05, 2013
Programming
87
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
My Adventure with WebSockets
A general presentation about WebSockets and why you should use them.
Michiel De Mey
April 05, 2013
Other Decks in Programming
See All in Programming
AWSに止められる覚悟してますか?
morizo_1984
2
530
Apple Intelligence を用いた個人情報誤送信防止、及びユーザーリクエスト体験の改善について
yukiny
0
350
JAWS-UG 東京支部が始める、JAWS-UG支部コラボ / JAWS-UG lunchtime LT Collaboration
y0hgi
0
270
Compiling a real-world CLI tool to native with Static Hermes
tmikov2023
0
120
コードで差別化できない時代の ソフトウェアエンジニアリング / Software Engineering in an Era Where Code Doesn’t Differentiate
kishida
2
180
Herb in Rails 8.2: Your ERB views, now HTML-aware @ Kaigi on Rails 2026, Tokyo, Japan
marcoroth
2
220
HTML-in-Canvasで作る未来のWeb UI表現
clockmaker
5
5.1k
RAG の “R” を Swift で覗いてみる 〜「意味から探す」検索の仕組み〜
nao_randd
0
160
Everything will be SERVERLESS — 信じて運用した10年の経験値 / Everything Will be Serverless — Lessons Learned from 10 Years of Operational Experience
seike460
PRO
1
1.1k
外から家のPCの電源入れたい!をPHPで解決する
kawashimo0
1
130
AIで開発が速くなった先で、開発チームは何を目指すか
shihochan
0
880
AI主導のプログラミング学習アプリを作ってみた
econanringo
0
180
Featured
See All Featured
Accessibility Awareness
sabderemane
1
250
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
800
RailsConf 2023
tenderlove
30
1.6k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
780
Fireside Chat
paigeccino
43
4.1k
Building Applications with DynamoDB
mza
96
7.2k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
300
Why Our Code Smells
bkeepers
PRO
340
58k
Speed Design
sergeychernyshev
33
2.2k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
410
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
560
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
5
820
Transcript
My Adventure with WebSockets
Michiel De Mey Twitter: @michieldemey Website: michieldemey.be
So, what are websockets?
“WebSocket is a web technology providing full- duplex communications channels
over a single TCP connection. ”
A few things you should know You're sending messages UTF-8
text or binary data Messages from client to server are “obfuscated” WebSockets automatically signal when the connection is about to be terminated Built-in heartbeating support Not all browsers currently support the transfer of binary data
Why should you bother?
Two-way communication (full duplex) Real-time data No firewall getting in
your way
The downsides Your network has to be compatible with websockets.
Load balancers HTTP Proxies ...
The lifecycle
None
None
My final project on websockets The stack and stuff
High performant HTTP and reverse proxy server. Running on Port
80 Proxying websockets on port 80 to port 8080 NOTE: requires Nginx 1.3.13 (Development version) Websocket proxying
Module for Nginx to deploy Ruby on Rails apps.
Platform running on Google's V8 JavaScript engine. Used to build
fast and scalable network applications.
Node.js package that makes real-time apps possible in every browser
and device. Server running on port 8080 Falls back to different transport mechanisms Server kept running using forever
CoffeeScript is a little language that compiles into JavaScript. Both
the websocket server and the client are written in CoffeeScript.
Demo
Thank you Twitter: @michieldemey Artwork by Jorge Jacinto http://blinck.deviantart.com/