JANUARY 29, 2019

There’s a lot being written and talked about serverless these days. Whether from the infrastructural or from the software architectural point of view, at minimum it’s worth thinking about this way of deploying and writing software. Calling out to a serverless function from a process or case is one thing, but it gets really interesting when thinking about how a process, case or rule engine can be used to construct a serverless function. Of course, such a thing is not easy.

Flowable core developers Joram Barrez and Filip Hrisafov looked into what it would take to make the Flowable engines ready for this serverless world and recorded a webinar to share the results. In this video, they look at the challenge of getting the cold boot up time as low as possible, while building a real process function that starts and finishes a process when the function is invoked.

Using Spring Cloud and the Spring Cloud AWS function adapter, they demonstrate how to build, package and run a Flowable process function on AWS. After that, they dive into Micronaut and GraalVM to build a native image that boots up a full HTTP REST process endpoint in only 14 milliseconds!

Suffice to say the webinar is worth a watch!

Timestamps to the different parts:

  • 0:00 Introduction

  • 1:28 What is serverless?

  • 6:54 Flowable serverless challenges

  • 7:47 Flowable serverless idea

  • 8:36 Flowable Ahead-of-time Compilation & Annotation processing

  • 17:33 Flowable without persistency

  • 23:00 Flowable + Spring Cloud Function

  • 27:09 How fast does it boot? (benchmarks)

  • 32:57 Flowable + AWS with Spring Cloud

  • 41:08 Flowable + Micronaut

  • 44:45 Flowable + Micronaut + GraalVM

  • 55:52 Conclusions

Joram Barrez_MG 7807

Joram Barrez

Principal Software Architect

A core developer at Flowable with over a decade of experience in open source software and of building scalable process engines. He co-founded the Activiti project (on which Flowable is based) and was part of the JBoss jBPM team before that.

Share this Blog post
iStock-155374374
Engineering | NOVEMBER 14, 2024
Intelligent Document Processing with Flowable: Streamlining Content Automation

Enterprises need to process a large volume if documents daily — quickly and accurately. Flowable uses Intelligent Document Processing (IDP) to improve content processing and support enterprises in managing documents end-to-end.

iStock-1212433513
Engineering | NOVEMBER 7, 2024
Using CMMN to Go Beyond Case Management

CMMN was mainly designed with case management in mind to handle dynamic, human-driven processes, where the execution is not always a straight line, but might involve human decision to drive the process forward. But it can do way more than that.

shutterstock_2450383491
Engineering | OCTOBER 17, 2024
BPMN is Dead Now, AI Can Do it All

Tools like ChatGPT can handle a variety of business tasks, automating nearly everything. And it’s true, GenAI really can do a wide range of tasks that humans do currently. Why not let business users work directly with AI then? And what about Agentic AI?