blog.rust.gay

Lambda cold starts in 2026

Reducing cold start latency. This post digs into the topic, drawing on recent discussion from Hacker News, Reddit, and the wider community.

The conversation that prompted this post is linked in the sources. I have tried to capture the substance of the discussion rather than just summarize it, because the comments are usually where the real insight lives.

What happened

Spot instances are free money if your workload can tolerate interruption. Most batch and async workloads can.

The cloud is just someone else's computer, and that someone else is very good at charging you for convenience. The question is always whether the convenience is worth the markup.

Networking is where cloud bills hide. Data transfer charges between regions and out to the internet add up fast.

Networking is where cloud bills hide. Data transfer charges between regions and out to the internet add up fast.

Observability is the difference between knowing something is broken and knowing why. Invest in it before you need it.

Spot instances are free money if your workload can tolerate interruption. Most batch and async workloads can.

Infrastructure as code is not optional at scale. Clicking in the console is fine for learning and unacceptable for production.

Cloud cost is the new technical debt. Teams that do not track spend by service and team end up with bills that nobody can explain and nobody can reduce.

Infrastructure as code is not optional at scale. Clicking in the console is fine for learning and unacceptable for production.

IAM is the foundation of cloud security. Get it wrong and nothing else matters. Get it right and most attacks become much harder.

Reserved instances and savings plans reward commitment. If your workload is stable, not using them is leaving money on the table.

Multi-region is not multi-cloud. Running in two AWS regions is redundancy. Running on AWS and GCP is strategy, and it is expensive.

Infrastructure as code is not optional at scale. Clicking in the console is fine for learning and unacceptable for production.

Autoscaling is not a substitute for capacity planning. It reacts to load; it does not predict it.

Serverless is great until it isn't. Cold starts, concurrency limits, and vendor lock-in are real costs that show up at scale.

Why it matters

Multi-region is not multi-cloud. Running in two AWS regions is redundancy. Running on AWS and GCP is strategy, and it is expensive.

Multi-region is not multi-cloud. Running in two AWS regions is redundancy. Running on AWS and GCP is strategy, and it is expensive.

Reserved instances and savings plans reward commitment. If your workload is stable, not using them is leaving money on the table.

Reserved instances and savings plans reward commitment. If your workload is stable, not using them is leaving money on the table.

The cloud is just someone else's computer, and that someone else is very good at charging you for convenience. The question is always whether the convenience is worth the markup.

IAM is the foundation of cloud security. Get it wrong and nothing else matters. Get it right and most attacks become much harder.

Backups are not disaster recovery. Test your restores or you do not have backups.

Autoscaling is not a substitute for capacity planning. It reacts to load; it does not predict it.

The cloud is just someone else's computer, and that someone else is very good at charging you for convenience. The question is always whether the convenience is worth the markup.

Spot instances are free money if your workload can tolerate interruption. Most batch and async workloads can.

Autoscaling is not a substitute for capacity planning. It reacts to load; it does not predict it.

Spot instances are free money if your workload can tolerate interruption. Most batch and async workloads can.

Backups are not disaster recovery. Test your restores or you do not have backups.

Managed databases trade operational burden for cost and flexibility. Know what you are giving up.

The shared responsibility model means the cloud secures the infrastructure and you secure everything else. Most breaches are in the everything else.

Practical takeaways

  • Spot instances are free money if your workload can tolerate interruption.
  • Cloud cost is the new technical debt.
  • Networking is where cloud bills hide.
  • Infrastructure as code is not optional at scale.
  • The shared responsibility model means the cloud secures the infrastructure and you secure everything else.
  • Autoscaling is not a substitute for capacity planning.
  • Tagging is boring and essential.
  • Reserved instances and savings plans reward commitment.
  • Tagging is boring and essential.
  • Observability is the difference between knowing something is broken and knowing why.

Reserved instances and savings plans reward commitment. If your workload is stable, not using them is leaving money on the table.

