All Node.js > Serverless with Node.js

Serverless with Node.js

Node.js's speed, efficiency, event-driven nature, extensive library ecosystem, and developer-friendliness
make it a top choice for serverless computing, enabling you to build cost-effective,
highly responsive, and scalable applications in the cloud.

Serverless is a powerful and popular paradigm where you don’t have to worry about managing and maintaining your application infrastructure. In the serverless context, a function is a single-purpose piece of code created by the developer but run and monitored by the managed infrastructure. A serverless function’s value is its simplicity and swiftness, which can entice even those who don’t consider themselves developers.

Why serverless Node.js

Node.js is a great choice for building serverless applications, largely in part because of its event-driven, non-blocking I/O model. Coupled with Node.js’s fast start time and a large ecosystem of packages, it makes it a well-suited candidate for running your serverless workloads.

Developer tools

 

Developer tools

Red Hat’s developer tools for Node.js make it easier to create, build, and run Node.js and TypeScript functions in local development and cloud production environments, using tools like Docker, Podman, kn, and the faas-js-runtime

Web

 

Web apps

Evolve your existing HTTP-based microservices to serverless functions that scale down to zero automatically. Get faster startup and response times with small memory footprints using Node.js.

Get Started with Node.js serverless functions on OpenShift

openshift-serverless-fucntions_1x.png

Create your first Serverless function with Red Hat OpenShift Serverless Functions

Opossum_Circuit_Breaker_in_Nodejs_A.png

Node.js circuit breakers for serverless functions

CloudEventsJs_2x.png

An introduction to JavaScript SDK for CloudEvents

nodejs-reference-architecture_1x.png

Node.js serverless functions on Red Hat OpenShift - Part 1: Logging

default

Node.js serverless functions on Red Hat OpenShift-Part 2: Debugging locally

2021_Apache_Node.js_A-01.png

Node.js serverless functions on Red Hat OpenShift-Part 3: Debugging on a cluster