0.9K Views
June 11, 18
スライド概要
弊社エンジニア 福田 が IBM Think Japan the code day にてお話したスライドです
2023年10月からSpeaker Deckに移行しました。最新情報はこちらをご覧ください。 https://speakerdeck.com/lycorptech_jp
DS-1 Apache OpenWhisk FaaS
• 2008 • • • • API Gateway
l Apache OpenWhisk l Apache OpenWhisk l FaaS FaaS
1. 2. 3. 4. 5. 6. 7. Yahoo! JAPAN FaaS FaaS Apache OpenWhisk Demo
1. Yahoo! JAPAN
Yahoo! JAPAN • • 713 • : 100+ PV/Month : 15 + 0
2. FaaS
FaaS • Function as a Service • • •
FaaS FaaS
3. FaaS
FaaS • •
4. Apache OpenWhisk
Apache OpenWhisk • • FaaS Java Node.js • 2016 2 • IBM OSS • 2016 11 • Apache Incubator
NGINX Provider • • Controller 6 Provider • Controller • Invoker Invoker Invoker Invoker
• NGINX Provider Controller Invoker Invoker Invoker CouchDB
• Provider NGINX Provider Controller • CouchDB Invoker Invoker Invoker • Kafka Publish
NGINX Provider Controller • Invoker D B CouchDB C • Invoker Invoker Invoker CouchDB
• NGINX Provider Controller Invoker Invoker Invoker CouchDB
5.
• NGINX • VM • 3 Docker B • Invoker • DI/F Provider • UI SDK • Java Node.js Controller 10 C Invoker Invoker Invoker
Azure AD Athenz MYM Provider Apache OpenWhisk Gateway UI Prometheus MQ Provider Alertmanager
SSO Cookie UI Azure AD Athenz Cookie
Azure AD Athenz MYM Provider Apache OpenWhisk Gateway UI Prometheus MQ Provider Alertmanager
Gateway 1. namespace Athenz namespace 2. Athenz Gateway Apache OpenWhisk ⇔ Basic OpenWhisk Basic namespace Athenz
Provider MYM Provider MQ Provider Provider 1. MQ Provider 2. MYM Provider Apache OpenWhisk Publish
Azure AD Athenz MYM Provider Apache OpenWhisk Gateway UI Prometheus MQ Provider Alertmanager
Prometheus Alertmanager Blackbox Exporter JMX Exporter Invoker NGINX Controller
Grafana
6. Demo
MQ 2. MQ Provider 1. 3. MYM Post Apache OpenWhisk publish UI(MYM) 4.
MYM 5. 2. MYM MYM Provider 1. URL URL Post Apache OpenWhisk Post UI(MYM) 3. 6. 4.
7.
• • Kubernetes • •
• • S3 • WebAction
• • • • • •