Reserved instances and savings plans reward commitment. If your workload is stable, not using them is leaving money on the table.

Reserved instances and savings plans reward commitment. If your workload is stable, not using them is leaving money on the table.

Backups are not disaster recovery. Test your restores or you do not have backups.

Managed databases trade operational burden for cost and flexibility. Know what you are giving up.

Autoscaling is not a substitute for capacity planning. It reacts to load; it does not predict it.

Tagging is boring and essential. Without consistent tags, cost attribution is guesswork.

Autoscaling is not a substitute for capacity planning. It reacts to load; it does not predict it.

The shared responsibility model means the cloud secures the infrastructure and you secure everything else. Most breaches are in the everything else.

Reserved instances and savings plans reward commitment. If your workload is stable, not using them is leaving money on the table.

Managed databases trade operational burden for cost and flexibility. Know what you are giving up.

Serverless is great until it isn't. Cold starts, concurrency limits, and vendor lock-in are real costs that show up at scale.

Cloud cost is the new technical debt. Teams that do not track spend by service and team end up with bills that nobody can explain and nobody can reduce.

Observability is the difference between knowing something is broken and knowing why. Invest in it before you need it.

Infrastructure as code is not optional at scale. Clicking in the console is fine for learning and unacceptable for production.

Networking is where cloud bills hide. Data transfer charges between regions and out to the internet add up fast.

Managed databases trade operational burden for cost and flexibility. Know what you are giving up.

Multi-region is not multi-cloud. Running in two AWS regions is redundancy. Running on AWS and GCP is strategy, and it is expensive.

Serverless is great until it isn't. Cold starts, concurrency limits, and vendor lock-in are real costs that show up at scale.

Tagging is boring and essential. Without consistent tags, cost attribution is guesswork.

Sources

This post is informed by discussion on aws.amazon.com and related threads on Hacker News and Reddit. Primary source: https://aws.amazon.com/lambda/.

Managed databases trade operational burden for cost and flexibility. Know what you are giving up.

Infrastructure as code is not optional at scale. Clicking in the console is fine for learning and unacceptable for production.

Autoscaling is not a substitute for capacity planning. It reacts to load; it does not predict it.

The cloud is just someone else's computer, and that someone else is very good at charging you for convenience. The question is always whether the convenience is worth the markup.

IAM is the foundation of cloud security. Get it wrong and nothing else matters. Get it right and most attacks become much harder.

Spot instances are free money if your workload can tolerate interruption. Most batch and async workloads can.

Multi-region is not multi-cloud. Running in two AWS regions is redundancy. Running on AWS and GCP is strategy, and it is expensive.

The cloud is just someone else's computer, and that someone else is very good at charging you for convenience. The question is always whether the convenience is worth the markup.

The shared responsibility model means the cloud secures the infrastructure and you secure everything else. Most breaches are in the everything else.

Cloud cost is the new technical debt. Teams that do not track spend by service and team end up with bills that nobody can explain and nobody can reduce.

Multi-region is not multi-cloud. Running in two AWS regions is redundancy. Running on AWS and GCP is strategy, and it is expensive.

IAM is the foundation of cloud security. Get it wrong and nothing else matters. Get it right and most attacks become much harder.

Infrastructure as code is not optional at scale. Clicking in the console is fine for learning and unacceptable for production.

Tagging is boring and essential. Without consistent tags, cost attribution is guesswork.

The cloud is just someone else's computer, and that someone else is very good at charging you for convenience. The question is always whether the convenience is worth the markup.

IAM is the foundation of cloud security. Get it wrong and nothing else matters. Get it right and most attacks become much harder.

The shared responsibility model means the cloud secures the infrastructure and you secure everything else. Most breaches are in the everything else.

IAM is the foundation of cloud security. Get it wrong and nothing else matters. Get it right and most attacks become much harder.

Tagging is boring and essential. Without consistent tags, cost attribution is guesswork.

Tagging is boring and essential. Without consistent tags, cost attribution is guesswork.

