|
4 | 4 | # See: https://jekyllrb.com/docs/themes/#overriding-theme-defaults
|
5 | 5 | layout: default
|
6 | 6 | ---
|
| 7 | + |
| 8 | +# Dispatch - more than Functions |
| 9 | + |
| 10 | +Building, deploying and administering serverless applications requires more than just a function scheduler and executor. |
| 11 | +Dispatch brings features and services together to easily manage production-caliber applications and services which are |
| 12 | +built upon functions. |
| 13 | + |
| 14 | +## A flexible FaaS |
| 15 | + |
| 16 | +Dispatch itself is not a function scheduler and executor. Since there are several open source FaaS implementations, the |
| 17 | +Dispatch team decided two things early on. First, we would not create yet another open source FaaS. Second, the space |
| 18 | +is too young and immature to predict with any certainty that one FaaS would be the dominant player over others. |
| 19 | + |
| 20 | +Instead, Dispatch abstracts the FaaS implementation via a driver interface allowing integration with one or more |
| 21 | +existing or future FaaS implementations. The initial Dispatch release includes drivers for OpenFaaS and Riff. Future |
| 22 | +drivers could include support for additional FaaS implementations, including public cloud offerings such as AWS Lambda. |
| 23 | +The flexibility to integrate multiple FaaS implementations is more than just future proofing, it also opens the door to |
| 24 | +interesting scenarios where the same function can be executed on one or more different environments based on criteria |
| 25 | +such as locality, compute resources (GPU) or burst scaling onto the public cloud. |
| 26 | + |
| 27 | +## A secure FaaS |
| 28 | + |
| 29 | +Giving developers direct access to VMs and containers can be problematic. IT can quickly lose control over the |
| 30 | +production environment, with no knowledge of what software is actually running in their data center. On the other hand, |
| 31 | +if developers have no direct access to VMs and containers this causes bottlenecks in IT and developer frustration. |
| 32 | + |
| 33 | +Function based deployments can alleviate much of this concern. Dispatch provides an environment where everything up to |
| 34 | +the actual function code can be managed and inspected. Pivotal Container Service (PKS) from VMware provides a secure |
| 35 | +and up-to-date Kubernetes service. Dispatch manages function runtimes and artifacts (containers) built on the latest |
| 36 | +Photon OS. |
| 37 | + |
| 38 | +## A multi-tenant FaaS |
| 39 | + |
| 40 | +Dispatch is designed to work in a multi-user and multi-organization environment. Dispatch will integrate with existing |
| 41 | +Oauth2 compatible identity providers such as github or Active Directory. Administrators will be able to create roles |
| 42 | +and permissions to ensure tight access control around the full Dispatch API. |
| 43 | + |
| 44 | +## A proper API gateway |
| 45 | + |
| 46 | +Whether building a simple web-hook or a richer web-service in order to trigger the functions that make up a deployment, |
| 47 | +an API gateway is required. The API gateway provides routing and security. Dispatch integrates the open source Kong |
| 48 | +API gateway to provide a production quality solution for applications built on Dispatch. Simply define a route and bind |
| 49 | +it to a function to create a secure HTTPS endpoint. |
| 50 | + |
| 51 | +## Plays well with others |
| 52 | + |
| 53 | +Integration with external services and events is critical for any serverless solution. Dispatch includes an external |
| 54 | +services interface that allows extending Dispatch to work with just about any other service. These services could be |
| 55 | +databases to provide state to applications, or event sources which provide triggers to functions. Included in the |
| 56 | +preview release is a vCenter driver which ingests vCenter events which functions can now subscribe to. The interface is |
| 57 | +flexible and extensible. |
| 58 | + |
| 59 | +## Join the Dispatch team |
| 60 | + |
| 61 | +You can find Dispatch on Github. Many features are still a work in progress, but we encourage the curious to start |
| 62 | +building and imagining with us. |
0 commit comments