Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
219 views
in Technique[技术] by (71.8m points)

amazon web services - Displaying "last measurement value" from IoT devices in different locations in a table

The application has users and groups. Based on the groups the users are in, will have access to locations. IoT devices may/may not be linked to locations but will still be streaming values.

There is a table displayed on the front-end for which data is coming from DynamoDB. We will be updating the last measurement value for each of those devices in DynamoDB based on measurement values streaming in from IoT devices. There are going to be millions of these devices.

I am considering using the approach mentioned here https://aws.amazon.com/blogs/mobile/iot-with-aws-appsync/

  1. Is there a simpler way to do it? We are okay with updating values only once a second.

  2. I am wondering how many topics we will end up with? Should it be a topic per device? or a topic per location? that the client will subscribe to.

  3. Does the client subscribe to the topic only when they land on the screen and unsubscribe when they land away?

  4. The "last value from IoT devices" is to be updated only in one column of a data table in UI while others remain the same. It should still work, Is that right?

  5. I also see some solutions using Kinesis firehose and analytics. Not sure if that's relevant for this case. Any simpler approaches to do this?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...