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
- User Interface Management: Manages user-facing application elements.
- Presentation Services: Ensures data is displayed appropriately to users.
- Syntax Validation: Validates and manages user input.
- Service Consumer: Utilizes server-provided services.
- Application Logic Processing: Conducts local computations and logic executions.
- Extended Capabilities: Enhances features like editing and help functionalities.
- 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
- Client calls a local procedure, which routes through a client-side stub.
- The stub formats parameters and sends a request via the network to the server's stub.
- The server's stub unpacks the request and dispatches it to the appropriate service.
- The server processes the request and sends results back through the stubs.
- 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.
- 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
- Reliance on synchronous communication; unresponsive servers block clients.
- Risk of duplicating requests leading to inconsistent execution.
- Absence of shared memory complicates process communication.
- Static binding of port addresses restricts dynamic changes.
- 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
- Window Management: Controls window interactions for multitasking.
- Support for Virtual Screens: Abstracts physical screens to facilitate application development.
- Enhanced Application Development: Reduces complexity for developers.
- User Prioritization: Users can manage window priorities to optimize productivity.
- 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
- Establishes direct data sharing without file transfers.
- 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.
- 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
- Two services: linking and embedding.
- Viewers for data display and launch methods for application opening.
- 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
- Object Request Broker (ORB): Manages request handling.
- IDL (Interface Definition Language): Defines object interfaces in a language-neutral form.
- Stubs and Skeletons: Proxies for clients and servers to facilitate method invocation.
- Object Adapter: Interface between ORB and implementations.
- Implementation Repository: Stores metadata for server objects.
- 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
- Client initiates requests without knowing server status.
- NOS redirects requests to the appropriate print/fax server.
- 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
- Simplifies SQL usage for client-server model.
- Facilitates cross-platform compatibility allowing database communication across diverse environments.
- Key DBMS features for robust functionality include performance optimization and transaction management.
Security System Services
Key Considerations
- User Authentication strategies ensure only authorized access.
- Data encryption and storage techniques safeguard sensitive information, particularly for mobile users.