• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
My adventure with WebSockets
 

My adventure with WebSockets

on

  • 216 views

A general presentation about WebSockets and why you should use them.

A general presentation about WebSockets and why you should use them.

Statistics

Views

Total Views
216
Views on SlideShare
214
Embed Views
2

Actions

Likes
0
Downloads
10
Comments
0

1 Embed 2

http://www.linkedin.com 2

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    My adventure with WebSockets My adventure with WebSockets Presentation Transcript

    • My Adventure with WebSockets
    • Michiel De Mey Twitter: @michieldemey Website: michieldemey.be
    • So, what are websockets?
    • “WebSocket is a web technology providing fullduplex 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
    • 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: Websocket proxying requires Nginx 1.3.13 (Development version)
    • 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/