Multi-region is not multi-cloud. Running in two AWS regions is redundancy. Running on AWS and GCP is strategy, and it is expensive.

Multi-region is not multi-cloud. Running in two AWS regions is redundancy. Running on AWS and GCP is strategy, and it is expensive.

Serverless is great until it isn't. Cold starts, concurrency limits, and vendor lock-in are real costs that show up at scale.

Networking is where cloud bills hide. Data transfer charges between regions and out to the internet add up fast.

Serverless is great until it isn't. Cold starts, concurrency limits, and vendor lock-in are real costs that show up at scale.

Spot instances are free money if your workload can tolerate interruption. Most batch and async workloads can.

Cloud cost is the new technical debt. Teams that do not track spend by service and team end up with bills that nobody can explain and nobody can reduce.

Tagging is boring and essential. Without consistent tags, cost attribution is guesswork.

Managed databases trade operational burden for cost and flexibility. Know what you are giving up.

IAM is the foundation of cloud security. Get it wrong and nothing else matters. Get it right and most attacks become much harder.

The cloud is just someone else's computer, and that someone else is very good at charging you for convenience. The question is always whether the convenience is worth the markup.

Autoscaling is not a substitute for capacity planning. It reacts to load; it does not predict it.

Observability is the difference between knowing something is broken and knowing why. Invest in it before you need it.

The cloud is just someone else's computer, and that someone else is very good at charging you for convenience. The question is always whether the convenience is worth the markup.

Managed databases trade operational burden for cost and flexibility. Know what you are giving up.

Cloud cost is the new technical debt. Teams that do not track spend by service and team end up with bills that nobody can explain and nobody can reduce.

IAM is the foundation of cloud security. Get it wrong and nothing else matters. Get it right and most attacks become much harder.

Serverless is great until it isn't. Cold starts, concurrency limits, and vendor lock-in are real costs that show up at scale.

Autoscaling is not a substitute for capacity planning. It reacts to load; it does not predict it.

The shared responsibility model means the cloud secures the infrastructure and you secure everything else. Most breaches are in the everything else.

Autoscaling is not a substitute for capacity planning. It reacts to load; it does not predict it.

Managed databases trade operational burden for cost and flexibility. Know what you are giving up.

Serverless is great until it isn't. Cold starts, concurrency limits, and vendor lock-in are real costs that show up at scale.

Observability is the difference between knowing something is broken and knowing why. Invest in it before you need it.

Autoscaling is not a substitute for capacity planning. It reacts to load; it does not predict it.

The shared responsibility model means the cloud secures the infrastructure and you secure everything else. Most breaches are in the everything else.

Autoscaling is not a substitute for capacity planning. It reacts to load; it does not predict it.

Infrastructure as code is not optional at scale. Clicking in the console is fine for learning and unacceptable for production.

Spot instances are free money if your workload can tolerate interruption. Most batch and async workloads can.

Multi-region is not multi-cloud. Running in two AWS regions is redundancy. Running on AWS and GCP is strategy, and it is expensive.

Tagging is boring and essential. Without consistent tags, cost attribution is guesswork.

Managed databases trade operational burden for cost and flexibility. Know what you are giving up.

Spot instances are free money if your workload can tolerate interruption. Most batch and async workloads can.

The shared responsibility model means the cloud secures the infrastructure and you secure everything else. Most breaches are in the everything else.

Backups are not disaster recovery. Test your restores or you do not have backups.

Backups are not disaster recovery. Test your restores or you do not have backups.

The cloud is just someone else's computer, and that someone else is very good at charging you for convenience. The question is always whether the convenience is worth the markup.

The shared responsibility model means the cloud secures the infrastructure and you secure everything else. Most breaches are in the everything else.

IAM is the foundation of cloud security. Get it wrong and nothing else matters. Get it right and most attacks become much harder.

Observability is the difference between knowing something is broken and knowing why. Invest in it before you need it.


โ† back to posts


โ† back to posts