Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use CapnProto RPC instead of ZeroMQ #19

Closed
garymm opened this issue Jan 24, 2024 · 1 comment · Fixed by #27
Closed

Use CapnProto RPC instead of ZeroMQ #19

garymm opened this issue Jan 24, 2024 · 1 comment · Fixed by #27

Comments

@garymm
Copy link
Member

garymm commented Jan 24, 2024

In #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
Copy link
Member Author

garymm commented Jan 31, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant