How to : Multiple core devices and subscriptions across all core devices

0

Hi,
What I am trying to achieve is having a group of multiple core devices, where the lambda functions gets executed, and these devices will have to send and receive messages across these devices.
these are my questions regarding the same,

  1. Can I have a group with only core devices?
  2. In the above mentioned case, the same lambda functions will be running on all the cores, so in this case, how to create the subscriptions as the target and source will be the lambda functions?

Please advise on the same.

Thanks.

Edited by: mockingBird on Jan 11, 2019 12:22 AM

preguntada hace 5 años252 visualizaciones
5 Respuestas
0

Hi MockingBird,

  1. No. You can have a group with only a core. However, you can only have one core per group.
  2. If you launch multiple groups you would setup a subscription from Lambda -> IoT Cloud and from IoT Cloud -> Lambda for each group.

Can you tell me a bit more about your use case and what you're trying to do?

Thanks,
Keagen

AWS
KR-AWS
respondido hace 5 años
0

Hi Keagen,
Thanks for your reply.
What we are trying to achieve is, we have a set of sensors, and we want to crunch the data there itself, that means we prefer to execute the lambda in each of these device, and all these devices should communicate each other to share some data for their processing, that means all these devices need to be in a group.
So could you please suggest a proper way to do the same

Thanks,

respondido hace 5 años
0

Some more clarification needed

respondido hace 5 años
0

Hi mockingBird,

Currently there isn't an easy way to communicate from core A to core B without going through the IoT Cloud. You can make core A a device for core B and vice versa. However, MQTT from device to core is only QoS 0. You'll need to handle missing/lost messages in your application.

Please let me know if you have any other questions.
Thanks,
Keagen

AWS
KR-AWS
respondido hace 5 años
0

Thanks a lot Kaegan

respondido hace 5 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas