A serverless environment built on Kubernetes that operates inside the Salesforce CRM platform was introduced by Salesforce at the Dreamforce 2019 conference. In addition, Salesforce added to the capabilities of its platform with Evergreen, a dependable method for creating complex and exciting digital experiences.
The newest component of the Customer 360 Platform, Salesforce Evergreen, uses serverless operations built on fully managed Kubernetes, support for available programming languages, and high-performance data stores.
By bringing in and adding a whole new dimension to the platform, Evergreen supports technologies and architectural patterns that increase the productivity and happiness of development teams by providing features like:
Writing business logic and event processing in languages like Node.js, Java, and Apex while utilizing the full potential of those languages’ package ecosystems is possible with functions-as-a-service. Apex, Lightning Web components, the no-code Flow Builder, and many more invocation kinds and event sources will soon support direct function invocation.
Microservices for developing serverless HTTP apps and APIs can be quickly generated by small agile teams and assembled into complex, compelling digital experiences. Services and functions are serverless, use no resources when not in use, and scale flexibly and automatically as demand increases.
For high-performance persistence and real-time eventing, managed data stores like Postgres, Apache Kafka, and Redis complement the Salesforce Data APIs.
Evergreen offers a foundation for integrating the original platform idea, a history of encouraging low-code development, and the most recent Heroku development techniques.
Evergreen, built on Kubernetes, balances access and control over scalable container technology by offering a fully managed serverless service run by Salesforce. With the help of this service, you may concentrate more on innovation than infrastructure maintenance. Because apps, functions, and services can be created using widely used available technologies, tools, and languages, Evergreen opens Salesforce development to any development team.
It is game-changing because it gives developers access to all of the current ecosystems of functionality by allowing them to design these services using Java and Node.js, which are already established programming languages. For instance, npm, the Node.js package ecosystem, has a neighborhood of a million packages that span a wide range of functions, from CSV parsing to offering random jokes. Furthermore, nearly all of these libraries become usable in conjunction with your current Salesforce applications because all the plumbing and authentication are taken care of for you! Include what you require while utilizing the available tools, and you’re ready to start.
Similarly, you can convert a sophisticated Java function from an existing application into an Evergreen function and make it available inside Salesforce! Even though Apex is a fantastic language, there are some things that Java or Node can perform better. With the ability to use these languages, js will be a better tool for enabling you to do more with your Salesforce data.
Another significant upgrade, Evergreen, enables Salesforce platform developers to work directly in well-liked open-source languages. As a result, point-and-click tools can be used to create workflows that call Java or Node.js functions or Lightning or Apex applications, breaking down barriers between various development environments. It will make it easier for Salesforce administrators and developers to create unique applications and workflows.
By default, it employs the platform integration user, whose access is regulated by a Permission Set.
A sync runtime of 2 minutes and an async runtime of 15 minutes.
Supports 6MB inbound (Payload) and m outbound (Response) in sync and 12MB inbound and outbound in async.
A total of 235,000 requests are permitted per 24-hour period.
It has its own computing space and does not affect the organization’s overall performance.
Its performance can be increased dynamically to meet the requirements.
Support for many languages (for example, Java, JS/TS**).
Excellent for complicated workloads such as machine learning applications, image editing, etc.
Compared to alternative solutions such as AWS Lambda, security and authentication are taken care of.
The UOW (Unit of Work) class is introduced for numerous DML requests.***
** There are nearly one million node modules in the world.
*** The Composite Graph API limits units of Work.
In summary, Salesforce Functions Evergreen stands as a transformative platform, enabling seamless development and management of serverless functions. Its integration prowess and rich features mark a significant leap in modern application development, promising to reshape serverless computing’s future.