🎉🎉🎉 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!


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

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

Parameters utility by @NMoutschen helps you fetch one or more parameters from:

👉Parameter Store
👉Secrets Manager
👉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 👇

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

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

Read 5 tweets
Jun 18, 2020
🔥 AWS Lambda Powertools for Python is now GA 🔥

We're now GA with four utilities

🌟Core: Tracer, Logger, and Metrics
🌟Bring your own middleware

Core contributors: @Tom_McC @NMoutschen

More details in this 🧵

#serverless #aws #python
Last year I was fortunate enough to speak at re:Invent about Serverless Architectural Patterns and Best Practices

That preceded the work we've been doing with the AWS Well-Architected Serverless Lens since 201, however there was to it than patterns..

At the end of the session, after lots of water, if you watched ;), I talked briefly that Patterns are important to understand what worked well but we shouldn't hang to it as the ultimate truth

That was the hook for the Serverless Lens that came later

Read 11 tweets
May 29, 2020
As we experience this overexposure of information from all sources at nearly all times, remember that it’s okay to take a break from technology.

It’s okay to take therapy, to read a book that isn’t related to work, to do anything manual, etc

Cultivate your mental health
This isn’t normal times, it’s no longer “working from home” but more like survival while trying to work.

I spent roughly 25 hours just speaking to people this week, and I too feel unproductive - It’s okay to feel that, but we need to talk more openly about this
I heard this from my wife once that resonates deeply during this pandemic among other atrocities out there

“Everyone is suffering by something or got hurt deeply in the past, we just don’t know who wants to expose that”

Empathy goes a long way, speak out, don’t be silent.
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!


0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy


3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!