How to get record size in Go Client

It is not really possible to accurately know how big a record will be on the server from the client side. The best you can do is to count the size of each data item, and add a byte per piece of data. (number of bins, key+vals in maps, number of slices, etc.)

I’ll think about how to make this a bit more intuitive, but even knowing the wire payload wouldn’t tell you exactly how it would be on the server.