2020 Issue 4

Issue #4 - October 15, 2020

This is a recurring newsletter of content around Ballerina and related technology topics such as integration, microservices, distributed systems, and cloud computing.

Serverless: Bringing Cloud Development to the Masses

Serverless technology brings cloud development closer to the masses. Developers can now focus purely on business logic with little to no concern about how they deploy their applications. Provisioning servers or VMs, and worrying about how to implement scaling and load balancing is a thing of the past. You simply provide your final application, and all the deployment and non-functional requirements are handled by the serverless runtime.

This approach is ideal for asynchronous processing. It allows you to respond to events that are triggered in the system using automatic invocation of serverless functions. Then, by orchestrating the asynchronous message passing and invocation of operations, you can create complex microservice architectures. Serverless technologies fall into two types: Backends as a Service (BaaS) and Functions as a Service (FaaS). To learn more about what serverless is and what each type offers read this O’Reilly article.

Amazon Lambda and Azure Functions are a couple of prominent serverless FaaS technologies. Ballerina has built-in support for these technologies, allowing you to directly convert your Ballerina functions into functions that can be deployed in these serverless environments. The seamless integration of these cloud services with Ballerina functions allow you to conveniently design and model your code. Check out the following articles by Anjana Fernando to see how Ballerina supports the most commonly used serverless technologies:

What’s New in Ballerina?

We released the fourth preview version of Ballerina Swan Lake on September 25. Read the release note for a full feature list.

Here is a summary of the key features in Ballerina Swan Lake Preview 4:

  • Revised Ballerina object syntax, which differentiates the object type from the class, from which you can create object values.
  • Introducing isolated functions to achieve concurrency safety together with readonly values.
  • Introducing distinct object types offering the functionality similar to what is provided in nominal type systems.
  • Improvements to quoted identifiers to support arbitrary, non-empty strings as Ballerina identifiers.

You can download the preview version after the stable release here. Do try it out and let us know your feedback via our Slack channel.

Ballerina Community Call

Our next community call is happening on Tuesday, November 10, at 9:00 a.m. PDT. Join the Zoom meeting or YouTube live session to learn about Ballerina features and directly talk with our engineers who build the language. Sign up here to get notified.

You can watch the recordings of our past community calls here.

We hope you found this information useful. We’ll catch you again soon!

Privacy Policy  |   Terms of Service

Want to get hand-picked content and the latest news on Ballerina delivered directly to your inbox? Then subscribe to our monthly newsletter today!