Open Source Serverless Computing

OUR IDEA

IronFunctions is an open source serverless computing platform for any cloud - private, public, or hybrid.

With IronFunctions Developers can:

  • Invoke functions directly into the application
  • Abstract away the the infrastructure
  • Increase speed
  • Focus on building great software

In addition IT Operations can:

  • Gain further infrastructure utilization
  • Deploy on any cloud - private, public, or hybrid
  • Easily integrate with other open source and commercial tools

Get Started with IronFunctions

Features
Sync or Async
60 sec max (quick)
Request /Response
Not Queued (Real-time)
Streaming logs
No auto retries
Response directly
from function
Input in request body

Hello World Example

Short intro into functions. Data processing is for functions that run in the background. This type of functionality is good for functions that are CPU heavy or take more than a few seconds to complete. Architecturally, the main difference between synchronous you tried above and asynchronous is that requests to asynchronous functions.

Start the IronFunctions API

First let’s start our IronFunctions API

docker run --rm --name functions --privileged -it -e "DB=bolt:///app/data/bolt.db" -v $PWD/data:/app/data -p 8080:8080 iron/functions

This command will quickly start IronFunctions using an embedded Bolt database running on :8080.

Create an Application

An application is essentially a grouping of functions, that put together, form an API. Here’s how to create an app.

curl -H "Content-Type: application/json" -X POST -d '{
    "app": { "name":"myapp" }
}' http://localhost:8080/v1/apps

Now that we have an app, we can map routes to functions.

Add a route to a Function

curl -H "Content-Type: application/json" -X POST -d '{
    "route": {
        "path":"/hello",
        "image":"iron/hello"
    }
}' http://localhost:8080/v1/apps/myapp/routes

Calling your Function

Just hit the URL you got back from adding a route above:

curl http://localhost:8080/r/myapp/hello

For more API configuration, see the API README

Get Started / Support

For smooth start we've made detailed overview of the tool with quickstart guide.

Get Started with IronFunctions

Having any questions or troubles?
Try to communicate with this channels: