SlideShare a Scribd company logo
Websocket
Real time in iOS applications.
Cocoaheads
10.04.2014
Kraków - Brainly HQ
Roman Barzyczak
!
!
Email: roman.barzyczak@brainly.com
Twitter: @roman_barzyczak
Head of Mobile, Brainly
Agenda
Why do we need WebSocket?
How does it work?
Practical use cases
Demo application
Q&A
What is websocket?
Why?
Websocket delivers Full Duplex Communication Model
source: http://synrg.csl.illinois.edu/projects/phymac/
HTTP is Half Duplex
source: http://www.websocket.org/quantum.html
Increased Client and Server
Communication Efficiency
How does it work?
source: http://www.websocket.org/quantum.html
Polling vs WebSockets
Give a Handshake
source: http://java.sys-con.com/node/2818935
Practical use cases
Chats
Hangouts Messanger
Streams
zadane.pl facebook
Live statistics
livescore.com
Games
DoodleJump
Demo time!
Connect to „Brainly-guest”
Visit site: 192.168.13.101/~yoman/
How to implement Websocket in iOS applications?
Demo available at: https://github.com/brainly/hive-demo
Q&A
Websocket in iOS application to create real-time applications

More Related Content

What's hot (20)

PPTX
ReactJS maakt het web eenvoudig
Rick Beerendonk
 
PDF
Postmodern Web Apps
malteubl
 
PDF
EdgeConf - Page Load Performance Opening Talk
Andy Davies
 
PDF
CSS vs. JavaScript - Trust vs. Control
Christian Heilmann
 
PDF
The Case for HTTP/2 - EpicFEL Sept 2015
Andy Davies
 
PDF
PC/Mac/Linux: Multi-platform web development made simple
Marc Robinsone Caballero
 
KEY
Sniffing the Mobile Context
Andy Davies
 
PPTX
Web Performance 101
Uri Lavi
 
PPT
Dynamic website
Ryan Scheel
 
PDF
Progressive Web Apps – the return of the web?
Christian Heilmann
 
PDF
Speed Matters!
Andy Davies
 
KEY
Speed is Essential for a Great Web Experience
Andy Davies
 
PDF
Hacking the Mid-End (Great Lakes Ruby Bash Edition)
Michael Bleigh
 
PDF
The Case for HTTP/2 - Internetdagarna 2015 - Stockholm
Andy Davies
 
PPTX
Make JavaScript Faster
Steve Souders
 
PDF
Mozilla the web and you
Christian Heilmann
 
PPTX
Introduction to Progressive Web Applications
Chris Love
 
PPTX
Performance Tuning Web Apps - The Need For Speed
Vijay Rayapati
 
PPTX
Getting started with HTML & CSS
Ben Eveloff
 
ReactJS maakt het web eenvoudig
Rick Beerendonk
 
Postmodern Web Apps
malteubl
 
EdgeConf - Page Load Performance Opening Talk
Andy Davies
 
CSS vs. JavaScript - Trust vs. Control
Christian Heilmann
 
The Case for HTTP/2 - EpicFEL Sept 2015
Andy Davies
 
PC/Mac/Linux: Multi-platform web development made simple
Marc Robinsone Caballero
 
Sniffing the Mobile Context
Andy Davies
 
Web Performance 101
Uri Lavi
 
Dynamic website
Ryan Scheel
 
Progressive Web Apps – the return of the web?
Christian Heilmann
 
Speed Matters!
Andy Davies
 
Speed is Essential for a Great Web Experience
Andy Davies
 
Hacking the Mid-End (Great Lakes Ruby Bash Edition)
Michael Bleigh
 
The Case for HTTP/2 - Internetdagarna 2015 - Stockholm
Andy Davies
 
Make JavaScript Faster
Steve Souders
 
Mozilla the web and you
Christian Heilmann
 
Introduction to Progressive Web Applications
Chris Love
 
Performance Tuning Web Apps - The Need For Speed
Vijay Rayapati
 
Getting started with HTML & CSS
Ben Eveloff
 

Viewers also liked (8)

PDF
Brainly case study - How we rebuilt our apps and achieved success
Roman Barzyczak
 
PDF
Mobile Test Automation - Appium
Maria Machlowska
 
PDF
Microservices Practitioner Summit Jan '15 - Scaling Uber from 1 to 100s of Se...
Ambassador Labs
 
PDF
Game of Frameworks - GDG Cáceres #CodeCC
Carlos Azaustre
 
PDF
10 (Drunken) Facts about St. Patrick's Day
Ethos3
 
PDF
The Mini-Guide to Presentation Practice
Ethos3
 
PDF
How to Lead With Your Presentation
Ethos3
 
PDF
The Weird History of Valentine's Day
Ethos3
 
Brainly case study - How we rebuilt our apps and achieved success
Roman Barzyczak
 
Mobile Test Automation - Appium
Maria Machlowska
 
Microservices Practitioner Summit Jan '15 - Scaling Uber from 1 to 100s of Se...
Ambassador Labs
 
Game of Frameworks - GDG Cáceres #CodeCC
Carlos Azaustre
 
