Communication operations code location

Hi! I am trying to profile communication patterns in Ray framework. As I see, all underneath communications go through Boos.Asio sockets. Could anyone, please, point a C++ code location, where all network communication happen (data send/receive) if there is such place?

Hi, ray uses grpc to communicate. It depends on which part are you referring to, but most of the object-related communication is here: ray/object_manager.proto at master · ray-project/ray · GitHub

You can search how this one is implemented to find the right code.

Hey! Have you explored it, and did it help with your profiling? I’m also working on tracking communication and wondering how you’ve approached it so far. Have you tried any specific logging or tracing methods?