Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InfluxDB 2.0 Cloud Support. #2553

Open
amarendrapramanik opened this issue Nov 10, 2022 · 1 comment
Open

InfluxDB 2.0 Cloud Support. #2553

amarendrapramanik opened this issue Nov 10, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@amarendrapramanik
Copy link

Description

The current implementation do not support InfluxDB 2.0 Cloud API. Also the InfluxDB-Client-for-Arduino implementation is too heavy for MCU to be implemented.

Solution

No response

Alternatives

No response

Additional context

No response

@amarendrapramanik amarendrapramanik added the enhancement New feature or request label Nov 10, 2022
@mcspr
Copy link
Collaborator

mcspr commented Nov 11, 2022

Also the InfluxDB-Client-for-Arduino implementation is too heavy for MCU to be implemented.

Supported devices:

?


Main requirement seems to be a TLS-enabled client. We run into a couple of problems, regardless of whether we use the lib mentioned above or try to use any available TLS lib (bearssl, wolfssl, etc.)

  • ESP needs to run in 160MHZ mode, which is enforced at build time in the currently used SDK; changing it at runtime will always fallback to the build value
  • connection buffers need to be around 18KiB at a minimum, 32KiB at a maximum (created per connection); plus ~7KiB of extra task stack that is used to run crypto stuff (shared between clients). we need to severely limit everything else with access to RAM, otherwise we will run out of available RAM at some point (since we have only ~40...50KiB available after booting)

We could reduce required RAM with MFLN extension, but Go implementation does not support it (yet?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants