Skip to content

teddyking/hottopic-release

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

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!

<iframe width="560" height="315" src="https://www.youtube.com/embed/vJsmE88ROa8" frameborder="0" allowfullscreen></iframe>

Repos