Astera-org / minetest

Minetest is an open source voxel game engine with easy modding and game creation
https://www.minetest.net/
Other
0 stars 0 forks source link

Use CapnProto RPC instead of ZeroMQ #19

Closed garymm closed 9 months ago

garymm commented 10 months ago

In https://github.com/Astera-org/minetest/pull/18 we're using ZeroMQ for communication and CapnProto for serialization. Since CapnProto comes with an RPC it seems simpler to just use CapnProto for communication too. I initially thought there was an advantage in using ZeroMQ in that it made it easier to add multiple agents, but this is already handled by the Minetest server<->client architecture I think. Each agent can connect to a separate minetest client, and the server handles all the multi-agent async stuff.

garymm commented 9 months ago

One advantage of the queue is being able to subscribe to it and observe the screenshots and actions, which I could imagine maybe useful for remote live observation. But really not sure how much better this is than having the agent record videos and then watching them afterwards.