Distributed system design using only C

前端 未结 3 1807
挽巷
挽巷 2021-01-06 22:03

I have the work of implementing a distributed system of nodes (like p2p nodes) each of these nodes (lets say A,B,C and D) perform certain functions and need to interact with

3条回答
  •  遥遥无期
    2021-01-06 22:16

    I won't try to give a "whole" answer (because the question is way too large & vague anyways) but I could point you towards an interesting piece of the puzzle:

    1. You could use a Message Queuing system (e.g. AMQP RabbitMQ: there is an experimental C binding available) to implement reliable message delivery between your nodes.

    2. Mutual Exclusion: you can use a protocol such as Paxos

提交回复
热议问题