SlideShare una empresa de Scribd logo
1 de 10
Descargar para leer sin conexión
eigr.io – A Serverless
Runtime on the BEAM
ACM SIGPLAN, ICFP Erlang Workshop 2021
Marcel Lanz, August 26th 2021
• eigr.io – Eigr Functions
• A Serverless Runtime on the BEAM
• Highlights
• Inversion of State, a Protocol, being Polyglot
• Current State & Challenges
eigr.io – A Serverless Runtime on the BEAM
ACM SIGPLAN, ICFP Erlang Workshop 2021
Agenda
• Serverless Runtime
• that enables General Purpose Applications to be built
• Open Source Project
• Bases on a concept of another open source project
• Inactive at the moment
• Implementation of a Cloudstate Service Proxy
• Based on a Protocol
• Polyglot SDKs
ACM SIGPLAN, ICFP Erlang Workshop 2021
Eigr Functions
eigr.io – A Serverless Runtime on the BEAM
ACM SIGPLAN, ICFP Erlang Workshop 2021
Highlights
• A Service Proxy
• with managed State
• Cloud Native deployment (k8s)
• A Protocol
• gRPC based, with a spec and a TCK
• Polyglot Programming Model
• SDKs in
JavaScript, Python, Kotlin, Java,
Go, C#, Dart, Elixir, …
• … and it runs on the BEAM :)
eigr.io – A Serverless Runtime on the BEAM
• “Message IN, Message OUT”
• eigr/massa
• Implemented in Elixir
• Kubernetes Operator
• Sidecar Proxy
ACM SIGPLAN, ICFP Erlang Workshop 2021
Service Proxy
eigr.io – A Serverless Runtime on the BEAM
• FaaS is usually stateless
• State is brought to the
function.
• State Model to choose
• Action
• Eventsourcing
• CRDTs
• Value Entity (CRUD)
ACM SIGPLAN, ICFP Erlang Workshop 2021
Inversion of State
eigr.io – A Serverless Runtime on the BEAM
• Eigr Functions implements the Cloudstate Protocol
• Abstracts State
• defines these State Models in *.proto files
• gRPC based
• based on HTTP/2
• enables Streaming
• Protocol spec defined in *.proto (protocol buffer)
• Technology Compatibility Kit (TCK)
• ensures proxy and SDKs compatiblity
ACM SIGPLAN, ICFP Erlang Workshop 2021
A Protocol to use
eigr.io – A Serverless Runtime on the BEAM
• SDK support for all gRPC enabled languages possible
• gRPC compiler available
• JavaScript, Java and Go with 100% TCK coverage
• Python, Kotlin, Java, Go, C#, Dart, Elixir with at least Support for
Eventsourcing
ACM SIGPLAN, ICFP Erlang Workshop 2021
Polyglot Programming Model
eigr.io – A Serverless Runtime on the BEAM
• Service Proxy in Elixir (eigr/massa)
• gRPC Reflection ☑
• Discovery and Action Protocol ☑
• Next Challenges
• Implement State Models
• CRDT, Eventsourcing, CRUD
• Enhance and Improve SDKs
• Focus on JS, Java, Python and Go
• Enhance the TCK
ACM SIGPLAN, ICFP Erlang Workshop 2021
Current State & Challenges
eigr.io – A Serverless Runtime on the BEAM
ACM SIGPLAN, ICFP Erlang Workshop 2021
Marcel Lanz, August 26th 2021
Thanks!
eigr.io
github.com/eigr
@eigr_io
❤ 🙌 thanks to all contributors and supporters:
Adriano Santos, Alain-Michel Chomnoue Nghemning, GratefulTony, Guy Youansi, Weslei Juan Moser Pereira,
Jonathan Nagy, Peter Vlugter, Vladimir Korenev, Ursula Hitz, Viktor Klang, Cloudstate.io and many more…

Más contenido relacionado

La actualidad más candente

Who needs containers in a serverless world
Who needs containers in a serverless worldWho needs containers in a serverless world
Who needs containers in a serverless world
Matthias Luebken
 

La actualidad más candente (19)

