Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/beemarie/knative-async-poc

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/beemarie/knative-async-poc

  • v0.0.0-20200806030304-e75137ca351d
  • Source
  • Go
  • Socket score

Version published
Created
Source

A proof of concept for the futures API data plane.

(See that doc for pretty pictures)

This consists of three components:

  1. A Redis cluster for backing storage

    This is provisioned via an operator, so requires no direct action.

  2. A stateless API manager for the data plane

    This is curretly a Deployment + Service, but it could easily be a Knative Service if desired.

    This is the only component that talks to Redis. It exposes a simple HTTP API with three endpoints:

    • POST /v1/: creates a new Work unit. Returns an ID for the work unit
    • GET /v1/<id>: gets the status of a work unit.
    • GET /queueLength: returns the number of items available for work.
  3. A set of workers, which consist of a fixed queue-worker

    Currently a deployment with 1 replica -- TODO: convert this to https://keda.sh/ scaling

    Uses a GRPC protocol to communicate with the API manager

FAQs

Package last updated on 06 Aug 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc