Why and how to optimize your Lambda

This page summarizes the projects mentioned and recommended in the original post on dev.to

SurveyJS - JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor
Keep full control over the data you collect and tailor the form builder’s entire look and feel to your users’ needs. SurveyJS works with React, Angular, Vue 3, and is compatible with any backend or auth system. Learn more.
surveyjs.io
featured
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io
featured
  1. node-mysql2

    :zap: fast mysqljs/mysql compatible mysql driver for node.js

    Unfortunately, ESM is not a silver bullet, and I ran into some issues. For example, running the mysql2 in ESM was not possible. Make sure to test everything properly. I wrote a more extensive blog post about ESM vs CJS.

  2. SurveyJS

    JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor. Keep full control over the data you collect and tailor the form builder’s entire look and feel to your users’ needs. SurveyJS works with React, Angular, Vue 3, and is compatible with any backend or auth system. Learn more.

    SurveyJS logo
  3. hono

    Web framework built on Web Standards

    Especially in the Node.js ecosystem, there are numerous alternatives to choose from. When selecting an Express alternative, check out HonoJS. Not because the syntax is similar to ExpressJS, but the bundle is only 19 KB 🤯 When using Zod 4, consider Zod mini.

  4. aws-lambda-power-tuning

    AWS Lambda Power Tuning is an open-source tool that can help you visualize and fine-tune the memory/power configuration of Lambda functions. It runs in your own AWS account - powered by AWS Step Functions - and it supports three optimization strategies: cost, speed, and balanced.

    Lambda Power Tuning is a fascinating project that operates your Lambda with varying memory sizes and presents a chart. It displays the execution time and costs based on the memory size (see below). How to interpret the chart above: execution time goes from 35s with 128MB to less than 3s with 1.5GB, while being 14% cheaper to run4.

  5. esbuild

    An extremely fast bundler for the web

    I recommend using NodeJS, not because it fits the event-driven, non-blocking model, but because it is very well-suited for reducing file size by bundling the code. Esbuild is a great tool to bundle your Lambda. It is already included in the CDK construct NodeJSFunction when using AWS CDK, and you don't need source maps, at least not in production.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • A Simple Approach to SSR with React 19 and esbuild

    5 projects | dev.to | 23 Dec 2024
  • How to Build a Secure ENS Domain Registration App with React and Wagmi

    2 projects | dev.to | 7 Mar 2025
  • Building an Interactive Crypto Trading Chart with React and TypeScript

    2 projects | dev.to | 9 Feb 2025
  • Build a React App to Track EVM Trades Using Alchemy and RadzionKit

    2 projects | dev.to | 2 Feb 2025
  • Build a Trustless React App to Swap EVM Assets for Bitcoin via THORChain

    2 projects | dev.to | 28 Jan 2025

Did you know that JavaScript is
the 3rd most popular programming language
based on number of references?