Design Thoughts - linluxiang/raptor GitHub Wiki
Virtual actor like RPC
The target of virtual actor is to simplify the usage of sending messages. The perfect final result I hope to achieve is Orleans.
Initial idea, use macro to generate the code to extract the name of the function and send it as a the first parameter of a function like msg.send(#funcname, param). The messaging system serializes the message and send it to the target node.
In the low level it still uses the distributed messaging system to send the content and function infomation. After receiving the message, the system deserializes it and send the message to the real actor. The local actor system is temporarily based on actix.
Distributed event bus
A Message can be sent to an address and a handler can also register to handle the message sent to the address. The address and handler information can be registered in a distibuted memory database