Hacker News new | ask | show | jobs
by julio83 3433 days ago

    The other trade-off that comes from mutable versus immutable data comes from clustering. With Go, you have the ability to make remote procedure calls very seamlessly if you want to implement them, but because of pointers and shared memory, if you call a method on another box with an argument that references to something on your machine, it can’t be expected to function the same way.
I would be happy to know how we can make RPC seamless in GO accross multiple machines (clustering). I've missed a nice lib?
4 comments

The stdlib has an RPC package, but there it also has great gRPC support http://www.grpc.io/docs/quickstart/go.html
The std lib has RPC support https://golang.org/pkg/net/rpc/

Never used it, but lots of people in conferences are happy with it.

I might need to rework that sentence. I was trying to say that clustering can only be seamless with immutable data and that, while Go has great RPC support built in that it won't ever be able to cluster naturally.
Perhaps not exactly what you/they are referring to. But this is interesting:

https://github.com/docker/libchan