mongodb-function - OpenFaaS Function that makes use of a connection pool to access MongoDB

  •        175

This is a simple example of how to use connection pooling in MongoDB with OpenFaaS on Kubernetes. In the first sequence we've had no calls made to the function, so the connection pool is not yet initialized. prepareDB() was never called.

https://www.openfaas.com
https://github.com/alexellis/mongodb-function

Tags
Implementation
License
Platform

   




Related Projects

OpenFaaS - A serverless framework for Docker & Kubernetes

  •    Go

OpenFaaS (Functions as a Service) is a framework for building serverless functions with Docker which has first class support for metrics. Any process can be packaged as a function enabling you to consume a range of web events without repetitive boiler-plate coding.

faas-netes - Enable Kubernetes as a backend for OpenFaaS (Functions as a Service)

  •    Go

This is a plugin to enable Kubernetes as an OpenFaaS backend. The existing CLI and UI are fully compatible. It also opens up the possibility for other plugins to be built for orchestation frameworks such as Nomad, Mesos/Marathon or even a cloud-managed back-end such as Hyper.sh or Azure ACI.OpenFaaS is an event-driven serverless framework for containers. Any container for Windows or Linux can be leveraged as a serverless function. OpenFaaS is quick and easy to deploy (less than 60 secs) and lets you avoid writing boiler-plate code.

Fission - Fast Serverless Functions for Kubernetes

  •    Go

Fission is a fast serverless framework for Kubernetes with a focus on developer productivity and high performance.Fission operates on just the code: Docker and Kubernetes are abstracted away under normal operation, though you can use both to extend Fission if you want to.

faasd - A lightweight & portable faas engine

  •    Go

faasd is OpenFaaS reimagined, but without the cost and complexity of Kubernetes. It runs on a single host with very modest requirements, making it fast and easy to manage. Under the hood it uses containerd and Container Networking Interface (CNI) along with the same core OpenFaaS components from the main project. faasd is just another way to runOpenFaaS, so many things you read in the docs or in blog posts will work the same way.

Gloo - The Function Gateway built on top of Envoy

  •    Go

Gloo is a feature-rich, Kubernetes-native ingress controller, and next-generation API gateway. Gloo is exceptional in its function-level routing; its support for legacy apps, microservices and serverless; its discovery capabilities; its numerous features; and its tight integration with leading open-source projects. Gloo is uniquely designed to support hybrid applications, in which multiple technologies, architectures, protocols, and clouds can coexist.


Fn - The container native, cloud agnostic serverless platform.

  •    Go

The Fn project is a container native serverless platform that you can run anywhere -- any cloud or on-premise. It’s easy to use, supports every programming language, and is extensible and performant. Fn packages your functions as containers and runs on any platform supporting Docker. Push your functions to a repository and deploy anywhere--your laptop or the cloud.

kubeless - Kubernetes Native Serverless Framework

  •    Go

kubeless is a Kubernetes-native serverless framework that lets you deploy small bits of code without having to worry about the underlying infrastructure plumbing. It leverages Kubernetes resources to provide auto-scaling, API routing, monitoring, troubleshooting and more. Kubeless stands out as we use a Custom Resource Definition to be able to create functions as custom kubernetes resources. We then run an in-cluster controller that watches these custom resources and launches runtimes on-demand. The controller dynamically injects the functions code into the runtimes and make them available over HTTP or via a PubSub mechanism.

functions-framework-dart - FaaS (Function as a service) framework for writing portable Dart functions

  •    Dart

This is a community-supported project, meaning there is no official level of support. The code is not covered by any SLA or deprecation policy. Feel free to start a discussion to share thoughts or open issues for bugs and feature requests.

functions - IronFunctions - the serverless microservices platform by

  •    Go

Welcome to IronFunctions! The open source serverless platform.IronFunctions is an open source serverless platform, or as we like to refer to it, Functions as a Service (FaaS) platform that you can run anywhere.

faaslang - FaaSlang defines FaaS execution semantics and type-safety mechanisms

  •    Javascript

