Matt Fysh
12/28/2022, 12:14 AMmaxTimeInBufferMS to 500?Matt Fysh
12/28/2022, 12:43 AMmaxTimeInBufferMS to 500 (default is 5000), but I’m not seeing any improvement.
How can I measure the time taken for events to pass through Flink, and (hopefully) find out what I need to tweak to get these realtime events written to dyanmodbHong Teoh
01/03/2023, 11:44 AMmaxTimeInBufferMS to 500ms without issue. The tradeoff here is that calls to DDB will be more frequent, and in smaller batches, which theoretically will have an impact on the maximum throughput of the job.
How can I measure the time taken for events to pass through Flink, and (hopefully) find out what I need to tweak to get these realtime events written to dyanmodbOne way is to write the Event time as a field in the DDB entry. I am not aware of a way to measure it natively in Flink 👀 Curious, what is your expected E2E latency from publishing to the Kinesis stream to the record appearing in DDB?
Hong Teoh
01/03/2023, 11:46 AMMatt Fysh
01/03/2023, 11:49 AMmaxTimeInBufferMS to 500 things started running smoothly. I think the default was 5000 which is why it took a little while for things to be written to dynamodb in testing where there is less throughput (e.g the batch size is 25, which will be reached faster than 500ms in prod so I guess this setting was just to get things flowing faster in dev only)Matt Fysh
01/03/2023, 11:50 AMI tried loweringAh, I forgot that I wrote this here - this was actually caused by the new code not being picked up. I had to enable object versioning on my s3 bucket for kinesis to pickup the new JARto 500 (default is 5000), but I’m not seeing any improvement.maxTimeInBufferMS
Hong Teoh
01/03/2023, 11:51 AMMatt Fysh
01/03/2023, 11:51 AM