Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    M

    Mikhail Shilkov

    mikhail.io · Personal blog · on HN since 2016

    Mikhail Shilkov writes about serverless platforms, especially AWS Lambda cold start measurements, plus Temporal workflows, F#, and Claude Code behavior.

    Visit blogRSSHN submissions
    DevOps & CloudSystems & Performance
    What HN says

    HN commenters cite his cold start benchmarks as the best reference on the problem, using them to compare languages, runtimes and invocation costs.

    Stats for nerds
    23HN people shared it
    18linked in comments
    313story points
    Sep 2023last shared
    2018people per year2023

    Top posts on HN

    1. 1
      Serverless: Cold Start War
      2 people · 278 points · first shared 2018 · 109 comments on HN
    2. 2
      InfiniCache: Distributed Cache on Top of AWS Lambda (Paper Review)
      6 people · 12 points · first shared 2020 · Discussion on HN
    3. 3
      Claude Code uses WebFetch vs. WebSearch (observations, schemas, prompts)
      2 people · 4 points · first shared 2025 · Discussion on HN
    4. 4
      Comparing Scala to F#
      1 person · 4 points · first shared 2016 · Discussion on HN
    5. 5
      A practical approach to Temporal architecture
      1 person · 3 points · first shared 2020 · Discussion on HN
    6. 6
      AWS Lambda cold start during per language (2021)
      5 people · 2 points · first shared 2019 · Discussion on HN
    7. 7
      Cold Starts in AWS Lambda
      4 people · 2 points · first shared 2019 · Discussion on HN
    8. 8
      Temporal: Open-Source Workflows as Code
      1 person · 2 points · first shared 2020 · Discussion on HN
    9. 9
      Tic-Tac-Toe with F#, Azure Functions, HATEOAS and Property-Based Testing
      1 person · 2 points · first shared 2018 · Discussion on HN
    10. 10
      Eliminate Cold Starts by Predicting Invocations of Serverless Functions
      1 person · 1 points · first shared 2020 · Discussion on HN

    What HN people wrote when they linked it

    • throwaway894345Dec 2020

      > You're mixing arguments here. It's not the occasional 5-second long request, it's "the app doesn't start serving requests for 5 seconds".

      Lambdas cold-start during requests. So the unlucky request that triggers a cold start eats that cold start.

      > Using data science tooling in a lambda seems iffy, especially ones that are not production ready.

      Nonsense, there are a lot of lambdas that just load, transform, and shovel data between services using pandas or whathaveyou. Anyway, don't get hung up on data science; it was just an example, but there are packages across the ecosystem that behave poorly at startup (usually it's not any individual package taking 1-2s but rather a whole bunch of them scattered across your dependency tree that take 100+ms).

      > And good luck getting such libraries in go.

      Go doesn't have all of the specialty libraries that Python has, but it has enough for the use case I described above.

      > Python cold booting an interpreter 3 seconds faster than Go is a big deal, especially if your target execution time is <50ms and you've got a large volume of invocations

      According to https://mikhail.io/serverless/coldstarts/aws/languages/, Go takes ~450ms on average to cold start which is still up a bit from Python's ~250ms. To your point, if you're just slinging boto calls (and a lot of lambdas do just this!) and you care a lot about latency, then Python is the right tool for the job.

      > not being silly and importing ridiculously heavy dependencies into a…

    • abaloneSep 2018

      Two things.

      1- It's amazing that Java has the fastest cold start time! Faster than Nodejs.[1] That's exactly the opposite of what I've heard before.

      2- I am so tired of hearing about cold start times for dormant apps as if that is the only cold start scenario. It is arguably a worse problem to have cold starts when scaling!

      What do I mean by cold starts when scaling? You adopt serverless. Things go great. Your app is never dormant. You're not serverless because you want to shave costs for infrequently unused apps. You're serverless so you have infinite scale and pay by the millisecond and minimal devops and so on. But whenever you have a burst of scale and Lambda needs to spin up more instances... some of your unlucky users are going to hit that cold start. And this hack of keeping an instance warm would do nothing to solve that.

      I mean, do they? Do we know? It's possible that AWS warms up instances before throwing traffic at them but.. has anyone looked at this?

      [1] https://mikhail.io/2018/08/serverless-cold-start-war//coldstart-dependencies.png

    • aaronbwebberJan 2021

      Very important caveats from the paper review at https://mikhail.io/2020/03/infinicache-distributed-cache-on-aws-lambda/:

      > Mind that the workload was selected to be a good match for InfiniCache properties (large objects with infrequent access).

      > The hourly cost increases monotonically with the access rate, and eventually overshoots ElastiCache when the access rate exceeds 312 K requests per hour (86 requests per second).

      So this is not a replacement for the most common use cases for Elasticache. It is interesting as a cache in front of S3, but if you want a cache in front of S3...just use Cloudfront?

      Honestly if I was AWS I would be ecstatic if people used this, AWS probably breaks even or maybe loses a little bit on optimal usage of this, and makes an absolute killing if someone using this has a traffic spike and ends up hitting their lambda millions of times.

    • laumarsSep 2019

      ...and the language choice has a measurable impact on the cold start time. I've measured it - as have others[1][2].

      You're right that it's not just about the language runtime though. I must admit I'd forgotten about the container spin up et al as well (thankfully the recent ENI fix for VPC lambda's has been released because that was threatening to bite us hard on one project).

      [1] https://mikhail.io/serverless/coldstarts/aws/languages/

      [2] https://levelup.gitconnected.com/aws-lambda-cold-start-language-comparisons-2019-edition-%EF%B8%8F-1946d32a0244

    • soren1Apr 2022

      My experience has been the opposite, with simple python docker containers showing noticeably slower cold starts than python zips. I've also found the size of the zip package matters (smaller is faster). However things change over time, maybe there have been recent improvements?

      Specifically regarding cold starts of lambda instances, I recall this excellent article from Jan 2021 which measures cold start latencies for a variety of AWS lambda runtimes:

      https://mikhail.io/serverless/coldstarts/aws/languages/

      I would love to see a 2022 update.

    • ElFitzNov 2019

      First, caching. Can be done via API Gateway or Cloudfront.

      Second, minimizing the function's code size. Both by making small functions and then optimizing them (there are plugins for the serverless framework to do that)

      Third, using a language with a minimized cold start. Some can have cold start latences lower than 1 second [^1]

      [1]: https://mikhail.io/serverless/coldstarts/aws/

    Related

    Datadog Blogdatadoghq.com262 people

    Husky, Datadog's Third-Generation Event Store

    Datadog Blog
    Company · last shared 2026
    cloudonautcloudonaut.io35 people

    AWS mistakes to avoid

    cloudonaut
    Company · last shared 2024
    Jeremy Dalyjeremydaly.com26 people

    Finding my rhythm again

    Jeremy Daly
    Personal · last shared 2026
    Niko Matsakissmallcultfollowing.com221 people

    Towards a Rust Foundation

    Niko Matsakis
    Personal · last shared 2026
    Jonathan Belottithundergolfer.com19 people

    More than DNS: Learnings from the 14 hour AWS outage

    Jonathan Belotti
    Personal · last shared 2026
    matkladmatklad.github.io237 people

    Architecture.md

    matklad
    Personal · last shared 2026
    Clifford Wolfclifford.at80 people

    Project IceStorm: open-source toolchain for Lattice iCE40 FPGAs

    Clifford Wolf
    Personal · last shared 2021
    TJ Holowaychukmedium.com/@tjholowaychuk36 people

    Introducing Apex – Serverless Architecture with AWS Lambda

    TJ Holowaychuk
    Personal · last shared 2021