GithubHelp home page GithubHelp logo

axafrance / slimfaas Goto Github PK

View Code? Open in Web Editor NEW
165.0 10.0 7.0 3.79 MB

SlimFaas : The slimest and simplest Function As A Service

License: MIT License

Dockerfile 0.86% C# 96.59% JavaScript 1.69% HTML 0.16% CSS 0.70%
function green kubernetes faas

slimfaas's People

Contributors

g7ed6e avatar guillaume-chervet avatar jpauwels avatar scraly avatar tlemarchand avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

slimfaas's Issues

docs: improve README documentation

Add a "Why SlimFaas / LightFaaS ?" / "Motivation behing LightFaaS"

How each worker works ?

How can I configure all of my pods ? Details with all the options available.

How can I have High Availability on the slimfaas pods ?

How it is monitored ?

Cluster raft initialisation not working

Issue and Steps to Reproduce

raft cluster has no leader

Rebuild the image to get arm64
change cluster role to match correct namespace

Versions

latest

Screenshots

image

Expected

raft initialisation complete

Actual

all 3 statefulset are crying
Raft cluster has no leader

Additional Details

Feature: Scale up

Add way to scale up from :

  • response time
  • time/number message message in queue

to be continued

Arm64 image

Issue and Steps to Reproduce

Do you think it's possible to build un image for arm64 ?

Versions

latest

Screenshots

image

Expected

running

Actual

crashloopbackoff

Additional Details

try but several error with nugget

#18 [publish 2/7] RUN dotnet restore -r linux-musl-x64
#18 1.314   Determining projects to restore...
#18 70.88   Failed to download package 'Microsoft.NETCore.App.Runtime.linux-musl-x64.8.0.4' from 'https://api.nuget.org/v3-flatcontainer/microsoft.netcore.app.runtime.linux-musl-x64/8.0.4/microsoft.netcore.app.runtime.linux-musl-x64.8.0.4.nupkg'.
#18 70.88   I/O error : '/root/.local/share/NuGet/http-cache/670c1461c29885f9aa22c281d8b7da90845b38e4$ps:_api.nuget.org_v3_index.json/nupkg_microsoft.netcore.app.runtime.linux-musl-x64.8.0.4.dat-new'

fix: raft cluster has no leader error

Issue and Steps to Reproduce

Slimfaas pods sometimes loop on an error "raft cluster has no leader". I don't know why yet, but I guess the following can occur:

  • several slimfaas pods try to become leader at once
  • several pods can't reach each other, which may prevent a leader from being elected

Fix

Deleting all the slimfaas pods and its statefulset, before restarting the kustomize and notification controllers, makes slimfaas restart properly.

Can I create a web service using this project?

What I want to do is create a service that is automatically deployed when a user logs in, turns on their own web IDE, and pushes code from that IDE. Additionally, we are considering a function that executes multiple functions at once like faas flow. Is slimfaas more efficient than openfaas?

Feature : add a way to agregate all swagger from function in one exposed by SlimFaas.

SlimFaas should be able to aggregate swagger from all is referenced functions.

Aggregation should de dynamic at execution time.
If a function is not started it should started in order to fetch its swagger.json file from v3 specification.

New annotation to declare swagger of a function.

SlimFaas/Swagger: "swagger.json"
// path to the swagger file
Defaut if empty and no swagger will be retrieved

For exemple we can access to a pod by his name :

http://localhost:30021/function/fibonacci1/hello/guillaume
http://localhost:30021/function/fibonacci2/hello/elodie
http://localhost:30021/function/fibonacci3/hello/julie

I would like to merge swagger files :

http://localhost:30021/function/fibonacci1/swagger.json
http://localhost:30021/function/fibonacci2/swagger.json
http://localhost:30021/function/fibonacci3/swagger.json

In one created dynamicaly from SlimFaas:
http://localhost:30021/swagger.json

clean commit history

Issue and Steps to Reproduce

Versions

Screenshots

Expected

Actual

Additional Details

  • Installed packages:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.