How to Deploy Scala Code to AWS Lambda - a Tutorial | Rock the JVM

  Рет қаралды 5,827

Rock the JVM

Rock the JVM

Күн бұрын

Пікірлер: 19
@MrRobmango
@MrRobmango 4 жыл бұрын
Thanks for the introduction to lambda! I need to write one of these soon. Surprised how simple it is.
@viddyasagarverma3722
@viddyasagarverma3722 4 жыл бұрын
Thanks for another wonderful tutorial on Scala.
@01loicd
@01loicd Жыл бұрын
Very useful thanks!
@expacz2506
@expacz2506 4 жыл бұрын
very good content on your channel as well as udemy course on Scala, great job!
@rockthejvm
@rockthejvm 4 жыл бұрын
Thanks!!
@kevalan1042
@kevalan1042 3 жыл бұрын
Thanks, interesting tutorial. Why is Java 8 preferred?
@rockthejvm
@rockthejvm 3 жыл бұрын
Java 8 is getting a bit old. You can also use newer JDKs.
@ForestHensley
@ForestHensley 2 жыл бұрын
Excelente! Gracias.
@alexperit
@alexperit 2 жыл бұрын
How actually call this AWS lambda from the Scala code through REST API ? Since it is not useful to have it just for manual performing
@fredysierra
@fredysierra 4 жыл бұрын
man.. great content!
@rockthejvm
@rockthejvm 4 жыл бұрын
Glad you like it! More incoming!
@UCTNX4PiSl496AhgUyGlB5wg
@UCTNX4PiSl496AhgUyGlB5wg 4 жыл бұрын
How you are debugging this ?
@daniellopes6874
@daniellopes6874 4 жыл бұрын
Billed 1300ms, that is why the JVM should be avoided as the backend for a Lambda function. JVM cold start times are horrible. Does the time improve if you repeat the requests, do they keep the JVM hot for repeated calls at least for a certain amount of time? Could you look into GraalVM and retry with the compiled (to native?) code :-)?
@rockthejvm
@rockthejvm 4 жыл бұрын
This is a really interesting point - I'll do a comparison in a future video. Also, being naive (thought it was obvious), the video did not have a warning that running code on AWS costs money (only a little, but still). Added the warning into the description.
@UCTNX4PiSl496AhgUyGlB5wg
@UCTNX4PiSl496AhgUyGlB5wg 4 жыл бұрын
Although Scala is powerful functional programming language, spring cloud functions with AWS adaptor on Graal VM will be game changer.
@daniellopes6874
@daniellopes6874 4 жыл бұрын
There are better suited (and easier to learn) languages like python, javascript (node), go and rust. So I doubt the game changing. But I am biased as I do not like the spring vendor lockin and the way spring does its magic things with reflection and a gazillion annotations.
@matteocossu3535
@matteocossu3535 4 жыл бұрын
I agree that running JVM on Lambda is not ideal, but not always a bad choice. When dealing with multiple requests around the same time, often the same JVM instance is reused. We can use this also to keep in memory objects between different calls of the same function. At the moment, AWS also offers "Provisioned Concurrency" to provision lambdas in advance (at a cost) and reduce cold-start problem. Using this, some people are even launching heavy stuff like Spring Boot. Maybe this example is too extreme, but I wouldn't say that we should never use JVM for Lambda :)
@msp767
@msp767 3 жыл бұрын
@@rockthejvm did you ever do that follow-up video?
Value Classes in Scala | Rock the JVM
22:27
Rock the JVM
Рет қаралды 5 М.
Self-Types in Scala - the Why and the How | Rock the JVM
14:57
Rock the JVM
Рет қаралды 8 М.
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН
8 Design Patterns | Prime Reacts
22:10
ThePrimeTime
Рет қаралды 450 М.
How To Call a REST API In Java - Simple Tutorial
29:14
Coding with John
Рет қаралды 290 М.
Scala 3: Opaque Types | Rock the JVM
18:15
Rock the JVM
Рет қаралды 6 М.
Thoughts About Unit Testing | Prime Reacts
11:21
ThePrimeTime
Рет қаралды 240 М.
What the Functor? | Functors in Scala | Rock the JVM
24:43
Rock the JVM
Рет қаралды 12 М.
I built 10 web apps... with 10 different languages
14:23
Fireship
Рет қаралды 1,7 МЛН
Idiomatic Error Handling in Scala | Rock the JVM
26:45
Rock the JVM
Рет қаралды 9 М.
Objects and Companions in Scala | Rock the JVM
14:01
Rock the JVM
Рет қаралды 9 М.
Types, Kinds and Type Constructors in Scala | Rock the JVM
17:53
Rock the JVM
Рет қаралды 7 М.
ЛИТВИН / ПРАНК С ГРИМОМ / Shorts #upx #shorts
0:59
(✋❌)kageihina VS siajiwoo VS meosimmyyt VS oxzung#tiktok #shorts
0:12
три кошака и ростелеком
0:26
Мистер Денала
Рет қаралды 2,4 МЛН