Skip to Content

 

About serverless

Before I dive a bit deeper into SAP Cloud Platform Functions and the role of it within SAP I want to spend some words on serverless in general.

Of course, you can find thousands of definitions available as blogs, talks or videos explaining all the details about serverless, but here is my personal summary: serverless is first of all a commercial model. The cost of a serverless service is directly related to the usage: if there is low usage, the costs for customers need to be low as well. Secondly, serverless is about simplicity: simple to develop and simple to manage. Simple to develop, because you don’t need to deal with servers and so a lot of (boilerplate) coding is avoided. Simple to manage as with serverless you don’t need to manage any servers at all. The task of operating servers at given SLAs (Service License Agreements) such as scaling them up and down is provided completely by the cloud provider – SAP Cloud Platform. This shifts a lot of responsibilities from customers to SAP. As a result, the customer can focus on pure business functionality. Frankly, some will say: like in the good old ABAP and there is some truth in this.

The technical implications

Technically, there must not be a difference between using a Platform-as-a-Service (PaaS) or a serverless model. In serverless the customer should be able to use the same programming model and use the same internal or external services no matter whether they are built with a serverless or a non-serverless approach. This means also that in principle serverless can be mixed with non-serverless and vice-versa. The world will be hybrid for the next few years or centuries and serverless will embrace an open ecosystem.

In contrast, the technical implications of serverless for SAP are huge. With the shift of the above-mentioned responsibilities SAP needs to deal with the costs of idling resources. This is why we need to think about optimizing the infrastructure and architecture, so that we can react on changes in usage patterns very quickly to ensure defined SLAs. SAP needs to deal with bursts during e.g. Christmas time and scale down as soon as the load is reduced again to save costs.

The role of Functions in general and for SAP specifically

Some use the term Function-as-a-Service (FaaS) and serverless equivalently, but this is not precise enough. As explained serverless defines a set of general principles being not restricted to one type of service only. Serverless principles are in reality applied to all kind of services: database services, pub-sub and big data to name only a few. These services can be considered as immutable building-block services.

The goal for SAP is that we are capable to spin up instances of these services in masses in a short period of time to run them in a very cost-efficient way. SAP Cloud Platform Functions is the recommended way to write the coding in order to connect and orchestrate serverless or non-serverless services and so create a new microservice, an extension or a complete application.

In essence, the role of Functions is to run logic in the most efficient manner as well as a serverless database service focusses only on persisting data.
Serverless (building-block) services are typically designed to do a single task extraordinary well. An application based on serverless principles consists of a smart combination of serverless services meshed by FaaS. As a result, customers get a fully managed and scalable application with a transparent pay-per-use model. However, a customer will be able to switch for any reason partially or completely to a non-serverless approach at any point in time.

The nature of serverless functions being an ephemeral and well isolated runtime which can be scaled up and down instantly, makes it a perfect fit for extensions. Industries, customers or partners can plug in their custom code to adapt the standard solutions to their specific needs. The Cloud Platform Extension Factory will simplify the E2E-development process to build extensions for e.g C/4HANA using Functions. Furthermore, Software-as-a-Service solutions such as S/4HANA or Successfactors will benefit by “outsourcing” custom code to dedicated scalable SAP Cloud Platform Functions.

All in all, I am convinced that SAP Cloud Platform Functions are well suited to provide solutions for a lot of use cases and challenges. Therefore, I am happy to announce its availability now.

Kindly,

Joerg

 

Additional links:

To report this post you need to login first.

3 Comments

You must be Logged on to comment or reply to a post.

  1. Rui Nogueira

    It’s so cool to see various pieces coming together to deliver a light-weight way of creating event-driven functions on SAP Cloud Platform. There will be much more to come in next months.

    Looking forward to see the GA version of SAP Cloud Platform Functions.

    Best,
    Rui

    (0) 
  2. Krasimir Semerdzhiev

    We’ve been missing functions as a lightweight construct in the SAP CP extensibility story for a long time. Combined with a pub/sub bus – it’s really exciting to see the story evolving and maturing forward!

    #kudos to the whole team behind it!

    (0) 
    1. Joerg Singler Post author

      Thanks Krassi and yes, we are fully committed to contribute to the SAP CP Extension Factory. I am convinced that this will make the approach to create extensions for industries, partners and customers extraordinary simple.

       

      (0) 

Leave a Reply