Build Remote Procedure Calls (RPC) - from scratch in C
Learn system programming with server-client RPC using network sockets. Master data serialization for Windows & Linux. Build robust network applications!
Course Content
Build Remote Procedure Calls (RPC) - from scratch in C is an intermediate-level Udemy course taught by Abhishek CSEPracticals. It runs 6h 10m, is taught in English, and includes a certificate of completion. Learners rate it 4.5 out of 5 from 151 reviews, with 2,204 students enrolled. It is a paid course, last updated April 2022.
Build Remote Procedure Calls (RPC) from Scratch with C
Learn the fundamental concepts of Remote Procedure Calls (RPC) and build a robust system from the ground up using pure C! This course dives deep into the underlying mechanisms of RPC, offering a unique learning experience free from third-party libraries.
What You'll Learn:
- RPC Fundamentals: Understand how to invoke functions on remote machines, a core concept in inter-process communication (IPC).
- Low-Level System Programming: Gain a profound understanding of how systems operate at a fundamental level, essential for advanced system software development.
- Serialization & Deserialization: Master the critical process of converting data structures into a format suitable for transmission over a network and back.
- Data Synchronization: Implement data synchronization techniques to mirror application state on remote machines, enabling failover capabilities.
- Checkpointing: Learn how to save and restore application state to disk, allowing for application recovery and resuming operations from a specific point.
- C Pointers & Memory Management: Strengthen your understanding of C pointers and memory layout, crucial for low-level programming.
Why This Course?
- No External Libraries: Build everything from scratch, fostering a deep understanding of the underlying principles.
- C Language Focus: Leverage the power of C for its low-level control and suitability for system programming.
- Foundation for Advanced Projects: This course lays the groundwork for developing complex systems involving data synchronization, checkpointing, and more.
- Language Agnostic Concepts: The principles taught are applicable to any programming language, making you a more versatile developer.
Who Should Take This Course?
- Beginners (with C experience): If you have a solid grasp of C pointers and memory management, this course will challenge you to master low-level concepts.
- Job Seekers & Professional Developers: Gain a competitive edge by understanding the inner workings of RPC and IPC.
- System Programmers: A must-have for anyone building system-level applications.
Prerequisites:
- Strong understanding of C and pointers.
- Basic knowledge of socket programming is helpful but not required.
Course Curriculum:
Part 1: Serialization & Deserialization
- Introduction: Understanding the necessity of serialization.
- Data Serialization & Deserialization:
- Simple C Structures
- Nested C Structures
- Pointer C Structures
- STREAMS Data Structure: Design and implementation.
- Generic Data Structures: Serializing using function pointers.
Part 2: Building RPC Systems
- Remote Procedure Calls (RPC) from Scratch:
- RPC Concept & Design
- Client Stub Development (Marshalling & Unmarshalling)
- Server Stub Development (Marshalling & Unmarshalling)
- RPC Identity & Use Cases
- State Synchronization: Implementing data mirroring on remote machines.
- Checkpointing: Saving and restoring application state to disk.
Tools & Technologies:
- Linux OS: The course is designed for Linux, but concepts can be adapted to Windows.
- Pure C: No third-party libraries are used.
Related Courses:
- [Linux IPC Techniques](link to related course)
Important Note: Subtitles are auto-generated and may not be perfect. Please disable them for optimal viewing.
Audit Trail:
- 30 Sept 2018: Added Section 8 on State Synchronization
- 29 Sept 2018: Added Section 6 on Serializing Generic Data Structures
Need a web app built? Hire the team behind TutorialSearch.io
We ship fast, production-grade full-stack apps (Next.js, React, edge infra) — the same stack that powers this site.