• Home
  • >
  • Software Development
  • >
  • IBM Delves into Serverless Function Orchestration with the Open Source Composer Tool – InApps Technology 2022

IBM Delves into Serverless Function Orchestration with the Open Source Composer Tool – InApps Technology is an article under the topic Software Development Many of you are most interested in today !! Today, let’s InApps.net learn IBM Delves into Serverless Function Orchestration with the Open Source Composer Tool – InApps Technology in today’s post !

Read more about IBM Delves into Serverless Function Orchestration with the Open Source Composer Tool – InApps Technology at Wikipedia

You can find content about IBM Delves into Serverless Function Orchestration with the Open Source Composer Tool – InApps Technology from the Wikipedia website

As developers grow increasingly comfortable with using cloud-based serverless or “function-as-a-service” services,  they may be finding that coordinating their collection of functions is, in itself, a growing task.

To this end, IBM Research has developed new software, called Composer, that provides a way to easily orchestrate the operation of many serverless jobs running on IBM Cloud Functions service or IBM’s open source serverless software Apache OpenWhisk. Much like Kubernetes provides a way to orchestrate the operations of large number of containers, so too can Composer can link together serverless functions into complex applications.

“Building complex applications is more than just writing simple functions. You may have dozens of functions,” said Paul Castro, a research staff member from IBM Research, who worked on Composer. The developer would have to find a way to “stitch these functions together,” namely by specifying the control flow of how the functions work together, as well as establish the conduits that would be needed to pass the data around. Moreover, developers will be needing a way to show how multiple functions, and other resources, are composed together.


Before Composer, developers would have to write out the coordination code as client-side scripts, or embed the control flow within the functions themselves, Castro said. Composer differs from others, such as Microsoft’s Azure Functions, in that it does not rely on functions to call out to other functions directly. This approach abstracts out the flow for the entire application.

Read More:   As Blockchain Hype Fades, Developers Give Ethereum a Serious Look – InApps Technology 2022

“We want to expose that logic to make it very crystal clear as to what is happening,” Castro said.

Composer offers a “simple programming model,” one based on JSON-based parameters, to specify how the functions work together, Castro noted. The model supports if-then statements for logic branching, function chaining, error-catching functionality. There are also constructs to manage data flow, such as the ability to send data to multiple endpoints.

With composer, the developer can build an entire app from stand-alone functions, including the logic flow itself, Castro said. The setup supports all the languages recognized by either OpenWhisk or IBM Cloud Functions: JavaScript, Swift, Java, PHP, Python, or any code encapsulated in a Docker container.

The compositions themselves are written in JavaScript. Here’s a simple example from an IBM blog post:

Composer has two parts. One is a library for describing the compositions, currently rendered in Node.js. To help work with the “compositions,” IBM also released the IBM Cloud Functions Shell (fsh), an Electron-based visual shell development tool that runs on the developer’s machine. It offers the ability to get visualizations of the compositions and runtimes, along with historical performance graphs, and the ability to drill down to the source code.

The IBM Cloud Shell showing the control flow.

“We see this as an easier way to develop functions in the cloud without having to do any context switching. They can stay in one place to create their compositions,” Castro said. This approach also offers potential cost-savings, since functions don’t need to be called into run-time until they are needed, as opposed to keeping them idle on a cloud service waiting for work from elsewhere to come in.

Read More:   eBPF Finds a Home with a New Foundation – InApps Technology 2022

The JavaScript composition of an app, a collection of function calls, is uploaded to the IBM Cloud Functions or OpenWhisk and rendered into a finite state machine through a component called Conductor, so it can execute itself in the cloud as a serverless function.

Composer is a reference implementation of the overall programming model, which like, with IBM’s open source release of OpenWhisk itself, IBM is seeking feedback on from the community. The company hopes others will develop bindings for other languages and run-times for the software.

“We’d like people to try it out and offer feedback as to how to make this better,” Castro said.

Microsoft is a sponsor of InApps Technology.

Feature image by Jussara Romão on Unsplash.

InApps Technology is a wholly owned subsidiary of Insight Partners, an investor in the following companies mentioned in this article: Docker.

Source: InApps.net

Rate this post
As a Senior Tech Enthusiast, I bring a decade of experience to the realm of tech writing, blending deep industry knowledge with a passion for storytelling. With expertise in software development to emerging tech trends like AI and IoT—my articles not only inform but also inspire. My journey in tech writing has been marked by a commitment to accuracy, clarity, and engaging storytelling, making me a trusted voice in the tech community.

Let’s create the next big thing together!

Coming together is a beginning. Keeping together is progress. Working together is success.

Let’s talk

Get a custom Proposal

Please fill in your information and your need to get a suitable solution.

    You need to enter your email to download


      Success. Downloading...