Study Notes for Module 3: Client-Services and Remote Services

Module 3: Client-Services and Remote Services

Client Services

  • Client workstations are designed for single-user applications, showing significant performance enhancements due to advances in technology.   - Modern CPUs, memory, and hard drives allow the use of sophisticated applications at comparable costs.   - Operating systems utilized by clients include:     - Windows     - UNIX/Linux     - Mac OS     - OS/2   - These systems take advantage of networking through LAN/WAN to extend capabilities.
Client-Server Model
  • Definition: A computing model where clients request services or resources from servers.
  • Client workstations communicate application requests to servers, facilitated by network operating systems.
  • Inter-Process Communication (IPC) allows seamless communication between various processes, whether on local or networked systems.
Key Client Roles
  1. User Interface Management: Manages user-facing application elements.
  2. Presentation Services: Ensures data is displayed appropriately to users.
  3. Syntax Validation: Validates and manages user input.
  4. Service Consumer: Utilizes server-provided services.
  5. Application Logic Processing: Conducts local computations and logic executions.
  6. Extended Capabilities: Enhances features like editing and help functionalities.
  7. Database Interaction: Sends requests to databases and processes responses.
Additional Services
  • Clients can offer functions such as:   - Inter-Process Communication (IPC)   - Remote and Window Services   - Dynamic Data Exchange (DDE)   - Object Linking and Embedding (OLE)   - Common Object Request Broker Architecture (CORBA)   - Print/Fax Services   - Database Services

Inter-Process Communication (IPC)

Key IPC Mechanisms
  • IPC methods enhance communication between processes and include:   1. Message Passing   2. Direct Communication   3. Indirect Communication   4. Remote Procedures Call (RPC)
Message Passing
  • Definition: A communication method where processes exchange information through messages.
  • Significant when processes are distributed across different address spaces.
  • Types of Message Passing:   - Synchronous Message Passing: The sender is blocked until the message is acknowledged by the receiver.   - Asynchronous Message Passing: The sender continues execution without waiting for acknowledgment from the receiver.
  • Message Types:   - Fixed: Messages with predefined structures.   - Variable: Messages with adaptable formats or lengths.
Direct Communication
  • Requires processes to identify sender and recipient names during communication.
  • Characteristics include:   - A link is formed between sender and receiver with known identities.   - Symmetrical communication.
Indirect Communication
  • Messages are sent to a mailbox, akin to a postal service, where they can be retrieved later.
  • Features include:   - Links created by shared mailboxes among processes.   - Support for multiple processing links.
RPC (Remote Procedure Call)
  • Definition: A technique that allows executing procedures on remote servers as if local, hiding the complexity of the network.
  • Key Concepts and Features:   - Utilizes the client-server model where clients request services from servers.   - Binding: Establishes connections, identifying remote services through program, version, and procedure numbers.   - Abstraction of Network Details: Simplifies execution by isolating complexities from users via stubs.
How RPC Works
  1. Client calls a local procedure, which routes through a client-side stub.
  2. The stub formats parameters and sends a request via the network to the server's stub.
  3. The server's stub unpacks the request and dispatches it to the appropriate service.
  4. The server processes the request and sends results back through the stubs.
  5. The client receives results and continues as if from a local call.
Procedure Identification
  • Unique identification of remote procedures using:   - Program number: Groups remote procedures.   - Version number: Supports multiple versions for backward compatibility.   - Procedure number: Identifies the specific remote procedure to invoke.
Benefits of RPC
  • Transparency: Users interface without needing to distinguish local from remote calls.
  • Transport Independence: Supports various communication protocols seamlessly.
  • Programming Efficiency: Focuses on application logic, abstracting network complexities.
Tools and Techniques Involved in RPC
  • Language Compiler: Generates adaptable code for client and server from high-level programming languages.
  • Run-time Facilities: Manage network communication processes efficiently.
Limitations of RPC
  1. Reliance on synchronous communication; unresponsive servers block clients.
  2. Risk of duplicating requests leading to inconsistent execution.
  3. Absence of shared memory complicates process communication.
  4. Static binding of port addresses restricts dynamic changes.
  5. Dynamic binding complexity introduces overhead in setting up RPC calls.

Remote Services

Overview
  • Remote services enable client applications to communicate and operate on servers across distance, crucial for distributed computing.
  • Primary remote services functionalities include:   1. Remote Login: User access to remote server resources.   2. Remote Command Execution: Running programs on another machine.   3. Remote Backup Services: Transfers data from clients to servers for safety.   4. Remote Tape Drive Access: Accessing tape drives for data management.   5. Remote Boot Services: Booting workstations without local storage using E-PROM.   6. Remote Data Access (RDA): Interaction with databases across different servers.

Window Services

  • Window services in client-server environments manage user application interactions, improving usability and development.
Key Features and Benefits
  1. Window Management: Controls window interactions for multitasking.
  2. Support for Virtual Screens: Abstracts physical screens to facilitate application development.
  3. Enhanced Application Development: Reduces complexity for developers.
  4. User Prioritization: Users can manage window priorities to optimize productivity.
  5. Notification Services: Alerts users of server events through pop-ups, enhancing situational awareness.

Dynamic Data Exchange (DDE)

Definition
  • DDE is a communication structure for two applications to dynamically share and update data.
DDE Operation
  1. Establishes direct data sharing without file transfers.
  2. Methods for link creation include:    - Paste Link: Simplest method linking data from one application to another.    - Direct Commands: Setting up connections without clipboard actions.    - Macro Languages: Automates link creation in supporting applications.
  3. Data transfer can be automatic or manual based on the user’s command.

Object Linking and Embedding (OLE)

Overview
  • OLE enables seamless data integration between applications, evolving from DDE.
Features
  1. Two services: linking and embedding.
  2. Viewers for data display and launch methods for application opening.
  3. Simplifies integration via menu commands.

Common Object Request Broker Architecture (CORBA)

Definition
  • CORBA is a standardized framework facilitating distributed object communication across diverse programming languages and platforms.
Architecture Components
  1. Object Request Broker (ORB): Manages request handling.
  2. IDL (Interface Definition Language): Defines object interfaces in a language-neutral form.
  3. Stubs and Skeletons: Proxies for clients and servers to facilitate method invocation.
  4. Object Adapter: Interface between ORB and implementations.
  5. Implementation Repository: Stores metadata for server objects.
  6. CORBA Services: Offers standards for naming, events, transactions, and security in distributed systems.
Features and Applications
  • Enhances interoperability, extensibility, and scalability across various systems in enterprise environments.

Print/Fax Services

Overview
  • Efficiently manages client send requests for printing and faxing through centralized servers.
Features
  1. Client initiates requests without knowing server status.
  2. NOS redirects requests to the appropriate print/fax server.
  3. Queue management allows users to monitor request statuses and receive job completion notifications.

Database Services

Overview
  • Integrates client requests for data management using SQL as the industry standard.
Workflow and Advantages
  1. Simplifies SQL usage for client-server model.
  2. Facilitates cross-platform compatibility allowing database communication across diverse environments.
  3. Key DBMS features for robust functionality include performance optimization and transaction management.

Security System Services

Key Considerations
  1. User Authentication strategies ensure only authorized access.
  2. Data encryption and storage techniques safeguard sensitive information, particularly for mobile users.