Lightning Talk Fred Rodriguez Aakash Juneja CPSC 473 March 16, 2012.

Slides:



Advertisements
Similar presentations
Umut Girit  One of the core members of the Internet Protocol Suite, the set of network protocols used for the Internet. With UDP, computer.
Advertisements

Reza hooshangi ( ). short history  One of the last major challenges for the web is to enable human communication via voice and video: Real Time.
Rensselaer Polytechnic Institute CSCI-4220 – Network Programming David Goldschmidt, Ph.D.
Nikola Dimitroff Creating Genres creatinggenres.com.
1/ November 2008 / EDS Internal Web Push Technology Dušan Chromý SOA Integration Consulting Reverse Ajax/Comet Explained.
Internet Networking Spring 2006 Tutorial 12 Web Caching Protocols ICP, CARP.
A CHAT CLIENT-SERVER MODULE IN JAVA BY MAHTAB M HUSSAIN MAYANK MOHAN ISE 582 FALL 2003 PROJECT.
1 Java Networking – Part I CS , Spring 2008/9.
1 Spring Semester 2007, Dept. of Computer Science, Technion Internet Networking recitation #13 Web Caching Protocols ICP, CARP.
Liang, Introduction to Java Programming, Sixth Edition, (c) 2007 Pearson Education, Inc. All rights reserved L22 (Chapter 25) Networking.
SignalR Real Time with SignalR Jared Rhodes Senior Consultant Magenic.
Application Layer  We will learn about protocols by examining popular application-level protocols  HTTP  FTP  SMTP / POP3 / IMAP  Focus on client-server.
I NTRODUCTION OF S OCKET P ROGRAMMING L.Aseel AlTurki King Saud University.
Boris Tshibangu. What is a proxy server? A proxy server is a server (a computer system or an application) that acts as an intermediary for requests from.
Process-to-Process Delivery:
WebSockets [intro].
Rensselaer Polytechnic Institute CSCI-4220 – Network Programming David Goldschmidt, Ph.D.
1 What Can HTML5 WebSocket Do For You? Sidda Eraiah Director of Management Services Kaazing Corporation.
Application Layer 2-1 Chapter 2 Application Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012.
1 Computer Communication & Networks Lecture 28 Application Layer: HTTP & WWW p Waleed Ejaz
Implementing ISA Server Publishing. Introduction What Are Web Publishing Rules? ISA Server uses Web publishing rules to make Web sites on protected networks.
Enabling Embedded Systems to access Internet Resources.
Networks QUME 185 Introduction to Computer Applications.
HOW WEB SERVER WORKS? By- PUSHPENDU MONDAL RAJAT CHAUHAN RAHUL YADAV RANJIT MEENA RAHUL TYAGI.
CIS 1310 – HTML & CSS 1 Introduction to the Internet.
Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 17 This presentation © 2004, MacAvon Media Productions Multimedia and Networks.
Protecting Internet Communications: Encryption  Encryption: Process of transforming plain text or data into cipher text that cannot be read by anyone.
Data Streams David Meredith Source Chapter 19 of – Shiffman, D. (2008). Learning Processing. Morgan Kaufmann, Burlington, MA. ISBN:
Sockets process sends/receives messages to/from its socket
Information Flow Across the Internet. What is the Internet? A large group of computers that link together to form the Worldwide Area Network (WAN)
Chapter 2 Applications and Layered Architectures Sockets.
4061 Session 25 (4/17). Today Briefly: Select and Poll Layered Protocols and the Internets Intro to Network Programming.
Introduction to Internet. Chapter 1 Objectives Origins of the Internet Packets and Routers TCP/IP DNS HTTP URL Client-Server.
1 3 Computing System Fundamentals 3.4 Networked Computer Systems.

Socket Programming Introduction. Socket Definition A network socket is one endpoint in a two-way communication flow between two programs running over.
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
The Client-Server Model And the Socket API. Client-Server (1) The datagram service does not require cooperation between the peer applications but such.
Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 17 This presentation © 2004, MacAvon Media Productions Multimedia and Networks.
CSI 3125, Preliminaries, page 1 Networking. CSI 3125, Preliminaries, page 2 Networking A network represents interconnection of computers that is capable.
WHAT IS E-COMMERCE? E-COMMERCE is a online service that helps the seller/buyer complete their transaction through a secure server. Throughout the past.
COM: 111 Introduction to Computer Applications Department of Information & Communication Technology Panayiotis Christodoulou.
McGraw-Hill Chapter 23 Process-to-Process Delivery: UDP, TCP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
COMP2322 Lab 4 Socket Programming Toby Lam March 2, 2016.
Java Networking I IS Outline  Quiz #3  Network architecture  Protocols  Sockets  Server Sockets  Multi-threaded Servers.
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
How Web Servers and The Internet Work The Basic Process.
Java’s networking capabilities are declared by the classes and interfaces of package java.net, through which Java offers stream-based communications that.
1 Network Communications A Brief Introduction. 2 Network Communications.
Keith Telle Lead Software Engineer Bit Wizards Behind the Magic: SignalR Demystified.
The Echo Server Problem. Contents  Basic Networking Concepts  The Echo Server Problem.
Research of Web Real-Time Communication Based on WebSocket
COMP2322 Lab 4 Socket Programming
Chapter 5 Network and Transport Layers
Installing TMG & Choosing a Client Type
Websocket Application
MCA – 405 Elective –I (A) Java Programming & Technology
Working at a Small-to-Medium Business or ISP – Chapter 7
Working at a Small-to-Medium Business or ISP – Chapter 7
Building real-time web apps with WebSockets using IIS, ASP.NET and WCF
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Working at a Small-to-Medium Business or ISP – Chapter 7
Multimedia and Networks
Process-to-Process Delivery:
03 | Building a Backend with Socket.IO and Mongo
Starting TCP Connection – A High Level View
HyperText Transfer Protocol
Internet Applications & Programming
Protocol Application TCP/IP Layer Model
Presentation transcript:

Lightning Talk Fred Rodriguez Aakash Juneja CPSC 473 March 16, 2012

 The Classical Network Socket – is a communication method that is used between applications on the same computer or on different computers, and is provided by the operating system: ◦ Provides bi-directional, full-duplex communication ◦ Depends on network Ports, IP addresses to deliver data ◦ The API is a classical C based interface, that depends on the OS ◦ Is still used in networking applications Server Client Data Socket 1 Socket 2

 Websocket – is a bi-directional socket that is primarily used between a Web browser and Web Server; they are Web- centric, and Object-Oriented sockets that improve and speed up the communication between browsers and servers Server Client Data Websocket 1 Websocket 2

 Websocket – is a web technology that: ◦ Provides bi-directional, full duplex communication (information flows in both directions) ◦ Runs on top of a standard Transmission Control Protocol socket ◦ Helps implement Real-Time, bi-directional communication ◦ Is not port based like a classical socket, and can by-pass Port based security ◦ Less complicated when compared to using Comet to implement a transmit and receive communication path ◦ An HTTP request and response is not needed every time a message is sent between the Web Browser and the Web Server ◦ Websockets are not subject to the same origin-policy (the browser can open a socket with a server that is different from the server that originally served the web page) ◦ HTML 5 supports Websockets

 The Web Socket API is designed to hide much of the complexity of socket communication  The Web Socket API is object oriented, which means: ◦ A socket is opened when a Websocket object is constructed ◦ Once the socket connection is established, the browser and server can send data back and forth ◦ Once the socket is closed, it cannot be reopened; a new WebSocket objected must be constructed. ◦.

 Web sockets can be an efficient solution for a web applications that require regular communication with a server  Because a web socket is established once and used repeatedly without the need for communication over HTTP, it can greatly reduce the overhead of sending multiple HTTP headers back and forth  In addition, web sockets can eliminate the need for inefficient communication practices such as polling, in which the browser checks repeatedly for new data on the server  Because a web socket is an open communication channel, the browser only needs to listen for incoming messages.  When the server has new data, it sends a new message to the browser. The browser receives the message as it arrives ◦.

Use case-  Multiplayer online games  Chat applications  Live sports ticker  Realtime updating social streams  Is your application truely-web competitve?  Low-latency?  Bandwidth efficient?  Cloud-ready?  Web scale?  Plugins?

 Issues  Poor browser support require fallbacks  Multiple versions of the protocol in play  Protocol versions incompatible and are likely  to change again  Possible security issues  Not suitable for all applications (but better  than AJAX!)  Resource considerations  Firefox 4 and Opera 11 disabled the protocol due to security issues

 Currently, only Internet Explorer 10, Chrome 16 and Firefox 11 support this API  Latest specification of the protocol defines standards for unencripted and encrypted connections

 Websockets API: ◦  Websockets Organization:  Websockets Projects: ◦