absmach / magistrala

Industrial IoT Messaging and Device Management Platform
https://www.abstractmachines.fr/magistrala.html
Apache License 2.0
2.47k stars 671 forks source link

Refactor CoAP adapter #1144

Open dborovcanin opened 4 years ago

dborovcanin commented 4 years ago

REFACTOR

Simplify CoAP adapter. Remove adapter logic from the transport layer and move it to the service implementation. Test for data race and optimize (currently, 4 goroutines are started on a single connection). Make session handling transparent so that it can be replaced with a scalable solution such as storing it in the Redis.

manuio commented 3 years ago

@dusanb94 is this one fixed?

dborovcanin commented 4 months ago

Related to, and blocked by: https://github.com/absmach/coap-cli/pull/8, https://github.com/absmach/coap-cli/pull/7, https://github.com/absmach/mproxy/pull/60, https://github.com/absmach/mproxy/pull/43, #1963, #2206, #2183.