
- Operating System Tutorial
- OS - Home
- OS - Overview
- OS - Components
- OS - Types
- OS - Services
- OS - Properties
- OS - Processes
- OS - Process Scheduling
- OS - Scheduling algorithms
- OS - Multi-threading
- OS - Memory Management
- OS - Virtual Memory
- OS - I/O Hardware
- OS - I/O Software
- OS - File System
- OS - Security
- OS - Linux
- OS - Exams Questions with Answers
- OS - Exams Questions with Answers
- Operating System Useful Resources
- OS - Quick Guide
- OS - Useful Resources
- OS - Discussion
What is marshalling in RPC?
Remote Procedure Call (RPC) is a client-server mechanism that enables an application on one machine to make a procedure call to code on another machine. The client calls a local procedure—a stub routine—that packs its arguments into a message and sends them across the network to a particular server process. The client-side stub routine then blocks. Meanwhile, the server unpacks the message, calls the procedure, packs the return results into a message, and sends them back to the client stub. The client stub unblocks, receives the message, unpacks the results of the RPC, and returns them to the caller. This packing of arguments is sometimes called marshaling.
Marshalling involves the following actions −
First the argument of client process or the result of a server process is taken which will form the message data to be sent to remote process.
Encode the message data of step 1 on the sender’s computer. The conversion of program objects into a stream form that is suitable for transmission will be involved by this encoding process.
- Related Articles
- What is RPC Implementation?
- RPC Message Protocol
- Remote Procedure Call (RPC)
- Transparency of RPC in Distributed Networks
- Difference Between RPC and RMI
- What is DatabaseMetaData in JDBC? What is its significance?
- What is ResultSetMetaData in JDBC? What is its significance?
- What is budget? What is its significance in Indian constitution?
- What is ** in Python?
- What is a scriptlet in JSP and what is its syntax?
- What is Accountability and what is its importance in an organization?
- What is Is-a relationship in Java?
- What is "is not" operator in Python?
- What is CDATA in HTML?
- What is aggregation in Java?
