Skip to content

Document how HTTP/file-transfer streaming chunk size is handled in thin-edge.io #4177

Description

@dtimotijevic

Is your documentation request related to a problem? Please describe.

It is currently unclear from the thin-edge.io documentation how HTTP/file-transfer streaming chunk sizes are handled, and whether they are configurable.

The configuration documentation exposes settings such as http.bind.*, http.client.*, and mapper MQTT payload limits such as c8y.mapper.mqtt.max_payload_size, but there does not appear to be a documented setting for HTTP upload/download stream chunk size. This can be confusing when investigating memory usage, slow networks, proxy limitations, or large file transfers.

This would be especially helpful to understand for very resource-constrained devices, where RAM, CPU, disk I/O, and network throughput are limited and streaming/buffering behavior can directly affect stability.

Describe the improvement you'd like

Documentation on how streaming chunk size is handled for file transfer and upload/download paths.

Specifically, it would be helpful to clarify:

  • Whether HTTP/file-transfer streaming chunk size is configurable via tedge.toml or tedge config
  • If it is not configurable, which defaults are used
  • Which components have which chunking behaviour (C8Y proxy, file transfer, tedge uploads)

A short note in the File Transfer Service / C8Y Proxy documentation and/or configuration reference would be enough, for example:

thin-edge.io does not currently expose a configuration option for HTTP streaming chunk size. File transfer streaming uses the defaults of the underlying Rust HTTP/streaming libraries. MQTT mapper payload-size settings do not affect HTTP file-transfer chunking.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions