Slide 38
Slide 38 text
FAAS FRAMEWORK
WHAT YOU SAW
code: github.com/alexellis/journey-expert
from urlparse import urlparse
import string
def handle(st):
val = st
parts = val.split(" ")
bits = [part for part in parts if
not urlparse(part).scheme and part !=
"&" ]
val = string.join(bits, " ")
print(val)
code: github.com/alexellis/faas-cli
▸ Example of chat ops
▸ Swapped AWS Lambda for FaaS
▸ Code ran real-time, on private
infrastructure, next to data
▸ Used YAML stack format and
handers to quickly template app
(NodeJS, Python)