DZone

Serverless functions are driving the fast adoption of DevApps development and deployment practices today. To successfully adopt serverless functions, developers must understand how serverless capabilities are specified using a combination of cloud computing, data infrastructure, and function-oriented programming. We also need to consider resource optimization (memory and CPU) and high-performance boot and first-response times in both development and production environments. What if we didn’t have to worry about all of that?

In this article, I’ll walk you through two steps to write a serverless function with super fast boot and response times and built-in resource optimization. First, we’ll use a pre-defined Quarkus function project template to write a serverless function. Then, we’ll deploy the function as a native executable using Red Hat OpenShift Serverless. With these two steps, we can avoid the extra work of developing a function from scratch, optimizing the application, and deploying it as a Knative service in Kubernetes.

Source: DZone