A remote procedure call with RPyC

Remote Python Call (RPyC) is a Python module that is used for remote procedure calls as well as for distributed computing. The idea at the base of RPC is to provide a mechanism to transfer control from a program (client) to another (server), similar to what happens with the invocation of a subroutine in a centralized program. The advantages of this approach are that it has very simple semantics and knowledge and familiarity of the centralized mechanism of a function call. In a procedure invocation, the client process is suspended until the process server has performed the necessary computations and has given the results of computations. The effectiveness of this method is due to the fact that the client-server ...

Get Python Parallel Programming Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.