The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

560056 (3) [Avatar] Offline

is there a possibility to reduce the Kinesis shardHourStorage ? The only way i found is to remove the kinesis stream when its not in usage, but probably there is a better solution for this?

In productive usage such a kinesis stream could be very expensive.

Yan Cui (73) [Avatar] Offline
With Kinesis, there is a baseline cost for one shard, that's true.

Whether or not it's expensive is up for debate.

For a student who's only using it to learn, yes, it's an extra cost you definitely want to do without, unfortunately I don't know of any better way than to manually delete it (or just delete the whole stack) when you're not using it.

For a production usage, it can be "expensive" compared to other solution when you're not dealing with lots of messages, here's a quick comparison of 1 msg/s for a month:

The picture looks drastically different even at moderate scale of 1k msgs/s :

We'll talk more about cost in a later unit, but as for whether or not Kinesis is expensive, it depends.