GithubHelp home page GithubHelp logo

ROADMAP about openfaas-rstats-templates HOT 3 OPEN

analythium avatar analythium commented on May 31, 2024
ROADMAP

from openfaas-rstats-templates.

Comments (3)

psolymos avatar psolymos commented on May 31, 2024

Need to have

Cassic watchdog:

  • rstats-base
  • rstats-ubuntu
  • rstats-minimal

of-watchdog:

  • rstats-base-plumber
  • rstats-ubuntu-plumber
  • rstats-minimal-plumber

Good to have

Rserve and alikes

Rserve branch

Would be nice to have a bare bones solution with Rserve.

RestRserve: issue | branch

  • rstats-base-restrserve
  • rstats-ubuntu-restrserve
  • rstats-minimal-restrserve

Having JSON POST issues.

httpuv and alikes

Rook

Rook serves web apps using R's help server and forces the routes to prepend /custom. There was a hack
to overwrite tools:::httpd but we get locked binding of ‘httpd’ cannot be changed.
The following starts, but R help says 'Only NEWS and URLs under /doc and /library are allowed':

library(Rook)
s <- Rhttpd$new()
s$add(RhttpdApp$new(system.file('exampleApps/RookTestApp.R',package='Rook'), name='httpd'))
s$start(listen='127.0.0.1', port=5000)

httpuv: issue | branch

  • rstats-base-httpuv
  • rstats-ubuntu-httpuv
  • rstats-minimal-httpuv

beakr: issue | branch

A nice minimalist framework, somewhere between httpuv and fiery in terms of complexity.

  • rstats-base-beakr
  • rstats-ubuntu-beakr
  • rstats-minimal-beakr

fiery: issue | branch

  • rstats-base-fiery
  • rstats-ubuntu-fiery
  • rstats-minimal-fiery

OpenCPU: issue | branch

Use local server, as a microservice. GET works, POST has similar JSON issues as RestRserve.

from openfaas-rstats-templates.

psolymos avatar psolymos commented on May 31, 2024

Lack of websocket connection can be behind the problems identified (openfaas/of-watchdog#20). Closing this for now.

from openfaas-rstats-templates.

psolymos avatar psolymos commented on May 31, 2024

As it turns out, Rserve, RestRserve and opencpu works fine.
of-watchdog needs http_buffer_req_body="true".
See https://docs.openfaas.com/deployment/troubleshooting/#my-function-gets-a-nil-or-empty-body.
This causes the HTTP request to be buffered in memory, then sent in one shot to the upstream function.

from openfaas-rstats-templates.

Related Issues (17)

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.