Matt Chung (Independent) - Serverless application with AWS Lambda
Matt Chung (Independent) - Serverless application with AWS Lambda Matt Chung (Independent) - Serverless application with AWS Lambda
Matt Chung (Independent) - Serverless application with AWS Lambda
 
Celery workshop
Celery workshopCelery workshop
Celery workshop
 
Building CI/CD Pipelines with Jenkins and Kubernetes
Building CI/CD Pipelines with Jenkins and KubernetesBuilding CI/CD Pipelines with Jenkins and Kubernetes
Building CI/CD Pipelines with Jenkins and Kubernetes
 
ONAP on Vagrant
ONAP on VagrantONAP on Vagrant
ONAP on Vagrant
 
Cross Community CI project
Cross Community CI projectCross Community CI project
Cross Community CI project
 
Introduction to OpenFaas
Introduction to OpenFaasIntroduction to OpenFaas
Introduction to OpenFaas
 
Safe deployments with Blue-Green and Spinnaker
Safe deployments with Blue-Green and SpinnakerSafe deployments with Blue-Green and Spinnaker
Safe deployments with Blue-Green and Spinnaker
 
Kenzan Spinnaker Meetup
Kenzan Spinnaker MeetupKenzan Spinnaker Meetup
Kenzan Spinnaker Meetup
 
ONAP on Vagrant for ONAPers
ONAP on Vagrant for ONAPersONAP on Vagrant for ONAPers
ONAP on Vagrant for ONAPers
 
Externalized Spring Boot App Configuration
Externalized  Spring Boot App ConfigurationExternalized  Spring Boot App Configuration
Externalized Spring Boot App Configuration
 
Detailed Introduction To Docker
Detailed Introduction To DockerDetailed Introduction To Docker
Detailed Introduction To Docker
 
Docker in Production at the Aurora Team
Docker in Production at the Aurora TeamDocker in Production at the Aurora Team
Docker in Production at the Aurora Team
 
How to contribute to an open source project and don’t die during the Code Rev...
How to contribute to an open source project and don’t die during the Code Rev...How to contribute to an open source project and don’t die during the Code Rev...
How to contribute to an open source project and don’t die during the Code Rev...
 
Validating latest changes with XCI
Validating latest changes with XCIValidating latest changes with XCI
Validating latest changes with XCI
 
Jenkins Reviewbot
Jenkins ReviewbotJenkins Reviewbot
Jenkins Reviewbot
 
Neutron Updates - Kilo Edition
Neutron Updates - Kilo EditionNeutron Updates - Kilo Edition
Neutron Updates - Kilo Edition
 
Confoo - DevOps & Agile Infrastructure
Confoo - DevOps & Agile InfrastructureConfoo - DevOps & Agile Infrastructure
Confoo - DevOps & Agile Infrastructure
 
ASP.NET vNext
ASP.NET vNextASP.NET vNext
ASP.NET vNext
 
Who needs containers in a serverless world
Who needs containers in a serverless worldWho needs containers in a serverless world
Who needs containers in a serverless world
 

Similar a eigr.io – a Serverless Runtime on the BEAM (ACM SIGPLAN, ICFP 2021 Erlang Workshop)

Similar a eigr.io – a Serverless Runtime on the BEAM (ACM SIGPLAN, ICFP 2021 Erlang Workshop) (20)

eigr.io A Serverless Runtime on the BEAM V1.3
eigr.io A Serverless Runtime on the BEAM V1.3eigr.io A Serverless Runtime on the BEAM V1.3
eigr.io A Serverless Runtime on the BEAM V1.3
 
Continuous Deployment into the Unknown with Artifactory, Bintray, Docker and ...
Continuous Deployment into the Unknown with Artifactory, Bintray, Docker and ...Continuous Deployment into the Unknown with Artifactory, Bintray, Docker and ...
Continuous Deployment into the Unknown with Artifactory, Bintray, Docker and ...
 
Seattle Spark Meetup Mobius CSharp API
Seattle Spark Meetup Mobius CSharp APISeattle Spark Meetup Mobius CSharp API
Seattle Spark Meetup Mobius CSharp API
 
Develop and deploy Kubernetes applications with Docker - IBM Index 2018
Develop and deploy Kubernetes  applications with Docker - IBM Index 2018Develop and deploy Kubernetes  applications with Docker - IBM Index 2018
Develop and deploy Kubernetes applications with Docker - IBM Index 2018
 
Microservices at Mercari
Microservices at MercariMicroservices at Mercari
Microservices at Mercari
 
OSGi on Google Android using Apache Felix
OSGi on Google Android using Apache FelixOSGi on Google Android using Apache Felix
OSGi on Google Android using Apache Felix
 
Ultimate Guide to Microservice Architecture on Kubernetes
Ultimate Guide to Microservice Architecture on KubernetesUltimate Guide to Microservice Architecture on Kubernetes
Ultimate Guide to Microservice Architecture on Kubernetes
 
Eugene Bova "Dapr (Distributed Application Runtime) in a Microservices Archit...
Eugene Bova "Dapr (Distributed Application Runtime) in a Microservices Archit...Eugene Bova "Dapr (Distributed Application Runtime) in a Microservices Archit...
Eugene Bova "Dapr (Distributed Application Runtime) in a Microservices Archit...
 
LCU14 310- Cisco ODP v2
LCU14 310- Cisco ODP v2LCU14 310- Cisco ODP v2
LCU14 310- Cisco ODP v2
 
Xpdays: Kubernetes CI-CD Frameworks Case Study
Xpdays: Kubernetes CI-CD Frameworks Case StudyXpdays: Kubernetes CI-CD Frameworks Case Study
Xpdays: Kubernetes CI-CD Frameworks Case Study
 
Knative with .NET Core and Quarkus with GraalVM
Knative with .NET Core and Quarkus with GraalVMKnative with .NET Core and Quarkus with GraalVM
Knative with .NET Core and Quarkus with GraalVM
 
How we scale up our architecture and organization at Dailymotion
How we scale up our architecture and organization at DailymotionHow we scale up our architecture and organization at Dailymotion
How we scale up our architecture and organization at Dailymotion
 
Kubernetes for java developers - Tutorial at Oracle Code One 2018
Kubernetes for java developers - Tutorial at Oracle Code One 2018Kubernetes for java developers - Tutorial at Oracle Code One 2018
Kubernetes for java developers - Tutorial at Oracle Code One 2018
 
stackconf 2020 | Replace your Docker based Containers with Cri-o Kata Contain...
stackconf 2020 | Replace your Docker based Containers with Cri-o Kata Contain...stackconf 2020 | Replace your Docker based Containers with Cri-o Kata Contain...
stackconf 2020 | Replace your Docker based Containers with Cri-o Kata Contain...
 
COP_RoR_QuArrk_Session_Oct_2022.pptx
COP_RoR_QuArrk_Session_Oct_2022.pptxCOP_RoR_QuArrk_Session_Oct_2022.pptx
COP_RoR_QuArrk_Session_Oct_2022.pptx
 
WebLogic and GraalVM
WebLogic and GraalVMWebLogic and GraalVM
WebLogic and GraalVM
 
18th Athens Big Data Meetup - 2nd Talk - Run Spark and Flink Jobs on Kubernetes
18th Athens Big Data Meetup - 2nd Talk - Run Spark and Flink Jobs on Kubernetes18th Athens Big Data Meetup - 2nd Talk - Run Spark and Flink Jobs on Kubernetes
18th Athens Big Data Meetup - 2nd Talk - Run Spark and Flink Jobs on Kubernetes
 
Basavanthrao_resume_vlsi
Basavanthrao_resume_vlsiBasavanthrao_resume_vlsi
Basavanthrao_resume_vlsi
 
21o. RubyFloripa - Maintaining legacy Rails app and introducing Elixir
21o. RubyFloripa - Maintaining legacy Rails app and introducing Elixir21o. RubyFloripa - Maintaining legacy Rails app and introducing Elixir
21o. RubyFloripa - Maintaining legacy Rails app and introducing Elixir
 
