I would like to use RPC for communication between fog nodes. As the connection between the nodes is wireless (802.15.4), I don't want to use an RPC framework that uses HTTP (like gRPC).
I know that for such use cases, MQTT is used frequently. However, as the MQTT broker normally runs in the cloud, the nodes need to send data to the cloud which I would like to avoid.
I was looking into Apache Thrift which seems like a good choice. However, I would be interested if someone already has experience with using RPC in IoT environments and if there are any frameworks that you could recommend to me?