Wiki: nuclio - a super-fast open-source serverless
For agents: Markdown version · Wiki index · Explore
- Speaker: Yaron Haviv
- Event: Reversim Summit 2018
- Video: https://www.youtube.com/watch?v=DpSUGhPPswA
- Transcript: /transcripts/2018/57-DpSUGhPPswA.md
- Language: Hebrew · Type: talk · Level: intermediate
- Topics: Infrastructure, DevOps, Machine Learning, Open Source
Written by an LLM from machine transcripts. It can contain errors. Check the transcript before you quote it.
Summary
The speaker introduces an open-source serverless platform designed to overcome the performance and architectural limitations of traditional cloud-native serverless offerings. The presentation explains how the platform achieves high concurrency and throughput by using Go, supporting various event sources, and allowing persistent database connections and custom Docker images. Through live demonstrations, the audience learns how to deploy functions, handle dependencies, and integrate machine learning models from tools like Jupyter notebooks.
Key points
- 0:11 The speaker introduces serverless computing and explains that writing the actual code only accounts for 20 percent of software development effort.
- 1:21 Traditional serverless platforms automatically build code into Docker images and manage scaling, popularized by services like AWS Lambda.
- 4:56 Standard serverless implementations suffer from significant limitations including performance bottlenecks, cold starts, restricted event sources, and debugging difficulties.
- 7:13 The speaker introduces a high-performance open-source serverless project designed to handle demanding real-time analytics and high concurrency.
- 9:28 The platform supports persistent volumes, database connections, and flexible execution environments including local setups, Kubernetes, and cloud providers.
- 12:54 A live demonstration shows how to quickly create, configure, and deploy a Python function using built-in templates and custom specifications.
- 15:05 Another demonstration highlights handling external dependencies and testing natural language processing libraries within the platform.
- 18:16 The presentation demonstrates integrating data science workflows from Jupyter notebooks to run machine learning models and frameworks like TensorFlow at scale.
Takeaways
- Evaluate open-source serverless alternatives when cloud provider limitations on performance, dependencies, or event sources become restrictive.
- Utilize context initialization and connection caching to maintain persistent database connections and state across function executions.
- Leverage Kubernetes as a standard infrastructure layer to ensure portability of serverless functions across different cloud environments.
Questions this talk answers
- How can developers overcome the cold start and single-request concurrency limitations of traditional serverless platforms?
- What is the best way to handle persistent database connection pools in a serverless architecture?
- How do you deploy heavy machine learning models and manage complex dependencies in serverless functions without size restrictions?
Technologies
Docker, Kubernetes, Go, Python, Node.js, Jupyter, TensorFlow, Spark, AWS Lambda
Tags
docker, kubernetes, machine learning, open source, performance, serverless