Bina Ramamurthy Chapter 9

Slides:



Advertisements
Similar presentations
TU/e Service Discovery Mechanisms: two case studies / IC2002 Service Discovery Mechanisms: Two case studies Control point Device UPnP Terminal Domain Host.
Advertisements

Distributed Web Systems Name Services Lecturer Department University.
JINI Shashwat Shriparv InfinitySoft.
THE JINI TECHNOLOGY Alessio Zumbo
Name Services Johanna Hultin Carina Höglund. Name services Introduction General Terms Name Services Name Space Name Resolution Caching.
Notes to the presenter. I would like to thank Jim Waldo, Jon Bostrom, and Dennis Govoni. They helped me put this presentation together for the field.
Name Services Jessie Crane CPSC 550. History ARPAnet – experimental computer network (late 1960s) hosts.txt – a file that contained all the information.
Distributed Service Architectures Yitao Duan 03/19/2002.
October 2003 Iosif Legrand Iosif Legrand California Institute of Technology.
Systems Architecture, Fourth Edition1 Internet and Distributed Application Services Chapter 13.
2 Systems Architecture, Fifth Edition Chapter Goals Describe client/server and multi-tier application architecture and discuss their advantages compared.
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 7: Planning a DNS Strategy.
Distributed Computing COEN 317 DC2: Naming, part 1.
NAME SERVICES. Names and addresses File names /etc/passwd URLS Internet domain names—dcs.qmw.ac.uk Identifiers- ROR, NFS.
Ch-9: NAME SERVICES By Srinivasa R. Gudipati. To be discussed.. Fundamentals of Naming Services Naming Resolution The Domain Name System (DNS) Directory.
Presented by Mark Miyashita
Introduction - What is Jini Technology?
5.1 Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED.
Distributed Computing COEN 317 DC2: Naming, part 1.
Java Naming and Directory Interfaces. A naming service is an entity that performs the following tasks:  It associates names with objects. Similar to.
Advanced Computer Networks Topic 2: Characterization of Distributed Systems.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
Jini Architecture Introduction System Overview An Example.
Jini Architectural Overview Li Ping
© Chinese University, CSE Dept. Distributed Systems / Distributed Systems Topic 1: Characterization of Distributed & Mobile Systems Dr. Michael R.
PPDG February 2002 Iosif Legrand Monitoring systems requirements, Prototype tools and integration with other services Iosif Legrand California Institute.
Enterprise Computing with Jini Technology Mark Stang and Stephen Whinston Jan / Feb 2001, IT Pro presented by Alex Kotchnev.
Lecture 9: Name and Directory Servers CDK4: Chapter 9 CDK5: Chapter 13 TVS: Chapter 5.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
Distributed Web Systems Distributed Objects and Remote Method Invocation Lecturer Department University.
1 Distributed Systems Architectures Distributed object architectures Reference: ©Ian Sommerville 2000 Software Engineering, 6th edition.
Internet and Distributed Application Services
Understand Names Resolution
Last Class: Introduction
Module 8: Networking Services
Distributed Computing
IMPLEMENTING NAME RESOLUTION USING DNS
Remote Method Invocation
Network Load Balancing
Distribution and components
CHAPTER 3 Architectures for Distributed Systems
Working at a Small-to-Medium Business or ISP – Chapter 7
Client-Server Interaction
Working at a Small-to-Medium Business or ISP – Chapter 7
Lecture 7: Name and Directory Servers
Knowledge Byte In this section, you will learn about:
Programming Models for Distributed Application
Lecture 7: Name and Directory Servers
Working at a Small-to-Medium Business or ISP – Chapter 7
Operating Systems Bina Ramamurthy CSE421 11/27/2018 B.Ramamurthy.
Distributed Systems Bina Ramamurthy 11/30/2018 B.Ramamurthy.
Distributed Systems Bina Ramamurthy 12/2/2018 B.Ramamurthy.
Lecture 8: Name and Directory Servers
Architectures of distributed systems Fundamental Models
Distributed Systems CS
Distributed Systems CS
An Introduction of Jini Technology
Architectures of distributed systems Fundamental Models
Bina Ramamurthy Chapter 9
Bina Ramamurthy Chapter 9
Creating a Distributed System with Remote Procedure Calls and Web Services Ch.5 B.Ramamurthy 2/17/2019 B.Ramamurthy.
Remote Method Invocation
JINI ICS 243F- Distributed Systems Middleware, Spring 2001
Architectures of distributed systems
Ch 17 - Binding Protocol Addresses
Architectures of distributed systems Fundamental Models
CORBA Programming B.Ramamurthy Chapter 3 5/2/2019.
Chapter-2-NameServices
Name Services Bina Ramamurthy 5/18/2019 B.Ramamurthy.
Jini B.Ramamurthy 5/15/2019 B.Ramamurthy.
Presentation transcript:

Bina Ramamurthy Chapter 9 Name Services Bina Ramamurthy Chapter 9 1/1/2019

Introduction You need to name an entity in order to use it. If you don’t have a name or don’t know a name you should be able to describe its characteristics in order to identify it. According to these two requirements we have two services: Naming service Directory service 1/1/2019

Naming Service Given the name of a resource returns the information about the resource. For example consider the white pages: given the name of a person you get the address/telephone number of that person. Other examples: LDAP (Lightweight Directory Access Protocol) a person on UB computers gives you information about the person’s email, campus address, phone number, position held etc. 1/1/2019

Directory Service Given a description, find a service or resource that matches the description. For example consider the yellow pages: when you want to rent a car, it may give a list of car rental agencies. 1/1/2019

Names, Attributes and Addresses Names: human readable names such as /etc/passwd, URLs such as http://www.cd3.net/ An address is an attribute of a name. Ex: castor is the name, its address is 128.205.34.1 Identifiers: refer to names that are interpreted by programs. Examples: remote object reference, NFS file handles. Name Resolution: a name is resolved when it is translated into data about the name’s resource or object. 1/1/2019

Names, Attributes and Addresses Binding: association between a name and an object. In general, names are bound to the attributes of the object rather than an implementation of an object. Attribute: Value or property of an object. Names and services: many of the names are specific to some services. URL: principle means of identifying web resources 1/1/2019

Some Familiar Naming Services DNS: maps domain names to the attributes of a host computer. X500 maps person’s name to personal information. CORBA naming service maps a name to remote object reference. 1/1/2019

Example Name: HelloService http://gagarin.cse.edu:14566/WSHello/WSInteraction.html URL Resource ID (IP number, port number, pathname) Network address 128.205.36.65 file Web server 55.55.55.55 WSHello/WSInteraction.html 14566 DNS lookup Socket 1/1/2019

Name Service A name service stores a collection of one or more naming contexts – set of bindings between names and attributes for objects such as users, computers, services and remote objects. Name Management is separated from other services because of the openness of the distributed system. Requirements: Unification (EX: URLs, uniform names, UUID) Integration: Share resources for resolving names. Handle arbitrary number of names and domains Long lifetime, High Availability, Fault isolation, Tolerance of mistrust 1/1/2019

NameSpaces Namespace: is a collection of all valid names recognized by a particular service (context). Requires syntactic definition. Can be flat or hierarchical: Hierarchical is scalable and reusable and can be managed separately. May provide aliases for names. Can be broken down into domains. 1/1/2019

Name Resolution Is a repetitive process in which a name is presented successively to naming contexts until its context is located or not locatable. When a context contains the name its attributes are returned. Navigation among the contexts can be iterative or recursive as shown in the next slides. 1/1/2019

Figure 9.2 Name Resolution: Iterative navigation Client 1 2 3 A client iteratively contacts name servers NS1–NS3 in order to resolve a name NS2 NS1 NS3 Name servers 1/1/2019

Figure 9.3 Non-recursive and recursive server-controlled navigation 1 2 3 5 4 A name server NS1 communicates with other name servers on behalf of a client client Recursive server-controlled NS2 NS1 NS3 Non-recursive Navigation: Process of locating naming data from among more than one Name server in order to resolve a name. (iterative or multicast navigation) 1/1/2019

Directory Services A more powerful service than naming where you look up for names using the attributes than the other way. Clients can Lookup for services by providing their attributes rather the name. A discovery service provides registry and lookup for spontaneous networking. Registry is used by server to publish a service and lookup is used by a client to locate a service. 1/1/2019

Jini: A case study Jini (Jini Is Not Initials) is Java’s solution to providing connectivity to services and devices. It is network-centric computing model as opposed to network-transparent model offered by CORBA and other earlier distributed system models. Software infrastructure that includes devices must be incredibly robust. The devices have to support true “plug and play”. Devices and services should form spontaneous communities. 1/1/2019

Jini and Name Servers Jini does serves the functionality of a name server. But it is much more than that. Jini differs from names servers such as LDAP (Light Weight Directory Access Protocol) or DNS (Domain Name Service) in two aspects: Services can appear and disappear without much overhead. Interested parties can be notified when a service changes. Jini is self-healing. It accepts partial failures and has mechanisms for taking care of this. 1/1/2019

Five Key Concepts 1. Discovery 2. Lookup 3. Leasing 4. Remote Events 5. Transactions 1/1/2019

Jini Services/Devices Service providers in Jini can be: 1. Pure software component 2. Pure hardware device 3. Combination of the two For obvious reasons we will consider only software services. 1/1/2019

Discovery and Lookup Discovery is Jini service that finds communities on the network to join to form a spontaneous “federation”. It basically searches and locates lookup services of communities. Lookup service has the details of services, their location, code, attributes etc. 1/1/2019

Leasing Leasing is the technique that provides the self-healing characteristic of Jini. Every service provider keeps renewing its lease with the holder of the services (probably a lookup service) periodically. If it fails to update lease the service will be deleted from the community. This automatically removes failed or crashed server from the network thus carrying out the self-healing. 1/1/2019

Jini Structure Other Services Javaspaces Lookup Jini Discovery Remote Method Invocation (RMI) Java Virtual Machine (JVM) OS and Hardware 1/1/2019

Discovery To find and join a group of Jini services Sends out multicast packet and unicast packet Receives RMI reference to a lookup service where the requested service may be found. 1/1/2019

Lookup Repository of available services. Stores proxy of object and its attributes. Proxy can be thin or fat. Lookup interface: Registration, Access, Search, Removal Note: Best way to study a service is through its interfaces. 1/1/2019

Summary We studies the essential features of a Name Service. We also looked at some existing name servers. Jini extends the concepts of a simple name service to build a spontaneous networking distributed system model. Think about: How will you build a sophisticated name service using the common name service and the web services infrastructure? 1/1/2019