Have your Serverless Kotlin Functions and Eat Them Too | Andrew O'Hara

Sdílet
Vložit
  • čas přidán 22. 06. 2024
  • Recording brought to you by American Express. americanexpress.io/kotlin-jobs
    It’s a sad reality that JVM functions have poor cold-start performance on serverless platforms, like AWS Lambda. You may have been tempted to compile your jar to a native image, or to pay extra to keep your functions warm. You may have decided that serverless is only suited to asynchronous tasks without latency requirements. But it doesn’t have to be this way.
    You can have your Kotlin Functions and you can eat them too. You can run an entire API service; but only if you design it right. In this talk, I’m going to teach you how to minimize your function’s init phase, abandon your heavyweight dependencies, and even eliminate the need for reflection. When we’re done, you won’t have to settle for other languages.
    #kotlinconf #kotlin
  • Věda a technologie

Komentáře • 9

  • @oharaandrew314
    @oharaandrew314 Před 17 dny +12

    Thanks for having me, JetBrains! Let's do this again next year.

  • @clurigaconrad
    @clurigaconrad Před 8 dny +1

    One of the more interesting talks of the conference!

  • @mohammadkarami8077
    @mohammadkarami8077 Před 18 dny

    Thanks a lot man ❤
    U did great

  • @kino_cinante
    @kino_cinante Před 17 dny +1

    If you are using thinking of using severless for internal work that is not latency sensitive why not just go straight for a monolith with queues...

  • @b0roovka
    @b0roovka Před 18 dny

    Really nice talk :)

  • @Kiet1
    @Kiet1 Před 18 dny

    good talk

  • @suhuy2008
    @suhuy2008 Před 18 dny +10

    Looks impressive until you realize that Go and Rust are 20ms, still 10x faster.
    Maybe Kotlin native can be comparable to Go when it supports AWS SDK and lambdas.

    • @robchr
      @robchr Před 17 dny +3

      Pressing x to doubt without some real world benchmarks for these claims. Maybe Rust can startup that fast but even Go has overhead.