Hybrid Apache Spark Architecture with YARN and Kubernetes
Hybrid Apache Spark Architecture with YARN and KubernetesHybrid Apache Spark Architecture with YARN and Kubernetes
Hybrid Apache Spark Architecture with YARN and Kubernetes
 

Último

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Último (20)

Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 

eigr.io – a Serverless Runtime on the BEAM (ACM SIGPLAN, ICFP 2021 Erlang Workshop)

  • 1. eigr.io – A Serverless Runtime on the BEAM ACM SIGPLAN, ICFP Erlang Workshop 2021 Marcel Lanz, August 26th 2021
  • 2. • eigr.io – Eigr Functions • A Serverless Runtime on the BEAM • Highlights • Inversion of State, a Protocol, being Polyglot • Current State & Challenges eigr.io – A Serverless Runtime on the BEAM ACM SIGPLAN, ICFP Erlang Workshop 2021 Agenda
  • 3. • Serverless Runtime • that enables General Purpose Applications to be built • Open Source Project • Bases on a concept of another open source project • Inactive at the moment • Implementation of a Cloudstate Service Proxy • Based on a Protocol • Polyglot SDKs ACM SIGPLAN, ICFP Erlang Workshop 2021 Eigr Functions eigr.io – A Serverless Runtime on the BEAM
  • 4. ACM SIGPLAN, ICFP Erlang Workshop 2021 Highlights • A Service Proxy • with managed State • Cloud Native deployment (k8s) • A Protocol • gRPC based, with a spec and a TCK • Polyglot Programming Model • SDKs in JavaScript, Python, Kotlin, Java, Go, C#, Dart, Elixir, … • … and it runs on the BEAM :) eigr.io – A Serverless Runtime on the BEAM
  • 5. • “Message IN, Message OUT” • eigr/massa • Implemented in Elixir • Kubernetes Operator • Sidecar Proxy ACM SIGPLAN, ICFP Erlang Workshop 2021 Service Proxy eigr.io – A Serverless Runtime on the BEAM
  • 6. • FaaS is usually stateless • State is brought to the function. • State Model to choose • Action • Eventsourcing • CRDTs • Value Entity (CRUD) ACM SIGPLAN, ICFP Erlang Workshop 2021 Inversion of State eigr.io – A Serverless Runtime on the BEAM
  • 7. • Eigr Functions implements the Cloudstate Protocol • Abstracts State • defines these State Models in *.proto files • gRPC based • based on HTTP/2 • enables Streaming • Protocol spec defined in *.proto (protocol buffer) • Technology Compatibility Kit (TCK) • ensures proxy and SDKs compatiblity ACM SIGPLAN, ICFP Erlang Workshop 2021 A Protocol to use eigr.io – A Serverless Runtime on the BEAM
  • 8. • SDK support for all gRPC enabled languages possible • gRPC compiler available • JavaScript, Java and Go with 100% TCK coverage • Python, Kotlin, Java, Go, C#, Dart, Elixir with at least Support for Eventsourcing ACM SIGPLAN, ICFP Erlang Workshop 2021 Polyglot Programming Model eigr.io – A Serverless Runtime on the BEAM
  • 9. • Service Proxy in Elixir (eigr/massa) • gRPC Reflection ☑ • Discovery and Action Protocol ☑ • Next Challenges • Implement State Models • CRDT, Eventsourcing, CRUD • Enhance and Improve SDKs • Focus on JS, Java, Python and Go • Enhance the TCK ACM SIGPLAN, ICFP Erlang Workshop 2021 Current State & Challenges eigr.io – A Serverless Runtime on the BEAM
  • 10. ACM SIGPLAN, ICFP Erlang Workshop 2021 Marcel Lanz, August 26th 2021 Thanks! eigr.io github.com/eigr @eigr_io ❤ 🙌 thanks to all contributors and supporters: Adriano Santos, Alain-Michel Chomnoue Nghemning, GratefulTony, Guy Youansi, Weslei Juan Moser Pereira, Jonathan Nagy, Peter Vlugter, Vladimir Korenev, Ursula Hitz, Viktor Klang, Cloudstate.io and many more…