Is AWS IoT guarantee delivery

Home Forum IoT Software Platforms AWS IoT Development Platform Is AWS IoT guarantee delivery

This topic contains 1 reply, has 2 voices, and was last updated by  Jessica 1 year, 5 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #950

    Hamilton
    Participant

    Hi,
    I am starting with AWS IoT service with Raspberry Pi as a device. And I do not understand how I can make guarantee delivery for my data to AWS IoT MQTT service.

    There are two cases:

    The device has no Internet connection but powered on. In this case, I can use in-memory store (offline queue from AWS SDK library).

    The device is powered off. In this case, I am losing my data in RAM.

    How to save my data without running some database engine on Raspberry. Do you have some best practices?

    #970

    Jessica
    Participant

    Hello,
    You will need to somehow save your data to disk to mitigate issue #2. The best practice is to use an established database system. SqLite is a very lightweight database. They are not that hard to use, give it a shot! If you really hate that idea, you could just save the data in json format to a text file. That works as well.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.