ScaLAB seminar 21st October 20021 Intrinsic References in Distributed Systems Presented by: Nimish Pachapurkar.

Slides:



Advertisements
Similar presentations
Distributed Data Processing
Advertisements

COM vs. CORBA.
Dr. Kalpakis CMSC 621, Advanced Operating Systems. Fall 2003 URL: Distributed System Architectures.
Extensible Networking Platform IWAN 2005 Extensible Network Configuration and Communication Framework Todd Sproull and John Lockwood
Service Oriented Architectures in Heterogeneous Environments
A New Computing Paradigm. Overview of Web Services Over 66 percent of respondents to a 2001 InfoWorld magazine poll agreed that "Web services are likely.
JXTA P2P Platform Denny Chen Dai CMPT 771, Spring 08.
JXTA Protocol Introduction Student : Jia-Hui Huang Adviser : Kai-Wei Ke Date : 2005/11/22.
Name Services Jessie Crane CPSC 550. History ARPAnet – experimental computer network (late 1960s) hosts.txt – a file that contained all the information.
1 Improving Web Servers performance Objectives:  Scalable Web server System  Locally distributed architectures  Cluster-based Web systems  Distributed.
JXTA Selo TE Introduction What is JXTA ( pronounced Juxta ) What is JXTA ( pronounced Juxta ) Jxta – an open, network computing platform designed.
An Introduction to Internetworking. Why distributed systems - Share resources (devices & CPU) - Communicate people (by transmitting data)
Hermes: A Distributed Event- Based Middleware Architecture Peter Pietzuch and Jean Bacon 1st DEBS Workshop, Vienna,
Project Jxta Prepared by: Sameh El-Ansary SICS AB.
On-Demand Media Streaming Over the Internet Mohamed M. Hefeeda, Bharat K. Bhargava Presented by Sam Distributed Computing Systems, FTDCS Proceedings.
JXTA Lecture 1.JXTA Overview a) Background to Project JXTA b) Design Constraints c) Terminology d) Overview and Architecture e) Introducing the Concepts.
Middleware for P2P architecture Jikai Yin, Shuai Zhang, Ziwen Zhang.
MobileMAN Kickoff1 Prototype Development Kit & P2P Middleware Proposal Giovanni Turi IIT - CNR Pisa
Sun NFS Distributed File System Presentation by Jeff Graham and David Larsen.
Cli/Serv.: JXTA/151 Client/Server Distributed Systems v Objective –explain JXTA, a support environment for P2P services and applications ,
DEMIGUISE STORAGE An Anonymous File Storage System VIJAY KUMAR RAVI PRAGATHI SEGIREDDY COMP 512.
Sun’s Project JXTA Technical Overview Presented by Sergei Kovalenko Red Team: Janhavi James A. Davis Fernando D. Diaz.
On P2P Collaboration Infrastructures Manfred Hauswirth, Ivana Podnar, Stefan Decker Infrastructure for Collaborative Enterprise, th IEEE International.
Protocol Architectures. Simple Protocol Architecture Not an actual architecture, but a model for how they work Similar to “pseudocode,” used for teaching.
Peer To Peer Applications
Enabling Embedded Systems to access Internet Resources.
1 A P2P Collaborative System Using JXTA Hosei Graduation School ITPC 02R3315 Katsuhiro CHIBA.
Rev PA102/03/20041 Communication Between Peer Wireless Sensor Networks over 2.5G/3G Mobile Networks Srdjan Krco R&D Ericsson Ireland
KEx objectives Supporting distributed and heterogeneous organizations in managing their knowledge processes, by technologically implementing the basic.
JXTA (Juxtapose) Presented By: Anıl Gürsel Mehmet Çatalgöl.
The Anatomy of the Grid Introduction The Nature of Grid Architecture Grid Architecture Description Grid Architecture in Practice Relationships with Other.
14-1 JXTA for J2ME Learning Objectives ● This module will help you... – Learn about the architecture of JXTA for J2ME – Learn the JXTA for J2ME.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
13-1 Monitoring and Metering Learning Objectives ● This module will help you... – Understand the JXTA monitoring and metering functionality – Gain.
1 Peer-to-Peer Technologies Seminar by: Kunal Goswami (05IT6006) School of Information Technology Guided by: Prof. C.R.Mandal, School of Information Technology.
Distributed Computing A Programmer’s Perspective.
Enterprise Integration Patterns CS3300 Fall 2015.
Hwajung Lee.  Interprocess Communication (IPC) is at the heart of distributed computing.  Processes and Threads  Process is the execution of a program.
JXTAJXTA By Fawaz AlSulaiman
S imple O bject A ccess P rotocol Karthikeyan Chandrasekaran & Nandakumar Padmanabhan.
Kemal Baykal Rasim Ismayilov
Information-Centric Networks10b-1 Week 10 / Paper 2 Hermes: a distributed event-based middleware architecture –P.R. Pietzuch, J.M. Bacon –ICDCS 2002 Workshops.
18-1 Summary (Day 2) Learning Summary – What is JXTA ? – Understand the fundamental concepts of JXTA – Learn about the various implementations of.
Lecture 4 Mechanisms & Kernel for NOSs. Mechanisms for Network Operating Systems  Network operating systems provide three basic mechanisms that support.
6-1 How to Write JXTA Applications. 6-1 Learning Objectives ● This module will help you... – Gain familiarity with guidelines and design conventions that.
An Efficient Implementation of File Sharing Systems on the Basis of WiMAX and Wi-Fi Jingyuan Li, Liusheng Huang, Weijia Jia, Mingjun Xiao and Peng Du Joint.
Distributed Computing & Embedded Systems Chapter 4: Remote Method Invocation Dr. Umair Ali Khan.
Project JXTA Kaarthik Sivashanmugam. JXTA..? JXTA is a set of open, generalized peer-to-peer (P2P) protocols that allow any connected device on the network.
1 UNIT 13 The World Wide Web. Introduction 2 The World Wide Web: ▫ Commonly referred to as WWW or the Web. ▫ Is a service on the Internet. It consists.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
Seminar On Rain Technology
4WARD Networking of Information 4WARD WP6. © 4WARD Consortium Confidential Networking of Information Telephony Interconnecting wires 4WARD Future Internet.
18-1 PRENTICE HALL ©2008 Pearson Education, Inc. Upper Saddle River, NJ FORENSIC SCIENCE An Introduction By Richard Saferstein.
(class #2) CLICK TO CONTINUE done by T Batchelor.
DISTRIBUTED FILE SYSTEM- ENHANCEMENT AND FURTHER DEVELOPMENT BY:- PALLAWI(10BIT0033)
Last Class: Introduction
Peer-to-peer networking
Processes The most important processes used in Web-based systems and their internal organization.
Sharon Chisholm Netconf Phase 2 Musing Sharon Chisholm
Distributed Publish/Subscribe Network
Unit# 5: Internet and Worldwide Web
IPFS: Interplanetary File Systems
Indirect Communication Paradigms (or Messaging Methods)
Indirect Communication Paradigms (or Messaging Methods)
The Anatomy and The Physiology of the Grid
An Introduction to Internetworking
The Anatomy and The Physiology of the Grid
InfoShare A Distributed P2P Information Storage & Retrieval System
A Semantic Peer-to-Peer Overlay for Web Services Discovery
The Internet and Electronic mail
Presentation transcript:

ScaLAB seminar 21st October Intrinsic References in Distributed Systems Presented by: Nimish Pachapurkar

ScaLAB seminar 21st October Snapshot: To contrast and compare Intrinsic References with Physical References. Storage and Retrieval mechanism using intrinsic references : Elephant Store Use of intrinsic references in Hierarchical data structures Terminology: Collision resistance: Extremely difficult to find two sequences with same hash. Implies that hash is unique (sufficiently so…) One-way hash: Given a hash of a sequence it is difficult to reconstruct the sequence. Reference => Hash AND Referent => byte sequence (ex. Memory addresses and data, URLs and web pages etc.)

ScaLAB seminar 21st October Physical References – Relationship between reference and referent is defined by state of the physical system. Change in the state changes the referent. All accesses to referent have to be through the system. Bottleneck and potential failure point Intrinsic References - Collision resistant (unique) and one-way hash value State Independence: The relationship between S and R depends only on the hash function. Uniqueness: A given R refers only to a particular S from which it was obtained. Physical storage is still required to store/retrieve the referents.

ScaLAB seminar 21st October Intrinsic References and Distributed Storage – Useful for Distributed, replicated storage mechanism. No reference-referent inconsistency (hash gives the reference) Simple hashing can check for the correctness of the data Opaque Storage – Used for storing an instance of a data structure in Elephant Store Serialize the data structure, store the byte sequence. Called OPAQUE representation as data structure is hidden behind the byte sequence. Hash of the sequence is the reference (digest). Retrieval: Retrieve the byte sequence from store, de-serialize Opaque Reference (Hash digest) Data Structure Serialization (makes the structure opaque)

ScaLAB seminar 21st October HDAGs – Hash based Acyclic Directed Graph. Nodes are directories arcs are directory – sub-directory relationships. Root digest of a rooted HDAG is used as intrinsic reference to the whole HDAG. Application: Can be used to represent a file system or mail system. Root digest uniquely represents the state of whole directory structure and not just the root directory

ScaLAB seminar 21st October Versions and Change (Problems with OR) – For a file system, example of Opaque representation is a tarball of the directory structure. Change in any file will cause the opaque representation to change. Hash digest also changes. There is no relationship between the old and new representations. Solution: Use HDAGs Adding a file to a directory is same as a new mail in Inbox. The representation of all other files & directories is not changed. Efficient than Opaque Rep. Saves communication cost among replicas for distributed storages.

ScaLAB seminar 21st October Advantages of HDAGs – Efficient for Distributed systems (version management) Every version is represented by a unique intrinsic reference which is independent of physical system. Replication and caching will never lead to inconsistencies Two versions of an object are represented by sharing majority of the storage and communication costs. Conclusions – HDAGs promise to be a useful mechanism for building and maintaining distributed storage systems.

ScaLAB seminar 21st October OS Support for P2P Programming: a Case for TPS Presented by: Nimish Pachapurkar

ScaLAB seminar 21st October Introduction – Need for RPC-like interaction mechanism for P2P infrastructures Must be decoupled Anonymous and asynchronous Layers over RPC would certainly hamper performance Type based Publish/Subscribe as a candidate Abstraction of low-level P2P library – JXTA What’s in the paper: Comparison of the implementation of TPS with pure JXTA A “first” experience Design and source code of applications

ScaLAB seminar 21st October JXTA Three layers Core Layer: Several protocols ensuring basic communication between peers, message routing or peer group creation Service Layer: Ready-made services such as content management system and wire service Application Layer: All the code written by the programmer Six concepts: ID: for any resource (peer, pipe, peergroup, codat) Peer: Any device with an electronic pulse (normal and special) Rendez-vous and routers Pipe: Virtual communication channel – asynchronous and uni- directional (wire for many-to-many) – independent of IP PeerGroup: Collection of peers Advertisement: XML msg with information about new resource Message: Any kind of communication (using XML)

ScaLAB seminar 21st October Protocols for JXTA – PDP – Peer Discovery Protocol Allows different peers to find each other PRP - Peer Resolver Protocol Just above the transport layer, dispatches JXTA message to right service PIP – Peer Information Protocol Know the status of a peer. (time the peer was up, channels available) PMP – Peer Membership Protocol Obtain group membership requirements information (credentials, password, etc.) PBP – Peer Binding Protocol Keeps different peers in a pipe bound together (even when they move) ERP – Endpoint Routing Protocol For routing messages between the peers Enables communication between 2 peers even when they do not know how to connect to each other (due to Firewall etc.)

ScaLAB seminar 21st October TPS over JXTA – Publish/Subscribe paradigm Time decoupling: Publisher and Subscriber do not need to be up at the same time Space decoupling: Publisher and Subscriber do not need to know each other Flow decoupling: Sending or receiving of messages do not block the participants. This decoupling suits the server-less architectures. Subscription based on Subject and Content Type-based: Subject => Event object type Content => State of instance of that type Type safety Subscriber knows event type in advance

ScaLAB seminar 21st October Example – Ski renting application Need to find ski rentals with reasonable rates Must surf the net for a long time Alternative: Use the TPS based P2P infrastructure Subscribe to ski-rental type and wait for answers Publisher: (A new shop is opened) Search launched for ski-rental advertisement If not found, a new one is created Programming phases –

ScaLAB seminar 21st October Performance – Invocation time Time for sendMessage() Publisher produces 50 evts JXTA-WIRE is quicker No difference between SR-JXTA and SR-TPS Throughput: Similar trends! Conclusion- TPS is a viable alternative abstraction to RPC for future Internet- wide Operating Systems to support P2P applications Simple to use, type-safe, preserves decoupled nature of P2P. Makes programming easier than with pure JXTA.