In this article you’ll find out how to 10x your development speed with local serverless debugging.

Questions such as “what happens when you scale your application into millions of requests?”, “what to expect when going serverless?”, “how does it look like?”, or “how is it to build applications on serverless and work locally?” will be addressed.

In the development world, the ultimate goal is to increase the business value that you can add to your product. And that’s the whole goal of this article — show how to increase development speed to reach that goal faster.

As everything good in life, serverless also comes with its downsides. One of them is the infamous “cold start”. In this article, we’ll cover what they are, what influences serverless startup latency, and how to mitigate its impacts in our applications.

What is a cold start?

Cold start refers to the state our function when serving a particular invocation request. A serverless function is served by one or multiple micro-containers. When a request comes in, our function will check whether there is a container already running to serve the invocation. When an idle container is already available, we call it a “warm” container. …

Serverless lets you deploy applications far away in a data center of a cloud provider. This relieves you of the lion’s share of operational burdens. The more you buy into your cloud provider’s ecosystem, the less you have to do yourself: no more OS updates or database bugfix installations.

But you still need to do some operation-related work on your own. For instance, monitoring your application to know what’s going on in that far away data center.

Usually, the monitoring journey of a new software product in the cloud goes like this:

The first version gets built with just basic…

Another generic error message from our favorite FaaS provider AWS Lambda.

And again, there are multiple reasons why this issue could arise. Let’s first look at the basics of AWS Lambda to get a better intuition for when things go wrong later.

AWS Lambda is Asynchronous

Lambda is an asynchronous event-based service at heart. The Lambda service asynchronously calls your functions — this doesn’t mean that all events are handled asynchronously, but relates mainly to the programming model you have to use inside your function.

This shouldn’t be confused with the event handling of Lambda, which can be synchronous and asynchronous.

In synchronous event…

When building serverless applications, Lambda functions often form the backbone of the system. They might provide just a few lines of code, but these lines are usually what hold the whole architecture composed of many managed services together.

Event-driven architecture is what this style is called, and it’s most prevalent in serverless applications. API gateways collect requests from your users, convert them to events, and send these along the way. Sometimes an upstream service, like DynamoDB or SQS, can handle such an event directly to save on Lambda invocation costs.

More often than not, we need to apply some validation…

For the original article head to the Dashbird blog: https://dashbird.io/blog/aws-serverless-updates-2021/

In this article, we’re covering all the latest updates from AWS in 2021 that all serverless builders should be aware of.

Before we start, let’s recall a few significant updates in serverless, announced at re:Invent 2020. One of the things that we see is that agility is really one of the primary drivers to one’s workload in the cloud and serverless is a good example of this.

But the discussion often starts with cost.

At re:Invent 2020, AWS announced that Lambda has its billing granularity reduced to one millisecond. And…

The new Dashbird app is bringing your data together for a faster, more secure, and smoother observability experience with team collaboration in mind.

The enhanced version of the Dashbird app is making your account more secure and your app navigation and data exploration faster, more intuitive, and all-around enjoyable. Additionally, you can now enable multi-factor authentication (MFA) for your Dashbird account. Check it out now!

New to Dashbird? Sign up for a free account.

Dashbird app got a facelift

We gave the whole Dashbird app a completely new and cleaner look and restructured the navigation experience to make understanding your data even easier and quicker.

Host and manage multiple AWS accounts in one place

This article was originally published at https://dashbird.io/blog/nosql/

NoSQL is a database management system that exists as an antithesis to SQL, in that it doesn’t store data in a relational model. As such, data can essentially be stored as anything, in any way a developer chooses, within reason of course. This flexibility comes from the fact that NoSQL doesn’t require a schema in the same way that SQL does.

Originating back in the early 1970s, NoSQL didn’t gain recognition until the early 2000s when both Google and Amazon heavily started investing into R&D. …

Originally published at https://dashbird.io/blog/resolve-all-api-gateway-errors/

Adding an API Gateway to your application is a good way to centralize some work you usually have to do for all of your API routes, like authentication or validation. But like every software system, it comes with its own problems. Solving errors in the cloud isn’t always straightforward, and API Gateway isn’t an exception.

AWS API Gateway is an HTTP gateway, and as such, it uses the well-known HTTP status codes to convey its errors to you. …

A few weeks ago, we posted the “How we built a serverless Stonks checker API for Wall Street Bets” article. And ever since, we’ve seen quite a lot of volume in the Stonks checker app. In this follow-up article, we will show you some interesting findings around the API.

Last Two Weeks Summary

Over the past three weeks, we have seen a good amount of usage of the API we set up. You can see that there was a nice spike soon after the story broke. To note is that we have HTML caching setup in the returned value from the Lambda function. …

Taavi Rehemägi

CEO & Co-Founder at Dashbird.io — serverless visibility and troubleshooting.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store