Hello, I notice that Android RPC docs suggests to use rpc_server
, but tvm/apps/android_rpc example is using rpc_tracker
and tvm/apps/ios_rpc adapts rpc_proxy
. What is the difference between three apis and how can we choose accordingly?
1 Like
On Android, rpc_server
is something that runs on an Android device, accepts RPC requests and executes them. The server registers itself with a “central registry” of servers under a certain key that distinguishes it from other servers. A program wanting to communicate with a specific RPC server (identified by a specific key) talks to the registry first. This “registry” is called “RPC tracker”.
I don’t know about iOS or rpc_proxy
, but it may be something conceptually similar.
2 Likes
This is pretty cool, thanks a lot for the detailed explanation.