Heitor Lessa Profile picture
Nov 21, 2019 3 tweets 2 min read Read on X
🎉🎉🎉 AppSync... again!

🤯 #GraphQL Server side Caching at API and Resolver level
🔥 #DynamoDB Transactions

That means faster queries, cache per user, per argument, and DynamoDB all-or-nothing operations across tables

And that isn’t even reinvent yet 👌
#serverless #aws

👇
@ednergizer don’t know who are the engineers who worked on that feature but please passed our congrats to them.

Another #awswishlist
Did I also say that Caching is already supported in CloudFormation too?

🤘

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Heitor Lessa

Heitor Lessa Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @heitor_lessa

Dec 13, 2023
@LeoCDamascena @hugaomarques @JeffQuesado @ocodista Vou responder amanhã pq precisaria de ~15 tweets pra explicar que

- custo é uma dimensão ampla; em todos os casos que vi em 8 anos de Serverless, computação eh um dos menores custos

- cold start representa <1% em todos os clientes em produção desde 2015

- Serverless != Lambda
@LeoCDamascena @hugaomarques @JeffQuesado @ocodista A dificuldade deste tipo de conversa em várias profissões de TI é que a tomada de decisão não vai envolver algo tão simples como requisições por segundo

A dificuldade está em “custo de oportunidade”

Pra dev, eh mais “barato” recriar S3
Pra ops, eh mais “barato” recrie RDS etc.
@LeoCDamascena @hugaomarques @JeffQuesado @ocodista Vamos lá, como prometido, vai ser uma longa thread pq este assunto não é simples -- mesmo assim vou resumir bastante, pergunte se tiver duvida

1) Toda decisão de engenharia é uma decisão de compra

2) Lambda fez 9 anos 🎂: de automação ate negócios inteiros em Serverless

1/
Read 32 tweets
Jul 20, 2023
At last, I can break out the news that...

Powertools for AWS Lambda is now an official AWS team!!!!!!!

This secures:

🤩 Long-term project sustainability
🤩 Feature parity across languages
🔥 New home
🚀 Plan beyond Lambda

1/

#aws #serverless https://t.co/NyuGi1DJlkdocs.powertools.aws.dev
Powertools for AWS logo
The public beta went out at re:Invent 2019 as a humble demo for Tracer, Logger, Metrics

Powertools for AWS Lambda (Python) started with Observability

We wanted to help customers implement AWS Well-Architected Serverless Lens practices in < 5 minutes

2/

With hundreds of contributions, we started tackling one Well-Architected Serverless Lens practice at a time

🚀 Partial failure in Batch Processing
🚀 Idempotency
🚀 Data validation, and more

Until you could meet all software practices in < 1 hour. It blew up in popularity

3/ Image
Read 9 tweets
Nov 28, 2020
@productiveprog @paulswail @theburningmonk I sincerely don’t even know where to begin to list all caveats with single table, but to ask one question first:

Why do you need a single table design?

single table requires significant engineering effort, onboarding, harder to operate and change, and build your own tooling
@productiveprog @paulswail @theburningmonk Single table patterns are great because it shows the power DynamoDB has - it does not mean you need to put all your data into a single table. You could have a single table per service, or use patterns of a single table in multiple tables

GraphQL solves the data access issue
@productiveprog @paulswail @theburningmonk What I barely see out there is - what is the cost of change in a single table design if there’s a new requirement now?

How do you handle DynamoDB Streams in a single table? Simply filter everything you don’t want on a busy stream?

What benchmarks and costs are out there?
Read 8 tweets
Oct 1, 2020
hey @darkosubotica thanks a lot for helping promote Lambda Powertools. It made my day, and possibly @NMoutschen and @Tom_McC too

We haven't promoted the latest utilities but ICYMI, check the Utilities section with the latest good practices

/1
awslabs.github.io/aws-lambda-pow…
Parameters utility by @NMoutschen helps you fetch one or more parameters from:

👉Parameter Store
👉Secrets Manager
👉DynamoDB
👉Your own provider (S3, AppConfig, etc.)

Docs: awslabs.github.io/aws-lambda-pow…
Batch utility by Guilherme (a customer), allows you to handle partial failures when using Lambda with SQS

Successful messages are deleted from the queue, and only failed messages are retried - Great when you can't implement idempotency

Docs: awslabs.github.io/aws-lambda-pow…
Read 8 tweets
Sep 26, 2020
LOL quite the contrary... having anxiety and being anxious are not the same.

Comments like these tend to share simplistic solutions. It actually makes matters worse and don’t help the mental illness discussion we should be having

Go see a professional (therapist), not a coach
Other unhelpful comments to those with anxiety, general anxiety disorder, etc

Why are you so organised?
Why cant you finish one thing before jumping to the next?
You seem to take a lot on yourself, try relaxing a bit
Why do you always have a plan B, and C for everything?
A few others

Why do you always have to check the door three times?
Why can’t you disconnect for a bit?
You should try meditation, it’ll put things in order
Why can’t you relax for a bit?
X hasn’t happened yet, why are you so worried/obsessed with it?

It’ll be over by tomorrow..
Read 7 tweets
Jul 31, 2020
[Serverless Python Tip with SAM]

If you're trying to share code as well as common libraries across a few functions within your project - Check this out

You can use a local path to include requirements.txt, and additional local packages you want 👇

github.com/aws-samples/aw…
However, by only using Lambda Layers it'll break your autocompletion when developing locally incl. tests

For VS Code, you can extend PYTHONPATH by simply adding a `.env` file at the root of your project

👇 /2

github.com/aws-samples/aw…
As for your tests, you'll also have to include that path within your test runner (pytest:conftest.py) or add it programmatically via sys path like this

github.com/aws-samples/aw…
Read 5 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(