cyberbit / telem

Trivial ETL Engine for Minecraft
http://telem.cyberbit.dev
Other
26 stars 4 forks source link

SecureModem: serialized message is too large #36

Closed cyberbit closed 8 months ago

cyberbit commented 9 months ago

When a secure modem output adapter tries to send a large (nearly 1,000 metrics) collection, the adapter crashes the backplane:

image

The solution may be to send multipart responses, where the requesting input adapter assembles the full collection when all parts are received. If the input adapter times out waiting for all parts, it can either stop listening to parts and assemble what it has received, or throw an error.

Alternatively, I can create a custom serde that is more efficient with keys and utilizes compression.