Replies: 1 comment
-
@mlz960820 we don't obsever memory leak in device-mqtt-go until now. you can open an issue if you observe it. Since the event reading cache is not a general requirement and Redis is not the only database in EdgeX, we don't have a plan to implement Redis cache in Device SDK. It can be implemented in the individual device service. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
@cloudxxx8 device-sdk-go How to use redis cache mechanism。In device-mqtt-go, the result cache of Subscribe is stored in the local CommandResponses sync.Map. Will there be a risk of memory leak? I think one way is to store it in Redis and set the expiration time
Beta Was this translation helpful? Give feedback.
All reactions