Ballerina: Concurrency Done Right!

Anjana Fernando
Apr 29, 2018 · 6 min read
Figure 01: Ballerina Main Function as a Sequence Diagram
Listing 01: Ballerina Multiple Workers Sample
Listing 02: Worker Interactions Sample


Listing 03: Check Order Fork/Join Sample

Asynchronous Functions

Listing 04: Asynchronous Functions Sample

Ballerina VM Worker Scheduler

Listing 05: Non-blocking HTTP Sample

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade