Hacker News new | ask | show | jobs
by eatonphil 1116 days ago
Another thing I glossed over (unintentionally) is that I only started limiting batch size after I switched to the custom encoder. So persist() being a function of length wouldn't be quite true anymore.

However, I still keep seeing encoding/gob high up in the profiler taking a lot of time doing reflection during RPC calls.

So it does still seem like it's not ideal. Though I may still just not be understanding how to use net/rpc correctly either.