Process Kinesis Streams with AWS Lambda & Rust

  Рет қаралды 484

James Eastham

James Eastham

Күн бұрын

Hi, I'm James. And in this video you're going to learn how to build a high performance, safe and sustainable stream processing using Rust, AWS Lambda and Amazon Kinesis.
00:00 - Introduction
01:30 - Handling Kinesis events
03:40 - Processing a Kinesis record
06:10 - Handling Errors
09:20 - Build & Deploy
10:20 - Simulate IoT Devices
Links
Serverless Rust Docs - serverless-rust.com
Serverless Rust GitHub - github.com/ServerlessDevelope...
Install Rust - www.rust-lang.org/tools/install
Install Cargo Lambda - www.cargo-lambda.info/guide/g...
Understanding Lambda Invocation Models - aws.amazon.com/blogs/architec...
ColdStart Analysis Query
```
filter @type="REPORT"
| fields greatest(@initDuration, 0) + @duration as duration, ispresent(@initDuration) as coldstart
| stats count(*) as count, pct(duration, 50) as p50, pct(duration, 90) as p90, pct(duration, 99) as p99, max(duration) as max by coldstart
```
Web - jameseastham.co.uk
Twitter - / plantpowerjames
LinkedIn - / james-eastham

Пікірлер: 3
@DerekMurawsky
@DerekMurawsky 9 күн бұрын
Great pattern, I like how it's so cleanly implemented in rust. Now make a CDK stack! 😃
@serverlessjames
@serverlessjames 8 күн бұрын
As in a CDK stack automating all of this? Or a CDK for Rust? 😂
@serverlessjames
@serverlessjames 7 күн бұрын
@@DerekMurawsky I don't see the CDK supporting Rust in the near future, but I hope I'm wrong. At the moment the best solution I've found is to write CDK code in another language, and your functions in Rust. It doesn't need to be TS either. You could use any of the CDK supported languages for writing the CDK stuff.
Should You Run An Entire Web Application in AWS Lambda?
13:19
James Eastham
Рет қаралды 1,7 М.
Why JavaScript Devs are Switching to Rust in 2024
10:35
warpdotdev
Рет қаралды 253 М.
Как бесплатно замутить iphone 15 pro max
00:59
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 8 МЛН
Stop, Intel’s Already Dead! - AMD Ryzen 9600X & 9700X Review
13:47
Linus Tech Tips
Рет қаралды 914 М.
Chunked Responses: Scaling File Exports for Production
8:27
Code & Stuff
Рет қаралды 737
Compiler-Driven Development in Rust
13:11
No Boilerplate
Рет қаралды 50 М.
A Deep Dive into Node.js Streams | Masterclass
1:15:46
Platformatic
Рет қаралды 9 М.
GO without SERVERS? How to Deploy Go to Lambda
15:47
Melkey
Рет қаралды 17 М.
Build Request/Response integrations in an asynchronous world
10:19
Rust On AWS (Really FAST Lambdas)
10:34
Code to the Moon
Рет қаралды 65 М.
The moment we stopped understanding AI [AlexNet]
17:38
Welch Labs
Рет қаралды 862 М.
📱магазин техники в 2014 vs 2024
0:41
djetics
Рет қаралды 706 М.
Запрещенный Гаджет для Авто с aliexpress 2
0:50
Тимур Сидельников
Рет қаралды 1,1 МЛН
Ba Travel Smart Phone Charger
0:42
Tech Official
Рет қаралды 1,2 МЛН
Bluetooth connected successfully 💯💯
0:16
Blue ice Comedy
Рет қаралды 2,1 МЛН
$1 vs $100,000 Slow Motion Camera!
0:44
Hafu Go
Рет қаралды 29 МЛН
low battery 🪫
0:10
dednahype
Рет қаралды 1,8 МЛН