The following is a working draft of the latest FaaSlang specification, version 0.3.x, dated February 12th, 2018. FaaSlang is a simple open specification intended to define semantics and implementation details around FaaS ("serverless") functions, gateways and client interfaces (requests from any language / SDK). It has been designed with the goal of decreasing organizational complexity around FaaS microservices by encouraging simple conventions for how we document and interface with them, including type safety mechanisms. In the same way GraphQL is intended to provide opinions and a specification for the way developers interface with nested relational (graph) data, FaaSlang does the same for FaaS resources.

Nuclio - High-Performance Serverless event and data processing platform

  •    Go

Nuclio is a high-performance "serverless" framework focused on data, I/O, and compute intensive workloads. It is well integrated with popular data science tools, such as Jupyter and Kubeflow; supports a variety of data and streaming sources; and supports execution over CPUs and GPUs. The Nuclio project began in 2017 and is constantly and rapidly evolving; many start-ups and enterprises are now using Nuclio in production.

fx - fx is a framework to help you do Function as a Service with painless on your own servers

  •    Go

Poor man's function as a service. fx is a tool to help you do Function as a Service on your own server. fx can make your stateless function a service in seconds. The most exciting thing is that you can write your functions with most programming languages, you can refer to the doc to make fx support the language not listed bellow.

opyrator - 🪄 Turns your machine learning code into microservices with web API, interactive GUI, and more

  •    Python

Turns your Python functions into microservices with web API, interactive GUI, and more. Instantly turn your Python functions into production-ready microservices. Deploy and access your services via HTTP API or interactive UI. Seamlessly export your services into portable, shareable, and executable files or Docker images. Opyrator builds on open standards - OpenAPI, JSON Schema, and Python type hints - and is powered by FastAPI, Streamlit, and Pydantic. It cuts out all the pain for productizing and sharing your Python code - or anything you can wrap into a single Python function.

derek - derek - a serverless :robot: to manage PRs and issues

  •    Go

It's derek . Nice to meet you. I'd like to help you with Pull Requests and Issues on your GitHub project. Please show support for the project and Star the repo.

functions-samples - Collection of sample apps showcasing popular use cases using Cloud Functions for Firebase

  •    Javascript

This repository contains a collection of samples showcasing some typical uses of Cloud Functions for Firebase.Cloud Functions is a hosted, private, and scalable Node.js environment where you can run JavaScript code. Cloud Functions for Firebase integrates the Firebase platform by letting you write code that responds to events and invokes functionality exposed by other Firebase features.

Serverless - Build auto-scaling, pay-per-execution, event-driven apps on AWS Lambda

  •    Javascript

Serverless helps to build web, mobile and IoT applications with serverless architectures using AWS Lambda, Azure Functions, Google CloudFunctions & more. You can build applications comprised of microservices that run in response to events, auto-scale for you, and only charge you when they run. This lowers the total cost of maintaining your apps, enabling you to build more logic, faster.

OpenWhisk - Serverless platform, Distributed event-based programming service

  •    Scala

Apache OpenWhisk is a serverless, open source cloud platform that executes functions in response to events at any scale. It is a cloud-first distributed event-based programming service. It provides a programming model to upload event handlers to a cloud service, and register the handlers to respond to various events.

functions-framework-python - FaaS (Function as a service) framework for writing portable Python functions

  •    Python

An open source FaaS (Function as a service) framework for writing portable Python functions -- brought to you by the Google Cloud Functions team. All without needing to worry about writing an HTTP server or complicated request handling logic.

Funktion - open source event based lambda programming for kubernetes

  •    Go

Funktion is an open source event driven lambda style programming model on top of Kubernetes. This project provides a command line tool for working with Funktion. It supports hundreds of different trigger endpoint URLs including most network protocols, transports, databases, messaging systems, social networks, cloud services and SaaS offerings.

riff - riff is for functions

  •    Go

The riff project builds on top of the Knative project’s build, serving and eventing features. Official binary release are avilable from the Releases page.






We have large collection of open source products. Follow the tags from Tag Cloud >>


Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.