4 ms·
I’m curious how you actually would access this, would you need some kind of an RPC library to use in conjunction with it? The page doesn’t really seem to go far
by hellofunk 6y ago
I’m curious how you actually would access this, would you need some kind of an RPC library to use in conjunction with it? The page doesn’t really seem to go far enough to answer actual usage information.
What would be the alternative to using a library like this? I’ve been looking for a good way to distribute workload to many machines and don’t want to invent it myself or jump into a very heavy system.
- harikb 6y agoThis example gives a flavor of the client-server mode. Seems to be using some custom binary protocol - that seems like a surprising choice. https://github.com/buraksezer/olric#golang-client https://github.com/buraksezer/olric#golang-client var clientConfig = &client.Config{ Addrs: []string{"localhost:3320"}, DialTimeout: 10 * time.Second, KeepAlive: 10 * time.Second, MaxConn: 100, } client, err := client.New(clientConfig) if err != nil { return err } dm := client.NewDMap("foobar") err := dm.Put("key", "value") // Handle this error