10 (Drunken) Facts about St. Patrick's Day
Ethos3
 
The Mini-Guide to Presentation Practice
Ethos3
 
How to Lead With Your Presentation
Ethos3
 
The Weird History of Valentine's Day
Ethos3
 
Ad

Similar to Websocket in iOS application to create real-time applications (20)

PDF
4Developers 2018: Real-time capabilities in ASP.NET Core web applications (To...
PROIDEA
 
PPTX
Training Webinar: Enterprise application performance with server push technol...
OutSystems
 
PPTX
Websocket
charmin_pansuriya
 
PPTX
Enhancing Mobile User Experience with WebSocket
Mauricio "Maltron" Leal
 
PPTX
SenchaCon 2016: How to Give your Sencha App Real-time Web Performance - James...
Sencha
 
PDF
Realtime with-websockets-2015
ColdFusionConference
 
PPTX
Web Sockets
Paul Fryer
 
PDF
Building Next Generation Real-Time Web Applications using Websockets
Naresh Chintalcheru
 
PPTX
ClientServer Websocket.pptx
MaxamedSheekhAmiin
 
PPTX
Basic understanding of websocket and and REST API
divyabiru27
 
PDF
Realtime with websockets
ColdFusionConference
 
PPTX
Realtime web experience with signal r
Ran Wahle
 
PPTX
WebSockets-Revolutionizing-Real-Time-Communication.pptx
YasserLina
 
PPTX
Server interaction with web socket protocol
Rahul Rai
 
PPTX
WebSockets in JEE 7
Shahzad Badar
 
PDF
WebSocket Push Fallback - Transcript.pdf
ShaiAlmog1
 
PPTX
Come ti "pusho" il web con WebSockets: da 0 a SignalR
Alessandro Melchiori
 
PDF
Dev con kolkata 2012 websockets
SANKARSAN BOSE
 
PDF
What is a WebSocket? Real-Time Communication in Applications
Inexture Solutions
 
PPTX
Difference between Client Polling vs Server Push vs Websocket vs Long Polling
jeetendra mandal
 
4Developers 2018: Real-time capabilities in ASP.NET Core web applications (To...
PROIDEA
 
Training Webinar: Enterprise application performance with server push technol...
OutSystems
 
Enhancing Mobile User Experience with WebSocket
Mauricio "Maltron" Leal
 
SenchaCon 2016: How to Give your Sencha App Real-time Web Performance - James...
Sencha
 
Realtime with-websockets-2015
ColdFusionConference
 
Web Sockets
Paul Fryer
 
Building Next Generation Real-Time Web Applications using Websockets
Naresh Chintalcheru
 
ClientServer Websocket.pptx
MaxamedSheekhAmiin
 
Basic understanding of websocket and and REST API
divyabiru27
 
Realtime with websockets
ColdFusionConference
 
Realtime web experience with signal r
Ran Wahle
 
WebSockets-Revolutionizing-Real-Time-Communication.pptx
YasserLina
 
Server interaction with web socket protocol
Rahul Rai
 
WebSockets in JEE 7
Shahzad Badar
 
WebSocket Push Fallback - Transcript.pdf
ShaiAlmog1
 
Come ti "pusho" il web con WebSockets: da 0 a SignalR
Alessandro Melchiori
 
Dev con kolkata 2012 websockets
SANKARSAN BOSE
 
What is a WebSocket? Real-Time Communication in Applications
Inexture Solutions
 
Difference between Client Polling vs Server Push vs Websocket vs Long Polling
jeetendra mandal
 
Ad

Recently uploaded (8)

PPTX
Mobile Apps Helping Business Grow in 2025
Infylo Techsolutions
 
PPTX
The Intersection of Emoji and NFT. What can be the Consequences?
Refit Global
 
PDF
💡 Digital Marketing Decoded: Mastering Online Growth Strategies for 2025 🚀
marketingaura24
 
PDF
Building Smart, Scalable Solutions with Android App Development
Brancosoft Private Limited
 
PDF
INTERLINGUAL SYNTACTIC PARSING: AN OPTIMIZED HEAD-DRIVEN PARSING FOR ENGLISH ...
kevig
 
PDF
Call For Papers - International Journal on Natural Language Computing (IJNLC)
kevig
 
PPT
lect 1 Introduction.ppt11112222333344455
212231
 
PPT
lec2 wireless transmission exlaining.ppt
212231
 
Mobile Apps Helping Business Grow in 2025
Infylo Techsolutions
 
The Intersection of Emoji and NFT. What can be the Consequences?
Refit Global
 
💡 Digital Marketing Decoded: Mastering Online Growth Strategies for 2025 🚀
marketingaura24
 
Building Smart, Scalable Solutions with Android App Development
Brancosoft Private Limited
 
INTERLINGUAL SYNTACTIC PARSING: AN OPTIMIZED HEAD-DRIVEN PARSING FOR ENGLISH ...
kevig
 
Call For Papers - International Journal on Natural Language Computing (IJNLC)
kevig
 
lect 1 Introduction.ppt11112222333344455
212231
 
lec2 wireless transmission exlaining.ppt
212231
 

Websocket in iOS application to create real-time applications