31.7 Scaling Kinesis: Shard Splitting, Merging, and On-Demand Mode
Alright, let’s talk about making your Kinesis stream actually keep up with the real world. You built this thing to handle a firehose of data, but what happens when the firehose suddenly becomes a fire-nado? Or, more embarrassingly, when it turns into a gentle trickle and you’re paying for a firehose? That’s where scaling comes in, and Kinesis gives you two main levers to pull: the manual, surgical control of shard operations (splitting and merging) and the glorious, set-it-and-forget-it (but not really) chaos of On-Demand mode. Let’s get into it.