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

gitlab.com/lakshanwd/go-job-queue

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gitlab.com/lakshanwd/go-job-queue

  • v0.0.0-20190218140127-3faf2393677d
  • Source
  • Go
  • Socket score

Version published
Created
Source

go-job-queue

An example implementation of job queue with load balancer mechanism. Used grpc in order to gain maximum performance.

job-queue

theory

  • central server application listens to thousands of requests per second and loads them in to a queue.
  • decentralized workers connect to central server and takes job parameters from the queue and store them in their own queue.
  • each worker has limited no of deamon processes (go routines) which will take job parameters from their own worker queue and process and executes job

containerized and scalable

  • run $ docker-compose up --scale worker=2 --scale client=5 to execute this app in a containerized environment
  • run $ docker-compose scale worker=3 client=8 to scale app

FAQs

Package last updated on 18 Feb 2019

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