In my last post I wrote about general concepts behind Function as a Service (FaaS) and my view on this application development style. As an example I used the basic pipes and filters concept implemented by Unix Shells and many shell commands. Within this post I will use the same example and implement it using a Function as a Service platform. To recap the scenario, we had a simple JSON file containing booking records. From this file we identified certain records based on purchased products. Afterwards we extracted customer emails which could be used as a list for targeted marketing.
The FaaS platform I will be using is Oracle fn Project. It is an Open Source project which aims to develop an open and standard based FaaS Platform as alternative to mostly proprietary solutions existing in the market today. According to Oracle a managed service will be released in near future. Let us start and develop FaaS with Oracle fn Project!
To begin with, the beauty of fn Project is that one is able to develop FaaS applications on any machine. This includes local development machines. From the decision to use fn to the first deployed function one needs less than nine shell commands. The mandatory „Hello World“ example can be found on fn Project’s GitHub repository. Just follow the instructions and come back to this post with a running fn server.
Now let us start to implement our FaaS example using fn Project. The first function should extract all booking records containing a specific product. Let us call this function searchProduct.. Read the complete article here.
For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.