Code Monkey home page Code Monkey logo

lumpik's Introduction

Lumpik

Summary

Lumpik is the job queue system for general purpose.

Features

  • can consume your all of CPU-cores on 1 process
  • can create a worker which has type-safe argument
  • can deploy your app as a binary file

Examples

see https://github.com/ainame/Lumpik/tree/master/Sources/Examples/

Benchmark

Please host local redis-server at firtst. Do 100,000 no-op jobs, and measure its throughput.

$ git clone https://github.com/ainame/Lumpik.git
$ cd Lumpik
$ gem install redis
$ scripts/load.sh

Acknowledgement

  • original author is @mperham on Sidekiq

lumpik's People

Contributors

ainame avatar atsushisakai-gh avatar

Stargazers

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

Watchers

 avatar

lumpik's Issues

TODO for v1.0

  • interfaces
  • store
  • fetcher
  • router
  • processor
  • manager
  • launcher
  • cli
  • README.md
  • exception handling
  • api
  • retry
  • fundamental logger https://github.com/SwiftyBeaver/SwiftyBeaver
  • shutdown behavior
  • signal handling
  • command line interface for starting process
  • connection pooling
  • replacing vapor/redbird to vapor/Redis v2
  • dropping storable protocol for simplicity
  • better logging format instead of Swiftbeaver's default
  • logging into logfiles
  • compatibility of job arguments (serialize -> put arguments in order)
  • command option parser
  • lanuch options from yaml file
  • correct error handling flow
  • bencmark mode
  • compatibility for webadmin /busy
  • renaming the project's name
  • dead queue
  • compatibility for webadmin /scheduled
  • compatibility for webadmin /retrys
  • compatibility for webadmin /morgue
  • logrotation by a SIGNAL
  • compiling on linux
  • swifty design - api naming, enum-based state machine, value semantics
  • command line tools for process kill
  • reliable dequeuing, use BRPOPLPUSH instead of BRPOP
  • make the fastest Redis client
  • test coverage
  • stats api

Tools

  • CI/CD setup
  • SwiftLint

CLI.startでconcurrencyの指定ができない

CLI.startで引数の launchOptions にconcurrencyを指定しても、
parseOptionの下記の行で、
クロージャに defaultOptions = LaunchOptions() のconcurrencyが渡されてきて、
var cli にコピーした launchOptions の値が上書きされてしまいます。

) { config, queues, concurrency, pool, daemon, pidfile, logfile, loglevel in
// init an options instance from cli arguments
var cli = launchOptions
cli.concurrency = concurrency

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.