Synchronous & Asynchronous Models in Computing By: James Pauer.

Slides:



Advertisements
Similar presentations
RAID (Redundant Arrays of Independent Disks). Disk organization technique that manages a large number of disks, providing a view of a single disk of High.
Advertisements

Why to learn OSI reference Model? The answer is too simple that It tells us that how communication takes place between computers on internet but how??
Data and Computer Communications Digital Data Communications Techniques.
Chapter 4 Making Connections. 2 Introduction  Examine the interface between a computer and a device. This interface occurs at the physical layer.  Connecting.
Assessment 1 Review Network Layers. Computer 1Computer 2 2.
Chapter 6 Errors, Error Detection, and Error Control.
Data Transmission Most digital messages are longer than just a few bits. It is neither practical nor economic to transfer all bits of a long message simultaneously.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 6 – Digital Data Communications Techniques.
1 Chapter Six - Errors, Error Detection, and Error Control Chapter Six.
I/O Hardware n Incredible variety of I/O devices n Common concepts: – Port – connection point to the computer – Bus (daisy chain or shared direct access)
Semester 4 - Chapter 4 – PPP WAN connections are controlled by protocols In a LAN environment, in order to move data between any two nodes or routers two.
Transmission Modes Different ways of characterizing the transmission.
Transmission Characteristics 1. Introduction (Information Interchange codes) 2. Asynchronous and Synchronous Transmissions 3. Error detection (bit errors)
Network Data Organizational Communications and Technologies Prithvi N. Rao Carnegie Mellon University Web:
Chapter 6 Errors, Error Detection, and Error Control
Transmission Modes Different ways of characterizing the transmission.
FILES, DATA, AND SIGNALS FILE HAMLET. TXT USER DATA
Learning from the Past for Resolving Dilemmas of Asynchrony Paul Ezhilchelvan and Santosh Shrivastava Newcastle University England, UK.
1 I/O Management in Representative Operating Systems.
Data Transmission Most digital messages are longer than just a few bits. It is neither practical nor economical to transfer all bits of a long message.
Internetworking Fundamentals (Lecture #2) Andres Rengifo Copyright 2008.
TCP: Software for Reliable Communication. Spring 2002Computer Networks Applications Internet: a Collection of Disparate Networks Different goals: Speed,
TDC 461 Basic Communications Systems 8 May, 2001.
Servers Redundant Array of Inexpensive Disks (RAID) –A group of hard disks is called a disk array FIGURE Server with redundant NICs.
Data transmission refers to the movement of data in form of bits between two or more digital devices. This transfer of data takes place via some form.
INPUT-OUTPUT ORGANIZATION
Multiplexer Multiplexing FDM TDM WDM Front-End Processor Controllers.
Midterm Review - Network Layers. Computer 1Computer 2 2.
Presentation on Osi & TCP/IP MODEL
1 Chapter 7: Storage Systems Introduction Magnetic disks Buses RAID: Redundant Arrays of Inexpensive Disks.
THE OSI MODEL AND THE TCP/IP PROTOCOL SUITE CS 1202 Lectur3 part2.
Chapter-4/5-1CS331- Fakhry Khellah Term 081 Chapter 4 (Only 4.2 – 4.3) Digital Transmission.
Chapter 7 Low-Level Protocols
CHAPTER 3 TOP LEVEL VIEW OF COMPUTER FUNCTION AND INTERCONNECTION
The OSI Model and the TCP/IP Protocol Suite Outline: 1.Protocol Layers 2.OSI Model 3.TCP/IP Model 4.Addressing 1.
COMP1321 Digital Infrastructures Richard Henson November 2013.
ECS 152A 4. Communications Techniques. Asynchronous and Synchronous Transmission Timing problems require a mechanism to synchronize the transmitter and.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 6 – Digital Data Communications Techniques.
Data and Computer Communications
I/O Computer Organization II 1 Interconnecting Components Need interconnections between – CPU, memory, I/O controllers Bus: shared communication channel.
1 Message Delineation Identify the start and end of messages by: Identify the start and end of messages by:
AS Computing Data Transmission and Networks. Transmission error Detecting errors in data transmission is very important for data integrity. There are.
CS3505: DATA LINK LAYER. data link layer  phys. layer subject to errors; not reliable; and only moves information as bits, which alone are not meaningful.
Communication Systems 3.1) Characteristics of a Communication System.
Data Communications & Computer Networks, Second Edition1 Chapter 6 Errors, Error Detection, and Error Control.
Data Link and Flow Control Networks and Protocols Prepared by: TGK First Prepared on: Last Modified on: Quality checked by: Copyright 2009 Asia Pacific.
AS Computing Data transmission. Basic data transmission Baud The rate that the voltage changes is called the Baud. If the voltage changes 10 times every.
FUNDAMENTALS OF NETWORKING
© 2006 EMC Corporation. All rights reserved. The Host Environment Module 2.1.
Unit 1 Lecture 4.
Data and Computer Communications Eighth & Ninth Edition by William Stallings Chapter 6 – Digital Data Communications Techniques.
1 CEG 2400 Fall 2012 Network Servers. 2 Network Servers Critical Network servers – Contain redundant components Power supplies Fans Memory CPU Hard Drives.
Ch. 6 Digital Data Communication Techniques. 6.1Asynchronous & Synchronous Transmission Asynchronous Transmission: transmission in which each information.
Transmission Modes. Asynchronous Connections A type of connection defined at the data link layer To transmit data from sender to receiver, an asynchronous.
Enhanced Availability With RAID CC5493/7493. RAID Redundant Array of Independent Disks RAID is implemented to improve: –IO throughput (speed) and –Availability.
+ PPP Protocol. + Outline WAN Data Link Layer protocols Point-to-point serial communications Transmission Synchronization HDLC.
Data and Computer Communications Digital Data Communications Techniques + Error Control+ Digital Data Communications Techniques + Error Control+Multiplexing.
The OSI Model and the TCP/IP Protocol Suite
DIGITAL DATA COMMUNICATION TECHNIQUES
The OSI Model and the TCP/IP Protocol Suite
RAID RAID Mukesh N Tekwani
DIGITAL DATA COMMUNICATION TECHNIQUES
DIGITAL DATA COMMUNICATION TECHNIQUES
UNIT IV RAID.
Chapter Nine: Data Transmission
Data Communication.
RAID RAID Mukesh N Tekwani April 23, 2019
The OSI Model and the TCP/IP Protocol Suite
1.2.1 Data transmission.
Introduction Communication Modes Transmission Modes
Presentation transcript:

