RPC(Remote procedure call) is a request-response protocol, and widely used in microservice. RPC client could call a remote server and excute certain code. This's a simplified version of Dubbo, and used for self-learning. It only includes the functionality of remote calling, there are still many parts need to be done in the future.
- Client calls the dynamic proxy.
- The proxy serialize the request.
- The serialized byte stream would be send to the server through Netty.
- The server deserializes the request to the original calling, and execute the function by reflection.
- If the calling are supposed to have a response value, the result can be returned to the client through netty.
- Spring boot
- Netty
- Maven