#164 — August 21, 2020

Read on the Web

Serverless Status
Serverless news, views, and developments every Friday

Azure Cosmos DB Serverless Now in Preview — Azure Cosmos DB Serverless is now available in preview on the Core (SQL) API, with support for the APIs for MongoDB, Gremlin (graph), Table, and Cassandra coming soon. ‘Serverless’ in this case refers to the consumption-based model adopted, as opposed to having to provision ‘request units per second’ as on standard Cosmos DB.

Micorsoft Azure

AWS Lambda Now Supports Kafka (MSK) as an Event Source — Well, AWS’s managed Kafka anyway (i.e. Amazon Managed Streaming for Apache Kafka or MSK). This opens up another option for building serverless apps on top of streaming data.

Amazon Web Services

Build Better Software with Observability into Microservices — Achieve application health with Thundra on AWS via end-to-end management of microservices. Boost developer productivity by quickly pinpointing issues with distributed tracing and fix with debugging.

Thundra sponsor

Interested in Using Ruby with Google Cloud Functions? — Google is conducting a brief survey on interest in Ruby support on its serverless functions service (with some ‘early access’ tantalizingly offered).

Google

Running Headless Chromium on Azure Functions with Puppeteer and Playwright — With a recent update to Azure Functions, it is now possible to run headless Chromium in the Linux Consumption plan. This enables some serverless browser automation scenarios using popular frameworks such as Puppeteer and Playwright.

Anthony Chu

Cloudflare Workers Gets New and Improved Docs — Following user feedback, Cloudflare has reorganized and reformatted all of its Workers documentation to make it easier to navigate and read. You can see the end results here.

Cloudflare

Debugging AWS Lambda Timeouts — Some tips for how to detect and find the root cause for Lambda timeouts which aren’t much fun to debug at the best of times.

Yan Cui

Using AWS Lambda Layers with AWS Chalice — AWS Chalice is a framework for writing serverless applications in Python that provides familiar, declarative APIs to make the process smoother.

James Saryerwinnie

'Lightweight' Serverless on Your Own VPS with Terraform and faasd — Of course, you could use any VPS, but in this case a DigitalOcean droplet is used with Terraform, a TLS certificate installed, and then you can start deploying code on faasd. Roll your own serverless system!

Alex Ellis

Improving the Serverless Developer Experience with sls-dev-tools — We’ve featured sls-dev-tools (think ‘dev tools for AWS Lambda’) a few times since their release and now there’s a tutorial right on the official AWS blog 😄

Ben Ellerby

Analyze and Debug Serverless Performance in Datadog — Collect custom metrics from serverless functions and correlate them with cold starts to identify customer-facing latency.

Datadog sponsor

Scheduling AWS Lambda Provisioned Concurrency for Recurring Peak Usage — The concurrency of an AWS Lambda serverless function is the number of requests it can handle at any given time, and while serverless is designed to flexibly scale, you might want to use provisioned concurrency to avoid ‘cold starts’.

Jerome Van Der Linden

From Legacy Application to Serverless with EventBridge — A tale of ‘attacking the legacy monster’ and making an application more flexible and extensible by way of Amazon’s EventBridge application event bus.

Marin Radjenovic

What Alerts Should You Have for Serverless Applications? — Having a low MTTR (Mean Time to Recovery) is always a good thing and getting alerted when things go wrong is key to recovering fast. Here are a few of the approaches to alerts you can take when using AWS.

Yan Cui

The Power of Serverless: Taking Visual Regression Tests From 20 Minutes to 10 Seconds — Visual regression tests are awesome, but unfortunately, they can take a considerable amount of time to run. Until now.

Fernando Devegili

Alibaba Midway Serverless v1.0: Node.js Serverless Tooling — A serverless framework used to build serverless functions with Node, currently for Alibaba Cloud and Tencent Cloud only. GitHub repo.

Midwayjs