Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Linux IPC Project : Develop Asynchronous PUB-SUB System
Rating: 4.0 out of 5(5 ratings)
133 students

Linux IPC Project : Develop Asynchronous PUB-SUB System

Inter-Process-Communication, Linux Dev Project, IPC, Distributed System, Socket Programming, C/C++ Project, Linux Course
Last updated 3/2025
English

What you'll learn

  • You will be able to Design Application which require IPC
  • Choose the best IPC mechanism depending on the application requirement
  • Understand Linux OS better and feel confident
  • Prepare for IPC based interview Questions
  • Design a Linux process which could harness benefits of various IPC Mechanism at the same time

Course content

9 sections44 lectures4h 7m total length
  • Know Your Course (KYC) and Pre-requisites3:33
  • High Level Project Explanation5:25
  • Pub-Sub System : Real World Usage Example6:09
  • Setup Development Environment5:28
  • Project Design in Detail13:32

Requirements

  • Basic C/C++ is essential
  • Basic knowledge Operating System shall be good
  • Zeal and Enthusiasm to learn

Description

Pub/Sub System in C/C++: Course Overview


Unlock the Power of Asynchronous Communication with Pub/Sub in C/C++


Welcome to this comprehensive course on designing and implementing a robust Publish-Subscribe (Pub/Sub) System using C/C++. This course is tailored for developers who aspire to master the principles of real-time messaging systems and understand how to build scalable, efficient, and loosely-coupled communication architectures from scratch.


What is a Pub/Sub System?


A Publish-Subscribe system is a messaging paradigm that decouples the sender (publisher) from the receiver (subscriber). It allows for seamless communication between multiple components by enabling subscribers to receive updates on topics they are interested in, without being directly tied to the publisher. This design is widely used in real-world applications like:

  • Messaging Systems: RabbitMQ, Kafka

  • Microservices Communication

  • IoT and Real-Time Event Systems


What You Will Learn


In this course, we’ll build a fully-functional Pub/Sub system using C/C++, covering every essential concept step by step:


  1. Understanding Pub/Sub Fundamentals

    • How publishers and subscribers interact through topics.

    • Decoupling communication with message brokers.


  2. Designing the Architecture

    • Implementing message queues for efficient data flow.

    • Managing subscribers and topic registries.

    • Handling asynchronous communication and thread safety.


  3. Building Core Components in C/C++

    • Publisher: A module to publish messages to specific topics.

    • Subscriber: A module to subscribe to topics and receive updates.

    • Broker: The central hub to manage topics, deliver messages, and coordinate between publishers and subscribers.


  4. Optimizing for Performance

    • Implementing thread pools for parallel processing.

    • Minimizing latency with efficient data structures.


  5. Message Prioritisation:

    • Allow publishers to assign priorities to messages.

    • The distributor delivers higher-priority messages first to subscribers.


  6. Heartbeat and Health Checks:

    • Implement a heartbeat mechanism to check the liveness of publishers and subscribers.

    • Detect and remove inactive entities automatically.


  7. Dynamic Scaling:

    • Add auto-scaling support to adjust resources based on system load.


  8. Message Encryption:

    • Encrypt messages to secure data in transit and at rest.


Who Should Enroll?


  • Developers interested in building high-performance messaging systems.

  • C/C++ Programmers seeking hands-on experience with real-world software design patterns.

  • Software Architects aiming to design scalable and maintainable systems.

  • Learners exploring the implementation of microservices and event-driven architectures.


Why Take This Course?

By the end of this course, you’ll have the skills and confidence to:

  • Design and implement your own Pub/Sub system in C/C++.

  • Understand the principles behind distributed messaging systems.

  • Solve real-world problems with efficient communication architectures.

Join now and start your journey towards mastering Pub/Sub systems in C/C++. Let’s build something amazing together!

Who this course is for:

  • Under graduate Computer Science Students
  • Post Graduate Students
  • Job Seekers in System programming Domain - Networking/Driver programming/Distributed Systems/IOT etc