What are the main differences between using DRb and TCPSocket for distributed Ruby programs?

189 views Asked by At

If I wanted to create a multi-process client-server type of system where a Ruby program is the client and another Ruby program is the server, what are the important factors when deciding whether to implement this with DRb vs TCPSocket? Both seem to allow two-way communication between the two processes.

Are there any areas where one approach is better than the other? For example, if you need multiple clients to be able to concurrently access the server process.

0

There are 0 answers