We use Azure IOT and edgeHub
and edgeAgent
as modules for Edge runtime. We want to verify the capability of Offline storage is configured correctly in our environment
We have custom simulator
module connected to custom publisher
module that publishes to an API in the Cloud. The simulator
is continuously producing a message around 10KB every 2 seconds. The publisher
module could not talk outside because of a blocking firewall rule. I want to verify all the memory/RAM allocated for edgeHub
is used and later overflows to disk
and uses reasonable available disk space.
This exercise is taking longer to complete even when I run multiple modules/instances of simulator
.
Queries:
How can I control the size of memory allocated to
edgeHub
. What is the correctcreateOptions
to control/reduce allocated memory. It is currently allocated around 1.8GB.I see generally during the exercise, RAM keeps increasing. But at some point, it drops down a little and keeps increasing after. Is there some kind of GC or optimization happening inside
edgeHub
?b0fb729d25c8 edgeHub 1.36% 547.8MiB / 1.885GiB 28.38% 451MB / 40.1MB 410MB / 2.92GB 221
How can ensure that any of the messages produced by
simulator
are not lost. Is there a way to count the number of messages in edgeHub?I have done the proper configuration to mount a directory from VM to container for persistent storage. Is there a specific folder inside
edgeHub
folder under which messages would be stored when overflown?