项目作者: teddyking

项目描述 :
CF Serverless done right.
高级语言:
项目地址: git://github.com/teddyking/hottopic-release.git
创建时间: 2017-06-14T17:13:50Z
项目社区:https://github.com/teddyking/hottopic-release

开源协议:

下载


Hot Topic

CF Serverless done right.

What is this?

PaaS is about just pushing code. Serverless is about just pushing functions. Really they’re both about abstractions to let you write stateless pieces of code that a platform can manage, scale and orchestrate for you. Apps are just stateless containers triggered by routes and scaled by cf scale. Functions are the same thing, but triggered by events in a shared message queue and being auto-scaled by message queue length. Hot Topic is a proof of concept that uses a cf map-event command, similar to cf map-route to make FaaS and PaaS work together in a really nice, simple and orthogonal way.

TL;DR

Just cf push. Use ‘cf map-route’ if you want a web app. Use ‘cf map-event’ for functions. Same log streaming, packaging, orchestration, workflow, same way to bind services, all fully integrated, simple and consistent.

Demo!

Repos