Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
主从如何通信是 Mesos。主人是否运行网络服务器?是使用 HTTP 还是 TCP/IP 请求?
感谢您的回复
Master 和 worker(又名 slave)交换打包在 HTTP/1.1 中的 protobuf 消息。Master 有一个小型的内置网络服务器,用于处理来自工作人员的消息和来自 HTTP 端点的请求。如果您想了解更多信息,可以从查看mesos/3rdparty/libprocess/src/encoder.hpp:107
mesos/3rdparty/libprocess/src/encoder.hpp:107