Synchronous & Asynchronous Models in Computing By: James Pauer

What is Asynchronous  What is synchronous?  Greek: prefix; no, absence of, without, lack of, not

Another Way

Basics of Synchronies  Actions occur at specific times and intervals  Measured against a time reference, or a clock signal  Takes time to communicate with the receiver beforehand  Accommodates complex and larger transmissions

Basics of Asynchronies  Each byte holds its own signal bits

Each byte holds it’s own signal bits

Basics of Asynchronies  Each byte holds it’s own signal bits  Responds to another signal  Not governed by a synchronized clock  AKA “best effort”  Simple small transmission  Connect to a modem / network  Point-to-Point Protocol (PPP)  Authentication, encryption, compression  PPPOE

In Computer science  Transmission  Threading  Programming Language  Circuits  Data  Data integrity

In Computer science  Transmission

Transmission (Synchronous)  No start/stop bits  Synchronizes transmission speeds / clocks  Meant for continuous flow of data  High transfer rate  Errors  Clock out of sync, eventually  Bytes arriving at unknown time  Dropped packets/lost bits  Solutions  Re-synchronization  Check digits

Check digit  ISBN 10  ISBN 13  EAN  UPC “ ”  Add odds, multiply by 3  Add evens  Add the two results  Mod 10, minus 10

Transmission (Asynchronous)  Has start/stop bits  Intermittent flow of data  Arbitrary waiting time  Parity  Error detection technique  = check digit

Parity Bits 7 bits of data (number of 1s) 8 bits including parity evenodd (0) (3) (4) (7)  Parity bit - 0 = true 1= false  Zero is even

In Computer science  Transmission  Threading

Synchronous I/O

Synchronous I/O cont.  AKA “blocking I/O”  Problems  Large delay times  The I/O operation completes  An I/O error occurs.  The function CancelSynchronousIO was called, terminating the thread  The blocked thread is terminated by the system; the process itself is terminated

Asynchronous I/O

Asynchronous I/O cont.  Continues to process non I/O related tasks  AKA “non-Blocking I/O” or “overlapped I/O”  Beneficial to:  Backup of a large database  Slow communication links  Optimizes processing efficiency

In Computer science  Transmission  Threading  Programming Language

Programming Languages (Synchronous)  Argos  Atom  Averest  ChucK  Esterel  LabVIEW  LEA  Lustre  PLEXIL  SIGNAL  SOL  SyncCharts

Programming Languages (Synchronous)  Often used for reactive systems  Eg. Flight simulator  AKA “real-time” systems  AKA “Synchronous Reactive Programming (SRP)”  “Logical Ticks”  Sequence of ticks  Computations assumed instantaneous

Programming Languages (Asynchronous)  AJAX (Asynchronous JavaScript and XML)  Support asynchronous methods:  JavaScript  Promises/A  C# / Visual Basic  Await operator  C++  Task class, then  Windows Runtime  Displaying a message dialog  Working with the file system  Sending/receiving data to/from the internet

In Computer science  Transmission  Threading  Programming Language  Circuits

Circuits (Synchronous)  Parts are synchronized  Disadvantages  Larger circuits/clock propagation  Heating/gate switching

Circuits (Asynchronous)  Parts are autonomous  Wait for signals through data transfer protocols  Benefits  Components can run at different speeds  Uses less power  Emits less heat  UART (Universal Asynchronous Receiver Transmitter)  Translates data between parallel and serial

In Computer science  Transmission  Threading  Programming Language  Circuits  Data  Data integrity

Data Integrity  File synchronization  such as syncing a hand-held MP3 player to a desktop computer.  Cluster file systems  which are file systems that maintain data or indexes in a coherent fashion across a whole computing cluster.  Cache coherency  maintaining multiple copies of data in sync across multiple caches.  RAID  where data is written in a redundant fashion across multiple disks, so that the loss of any one disk does not lead to a loss of data.  Database replication, where copies of data on a database are kept in sync, despite possible large geographical separation.  Journaling, a technique to make sure that file metadata are updated on a disk in a coherent, consistent manner.