Understanding the scaling behaviour of DynamoDB OnDemand tables

Update 15/03/2019: Thanks to Zac Charles who pointed me to this new page in the DynamoDB docs. It explains how the OnDemand capacity mode works. Turns out you DON’T need to pre-warm a table. You just need to create the table with the desired peak throughput (Provisioned), and then change it to OnDemand. After you change the table to OnDemand …

Understanding the scaling behaviour of DynamoDB OnDemand tables Read More »

DynamoDB TTL as an ad-hoc scheduling mechanism

CloudWatch Events let you easily create cron jobs with Lambda. However, it’s not designed for running lots of ad-hoc tasks, each to be executed once, at a specific time. The default limit on CloudWatch Events is a lowly 100 rules per region per account. It’s a soft limit, so it’s possible to request a limit …

DynamoDB TTL as an ad-hoc scheduling mechanism Read More »

Weekly update 20

Hi, welcome to another weekly update. Production-Ready Serverless is live! It’s been a long time coming, my Manning video course Production-Ready Serverless is officially completed! All postscripts and other course materials have been added to the course. Manning is also running a special promotion for March so that ALL video courses are $25 each, what …

Weekly update 20 Read More »

Weekly update 19

Hi, welcome to another weekly update. New posts AWS Lambda and Secret Management. In this post I gave a lowdown on SSM Parameter Store, AWS Secrets Manager and HashiCorp Vault. We discussed when, why and how to choose between them and several approaches to loading secrets into your functions. Podcasts Real World DevOps. I spoke …

Weekly update 19 Read More »

Weekly update 18

Hi, welcome to another weekly update. Welcome Thundra as our sponsor for Feburary! It is my pleasure to welcome Thundra as sponsor for this month. Here’s a message from Thundra to explain what they’re building and their vision for Serverless observability. A serverless application eliminates operational burdens and you only pay for what you use …

Weekly update 18 Read More »

Lambda optimization tip – enable HTTP keep-alive

I recently watched an excellent talk by Matt Lavin on optimization tips for Lambda and saw a slide on making DynamoDB use HTTP keep-alive. It reminded me of a conversation I had with Sebastian Cohnen, so I set out to test the effect this simple optimization has. What is it all about? As it turns …

Lambda optimization tip – enable HTTP keep-alive Read More »

Weekly update 17

Hi, welcome to another weekly update. New posts You are thinking about serverless costs all wrong. This is my response to the click-bait article published in The Register that clearly illustrated widespread misunderstanding when it comes to understanding the financial benefits of serverless. Many have discussed the cost savings serverless can give you in terms …

Weekly update 17 Read More »

Subscribe SQS to a SNS topic in another AWS account with CloudFormation, and gotchas!

A use case happened at work recently, where we need to subscribe a SQS queue to a SNS topic running in another AWS account. On the surface this seems like something many people would need to do, and indeed I was able to find an official tutorial pretty quickly. But the tutorial is all “click …

Subscribe SQS to a SNS topic in another AWS account with CloudFormation, and gotchas! Read More »

You are thinking about serverless costs all wrong

The Register published an article right before Christmas 2018. It had a somewhat provocative title, and somehow it ended up in my inbox from a few different sources. I felt the whitepaper the article refers to provided some interesting analysis. But the case studies it used to make its point are not representative of what …

You are thinking about serverless costs all wrong Read More »

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close