top of page
  • Writer's pictureArup Roy

Salesforce Evergreen 🎯 - The best way to build Deep and Engaging Digital Experiences for Customer.

Updated: Nov 25, 2019

A developer preview of Evergreen will be available with the Spring ’20 release in February.

A new addition to the Customer 360 Data Manager Platform (Cross-Cloud Technology initiative that makes B2C Marketing, Commerce, and Service products work together in better way) that brings in serverless functions based on fully-managed Kubernetes (i.e. an open-source container-orchestration system for automating application deployment, scaling, and management.) that support for open programming languages and commonly used high act data stores.

Evergreen will support such Technologies and Architectural Patterns that make developer teams comfortable and more productive.


There are Three segment that represent Evergreen approach:

💦 Functions-as-a-Service (FaaS) : This segment used for writing business logic and event processing in different programming languages such as Node.js, Java, Apex, etc and will use the full power of those language’s package ecosystems. Here “Functions” can be triggered directly from Apex or using any Platform Events with many more invocation types and event sources.


💦 Microservices : To building serverless HTTP apps and APIs that can be quickly expand by small agile teams and composed into complex, engaging digital experiences. Here Services and Functions are serverless, consume no resources when in idle state it automatically and elastically scale with traffic.


💦 Managed data stores : It Manage data stores / stream-processing software like Postgres, Apache Kafka (a high throughput distributed queue which is built for storing a large amount of data for longer periods of time.) and Redis (short-lived messages and persistence aren't required. ) that complement the Salesforce Data APIs for high-performance persistence and real-time eventing.


Evergreen is a seamless part of the Salesforce platform and no extra authentication or networking setup is required.

In a bird view, Developers can Invoke Native Function in the form of Apex, Platform Event or LWC (Lightning Web Component), etc. Execute logic in Serverless Container, Org Context sync with Manages Data Stores and at the end write back the Updates.



Image source: salesforce.com

Evergreen is based on Kubernetes (i.e. an open-source container-orchestration system for automating application deployment, scaling, and management.) and balances control, access to scalable container-orchestration system by providing a fully managed Serverless service operated by Salesforce.

Evergreen is another way through which Salesforce open the Salesforce Specific development to the developers who working on others open source language, because here Apps, Functions and Services will be develop in such languages, tools and technologies.


💡 In Dreamforce 2019, a keynote demo illustrated that “How to build a modern guest check-in experience using Evergreen”. In the demo, the Lightning Platform is used to quickly create an employee-facing iOS app for managing housekeeping and room-readiness and that is seamlessly extended with event-driven functions running on Evergreen. When housekeeping marks a room as ready using the employee app, a platform event triggers a Node.js function that uses guest-context to send a tailored real-time notification letting the guest know that the room is ready for early check-in.


At the end of the stay, the Salesforce Flow powering the guest checkout can call out to a different function with invoicing details. The Node.js function can use the invoice details and an npm PDF module to quickly generate a bill.


✔️ Here’s the sample function that receives the request as a CloudEvent (Its seeks to ease event declaration and delivery across services, platforms and beyond) fetches additional data, generates a PDF and adds a link to the PDF from the guest booking record:


Functions running on Evergreen idle when not in use and automatically scale to handle any invocation load or event throughput. Functions are easy to build from source with Cloud Native Buildpacks and developers are free to use any supported programming language and to pull in any package or library that’s going to help them get their job done.


📌 Evergreen is the newest addition to the Salesforce Platform, combining Heroku’s decade-long experience building scalable container runtimes and high-performance data stores with Lightning tools and features. The unique combination of serverless, elastic container technology and seamless access to customer data and low-code business logic makes Salesforce the obvious place to build and run the differentiated digital experiences that impress the customers, partners and employees.



558 views0 comments

Comments


bottom of page