UActor: Group Based Actor Model Middleware with UDP Protocol
摘要
This tutorial introduces a new approach to distributed communication middleware by using connectionless transport protocols and the actor model. In contrast to traditional connection-oriented protocols like TCP, which are often compared to phone systems due to their reliability and higher bandwidth needs, our approach utilizes connectionless protocols akin to postal services, aligning more naturally with the decentralized nature of the actor model. This shift towards a brokerless system reduces the complexity and overhead associated with message brokers and broker clusters, often with significant deployment and maintenance costs. Moreover, this middleware integrates various communication patterns into a unified framework that enhances usability. In this tutorial, students can learn how to design, implement, and test a distributed communication middleware. Furthermore, by involving energy consumption estimation tests in the evaluation phase, the tutorial inspires students to consider sustainability when designing or implementing their projects.