GL TRADE Internal Use Only GL Stream Server Module Notification Sequence Diagram December 12th, 2007.

Slides:



Advertisements
Similar presentations
Introduction to Sockets Jan Why do we need sockets? Provides an abstraction for interprocess communication.
Advertisements

MX250 Power on and off, Console Mode. January 2004 Page 2 Power Supply MX250 has ac and dc inputs –ac 100 to 240 V, 5A, 50 to 60 Hz –dc –48 V, 6A –worldwide.
CISCO NETWORKING ACADEMY PROGRAM (CNAP)
1 TCP - Part I Relates to Lab 5. First module on TCP which covers packet format, data transfer, and connection management.
Sockets For Servers Instructors: Fu-Chiung Cheng ( 鄭福炯 ) Associate Professor Computer Science & Engineering Tatung University.
Introduction to MySQL Administration.  Server startup and shutdown ◦ How to manually start and stop it from the command line ◦ How to arrange an automated.
Tzu-Han Wu Yi-Chi Chiang Han-Yang Ou
Group Communications Group communication: one source process sending a message to a group of processes: Destination is a group rather than a single process.
A CHAT CLIENT-SERVER MODULE IN JAVA BY MAHTAB M HUSSAIN MAYANK MOHAN ISE 582 FALL 2003 PROJECT.
Computer Science Lecture 11, page 1 CS677: Distributed OS Last Class: Clock Synchronization Logical clocks Vector clocks Global state.
VoIP on a Wireless LAN Orly Goren Tomer Shiran Lior Nir.
Reliable Networking Systems The goals: Implement a reliable network application of a file sharing network. Implement a reliable network application of.
Scuola Superiore Sant’Anna Project Assignments Operating Systems.
Experiment: Step by Step Author: Anna Bekkerman
Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.
Reliable Networking Systems Software Systems Laboratory Presented by : Iliya Golub Galina Sagdeev Supervisor : Yonatan Kaspi.
1 CCNA 2 v3.1 Module Intermediate TCP/IP CCNA 2 Module 10.
WXES2106 Network Technology Semester /2005 Chapter 8 Intermediate TCP CCNA2: Module 10.
An Introduction to Internetworking. Algorithm for client-server communication with UDP (connectionless) A SERVER A CLIENT Create a server-socket (listener)and.
Universal Plug and Play (UPnP) Presented by: Kamal Kamal Kamal Kamal Mohammad Atieh Mohammad Atieh.
VSP Video Station Protocol Presented by : Mittelman Dana Ben-Hamo Revital Ariel Tal Instructor : Sela Guy Presented by : Mittelman Dana Ben-Hamo Revital.
Fundamentals of Python: From First Programs Through Data Structures
Distributed Computing Overviews. Agenda What is distributed computing Why distributed computing Common Architecture Best Practice Case study –Condor –Hadoop.
Common Services in a network Server : provide services Type of Services (= type of servers) –file servers –print servers –application servers –domain servers.
DEMIGUISE STORAGE An Anonymous File Storage System VIJAY KUMAR RAVI PRAGATHI SEGIREDDY COMP 512.
Oracle10g RAC Service Architecture Overview of Real Application Cluster Ready Services, Nodeapps, and User Defined Services.
1 CMPT 471 Networking II DHCP Failover and multiple servers © Janice Regan,
Discovery Flow 18 September 2014.
ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 26.
7/26/ Design and Implementation of a Simple Totally-Ordered Reliable Multicast Protocol in Java.
Module 7: Resolving NetBIOS Names by Using Windows Internet Name Service (WINS)
Cisco 3 - Switch Perrine. J Page 15/26/2016 Chapter 6 What does microsegmentation with switches do? 1.It creates additional broadcast domains 2.It decreases.
A Brief Documentation.  Provides basic information about connection, server, and client.
OS2014 PROJECT 2 Supplemental Information. Outline Sequence Diagram of Project 2 Kernel Modules Kernel Sockets Work Queues Synchronization.
Synchronization Methods in Message Passing Model.
Middleware Services. Functions of Middleware Encapsulation Protection Concurrent processing Communication Scheduling.
Processes CSCI 4534 Chapter 4. Introduction Early computer systems allowed one program to be executed at a time –The program had complete control of the.
The Process Manager in the ATLAS DAQ System G. Avolio, M. Dobson, G. Lehmann Miotto, M. Wiesmann (CERN)
The Module Road Map Assignment 1 Road Map We will look at… Internet / World Wide Web Aspects of their operation The role of clients and servers ASPX.
University of the Western Cape Chapter 13: - The Session Layer The session layer (Layer 5) establishes, manages, and terminates sessions between applications.
ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 5.
MIS 3200 – Unit 3.2 Page_Load method AutoPostBack property of controls IsPostBack method of the Page object Understanding web page life cycle.
Computer Network Architecture Lecture 6: OSI Model Layers Examples 1 20/12/2012.
By Nitin Bahadur Gokul Nadathur Department of Computer Sciences University of Wisconsin-Madison Spring 2000.
Master replica route IpLocalProcess instance representing A (LPA) IpRemoteProcess instance representing A (RPA) Process A Process B Properties are transferred.
© 2002, Cisco Systems, Inc. All rights reserved..
ZOOKEEPER. CONTENTS ZooKeeper Overview ZooKeeper Basics ZooKeeper Architecture Getting Started with ZooKeeper.
ZeroMQ Chapter 4 Reliable Request-Reply Patterns
1 K. Salah Application Layer Module K. Salah Network layer duties.
Represented BY:- Allauddin Ahmad.  What it is?  OSI model.  History.  Objectives.  Encapsulation and decapsulation.  Multiplexing and demultiplexing.
State Diagrams Andrew Hoos Derek Swager. Server State Diagram Displaying (Single) Waiting (Single) Single Connecting Ready Send Question Receive Answer.
SOCKET PROGRAMMING Presented By : Divya Sharma.
Fast Retransmit For sliding windows flow control we waited for a timer to expire before beginning retransmission of a packet TCP uses an additional mechanism.
Apartments and COM Threading Models
#01 Client/Server Computing
Replication Middleware for Cloud Based Storage Service
Precept 2: TCP Congestion Control Review
Implementation CAN Communication Engine
GARRETT SINGLETARY.
Remote Procedure Call (RPC)
Multiple Processor Systems
Time Gathering Systems Secure Data Collection for IBM System i Server
TA: Donghyun (David) Kim
An Introduction to Internetworking
SCHub Sequence Diagrams
Overview Multimedia: The Role of WINS in the Network Infrastructure
Message Passing Systems Version 2
#01 Client/Server Computing
Message Passing Systems
Presentation transcript:

GL TRADE Internal Use Only GL Stream Server Module Notification Sequence Diagram December 12th, 2007

GL TRADE Internal Use Only 2 GLStream Module Notification Sequence Diagram ModuleServer / Satellite constructor() hasBeenLoaded() hasBeenRegistered() Module Instantiation Module Configuration All queues and stubs should have been created Module configuration file is available Queues and stubs can be created Module Initialisation Queues can be opened Module should get ready to be connected hasBeenConnected() Module Launch Module is connected to the master GLStream Server All local queues and stubs have been properly registered Recovery should be launched if needed willShutdown() false willShutdown() false willShutdown() true willTerminate() Module Shutdown Module Termination Messages can still be posted to queues Module should tell when it is ready to be stopped Messages cannot be posted destructor() Module should get ready to be destroyed Module Destruction Loading All available modules libraries are loaded All module objects are instantiated Configuration All modules are configured If one of them fails, the host stops Queues and stubs are locally registered Initialisation All modules are initialised If one of them fails, the host stops All modules are notified of the connection Connection The satellite connects to the server Launch Running The GLStream Server / Satellite is running Shutdown All modules are asked to stop Until all modules are ok to stop Or until a timeout expires Termination All modules are notified of the termination Destruction All modules are destroyed If one of them fails, the host stops Timers are stopped The server becomes master

GL TRADE Internal Use Only GL Stream Server Backup Network Architecture February 22nd, 2007

GL TRADE Internal Use Only 4 MASTER SERVER SLAVE SATELLITE #1 SLAVE SERVER MODULE A MODULE C Master GLStream SystemSlave GLStream System When the Slave Satellite #1 connects to the Slave Server, it sends the list of its modules. In its turn, the Slave Server sends to Master Server the physical locations of all of the slave modules. MODULE B MODULE D MODULE A MASTER SATELLITE #2 MODULE C MODULE D MASTER SATELLITE #1 MODULE B VIEW The Master Server then creates a view with all the slave module locations. The View is replicated on all hosts of the Master system. With the view, Master Modules can then find out the physical location of their peer in the Slave system. Backup Architecture

GL TRADE Internal Use Only 5 MASTER SERVER SLAVE SATELLITE #1 SLAVE SERVER MODULE A MODULE C Master GLStream SystemSlave GLStream System Module D opens a file to be backed up. By using the view, the Master Satellite #2 then finds out that the slave module D is on Slave Satellite #1. MODULE B MODULE D MODULE A MASTER SATELLITE #2 MODULE C MODULE D MASTER SATELLITE #1 MODULE B VIEW Over that connection, the Master Satellite #2 requests the Slave Satellite #1 to open the backup file. File Backup Network Architecture The Master Satellite #2 then opens a direct TCP connection to the Slave Satellite #1. The image of the master file is then replicated on the Slave Satellite #1. Any update on the master file is sent to the Slave Satellite which applies them on the slave file.

GL TRADE Internal Use Only GL Stream Server Backup Network Sequence Diagram February 23rd, 2007

GL TRADE Internal Use Only 7 Slave Host File Backup Network Sequence Diagram Master Host Open Backup File Rename Backup File Create New Backup File Unsynchronize File Open Successful Read Page #1 Page #1 Read Page #2 Page #2 Write Page #1 Page #1 Successful Read Page #3 Page #3 Write Page #2 Write Page #3 Page #2 Successful Read Page #4 Page #4 (last page) Page #3 Successful Write Page #4 Synchronize File Page #4 Successful Data Update Open OPENING SYNCHRONIZING UPDATING

GL TRADE Internal Use Only 8 open() File Backup Logical Sequence Diagram - Opening getSlaveHostId() STCDatabaseFileSTCHost send(OPEN BACKUP) createChannel() new() configure() launch() connection openBackup() slaveSucceeded() OPEN BACKUP SUCCESS OPEN openBackup() send(SUCCESS OPEN) MASTER HOST Entering into the Synchronization Procedure STCNetSTCNetChannel STCDatabaseFileSTCHost SLAVE HOST Main Application Thread Socket Reading Thread Socket Writing Thread

GL TRADE Internal Use Only 9 File Backup Logical Sequence Diagram - Synchronizing STCDatabaseFileSTCNetChannel STCHost SUCCESS OPEN slaveSucceeded() send(PAGE #1) send(PAGE #2) PAGE #1 process(PAGE #1) writeData() send(SUCCESS PAGE #1) SUCCESS PAGE #1 STCDatabaseFile PAGE #2 process(PAGE #2) writeData() send(SUCCESS PAGE #2) slaveSucceeded() send(PAGE #3) SUCCESS PAGE #2 slaveSucceeded() send(LAST PAGE #4) PAGE #3 process(PAGE #3) writeData() send(SUCCESS PAGE #3) SUCCESS PAGE #3 slaveSucceeded() LAST PAGE #4 process(LAST PAGE #4) writeData() send(SUCCESS PAGE #4) setSynchronized() SUCCESS PAGE #4 slaveSucceeded() MASTER HOST SLAVE HOST