humm, the clients are more “a controllable environment”. As in general you send small pieces of RDF/JSON. It is not recommended to send big batches at once via clients. If you wanna do it, you should “copycat” what liveloader does.
Yes I basically take a similar approach to the live loader e.g. here. Based on my testing throughput increases significantly as batch size increases, up to about 150kb-200kb message size. At that scale it can sometimes get complex to find marshalling errors etc.